Sorry, just read your last update. I will try this as well! Thank you! On Saturday, January 21, 2012 1:40:45 PM UTC-6, voicely wrote: > > Hello, > My mobile app occasionally is sending text messages, everything works > great on most phones but i am starting to receive emails from some > users stating the messages aren't going out. Here is the code i am > using: > > SmsManager sms = SmsManager.getDefault(); > sms.sendTextMessage("+12223334444", null, "test sms", null, null); > > I've read somewhere that I should use the PendingIntent, so i tried it > as follows: > > PendingIntent pi = PendingIntent.getActivity(register.this, 0, new > Intent(register.this, register.class), 0); > SmsManager sms = SmsManager.getDefault(); > sms.sendTextMessage("+12223334444", null, "test sms", pi, null); > > But it still doesnt work. So far I have gotten emails from users of > Samsung Galaxy S II, Sprint Evo Shift, Samsung Sidekick phones. > > Please keep in mind it's not phone specific, i have tested the app on > two of these phones (my friends) and the text message was sent > normally. What am i doing wrong, is there another way to send text > messages that would work on all phones? > > Thanks!
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en