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