Great timing.  We just figured this one out.  If you include BOTH
PendingIntent arguments and point them to dummy classes, it works.  We
tested this with our problematic Vivid.  I'll update if any additional
testing shows anomalies.

On Jan 21, 2:40 pm, voicely <ad...@voice.ly> 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

Reply via email to