Check this one out:
http://mobiforge.com/developing/story/sms-messaging-android#

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 14, 1:23 pm, n179911 <[email protected]> wrote:
> Hi,
>
> Can you please tell me how to register SMS received ACTION?
>
> I tried the following, but when I set up a breakpoint in onReceive()
> never get called.
> Please help if you have any idea.
>
> import android.provider.Telephony.Sms.Intents;
>
> registerReceiver(new MyReceiver, new 
> IntentFilter(Intents.SMS_RECEIVED_ACTION));
>
> private class MyReceiver extends BroadcastReceiver  {
>
>         @Override
>         public void onReceive(Context context, Intent intent) {
>
>        }
>
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
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