I can get SMS messages by using the syntax below:

IntentFilter l_oSMSIntentFilter = new IntentFilter
( "android.provider.Telephony.SMS_RECEIVED" );
in_oContext.registerReceiver( this, l_oSMSIntentFilter );


But what I really need to do is listen on a particular port.

It appears you can set it in the manifest like below, but this is a
utility class so it doesn't have a manifest:

<data android:port="8192"/>

I'm looking at the IntentFilter documentation, but I'm not sure what
to use...

Does 'port' fall under "Data Path"?  Is it a "Category"?

Can you even add properties like that to a programmatically created
IntentFilter (I presume you can)?


Also, I am interested in reading the message (as part of a control
scheme), will this trigger some sort of notification to the user to
decide who/what gets to handle the SMS?

Thanks,

     Hans :)
--~--~---------~--~----~------------~-------~--~----~
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