This might be a limitation of UMTS / GSM, although I'm no expert here.
You might want to Google for it - see if SMS messages use something that is also used by regular calls.
I believe they do, since there is a setting (with a default value in the SIM card) for "SMS message center" or "SMS gateway": it's special phone number that belongs to the cellular operator, and is used to send SMS.
-- Kostya 29.08.2010 0:41, Jimband пишет:
Hi, I'm developing an application for Android 2.2 that should send an SMS immediately when the phone starts ringing (under UMTS/GSM). I'm using the android.telephony.SmsManager.sendTextMessage for sending the SMS. The app is working fine under the emulator, i.e. when I call the emulator phone from another emulator, the SMS is sent instantly. However, when I'm testing the application on HTC Desire, the SMS sending only succeeds after the phone has stopped ringing. Is there anything that could be done about this or is it just a restriction of the HTC Desire device? Seems strange as it's working fine under emulator and it shouldn't be a restriction of the network..
-- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

