How can I send an SMS directed to an application? My app looks for
messages with a particular prefix and then must consume it. Other
applications (including the Messaging app) should not get the SMS
messages directed to my app.

I have an SMS broadcast receiver that can get all the messages and
processes the ones only with the particular prefix. After processing
the SMS, if I do abortBroadcast(), then it throws a runtime exception.
Anyway, aborting the SMS in the middle of a broadcast is not a good
idea as it can cause other problems.


The issue is that the SMS targeted to my app is also passed to the
Messaging app.  The SMS directed to my app must never go to Messaging
app since it is odd to show that message in the ticker text of the
status bar notification and to see it in the SMS inbox.

Android doesn't seem to have the concept of a port number to listen
for incoming SMS. I am sure there are apps out there that use SMS for
communication.

Any ideas, android team?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to