Hi,
This has been killing me. I finally found examples around the
net for things I wanted to experiment with. I had to go searching cuz
I could find this information anywhere in the API Docs.
I got one answered, but I need help with the other.
1) For listening for broadcast SMS messages through a broadcast
receiver, I see that you have to defined the action, for the intent in
the broadcast receiver element as:
<receiver android:name=".<myClassName>">
<intent-filter>
<action android:name=
"android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
First, where is that name
android.provider.Telephony.SMS_RECEIVED defined? How am I supposed to
track that down in the API Doc?
There is no android.provider.Telephony class or package.
Second, in the code for receiving the actual broadcast, I see
you need to do something like this to get the message(s).
Object[] pdus = (Object[]) bundle.get("pdus");
Where is it defined that the extra name in the bundle is "pdus"
for SMS messages.
Thanks,
Joe
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en