> please also include sending SMS capability in 1.0

>From what I've seen it looks like sending SMS is still supported in
1.0, it's just receiving SMSs that's changed / gone.


On Sep 24, 9:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> In reply please also include sending SMS capability in 1.0 for
> background connection to the cloud reasons
>
> On Sep 24, 1:15 am, Reto Meier <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is it still possible to listen for incoming SMS messages in the latest
> > 1.0 SDK release?
>
> > The SMS_RECEIVED_ACTION string used to listen for incoming SMS
> > messages seems to have gone missing. It used to be available from the
> > android.provider.Telephony.Sms package, which also seems to have
> > disappeared, so getMessagesFromIntent has gone too.
>
> > Previously, you could create a Broadcast Receiver to listen for SMS
> > messages using this code:
>
> >   String incoming_SMS =
> > android.provider.Telephony.Sms.Intents.SMS_RECEIVED_ACTION;
>
> >   public void onReceive(Context _context, Intent _intent) {
>
> >     if (_intent.getAction().equals(incoming_SMS)) {
> >       SmsManager sms = SmsManager.getDefault();
> >       SmsMessage[] messages =
> > Sms.Intents.getMessagesFromIntent(_intent);
> >     }
>
> > Is there still a way to do this?
>
> > Thanks
> > Reto- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to