Hi!

We are designing an application for android phones. In our application
there is a central server, and this server must send some application
information to the phone.
So, we thought to use SMS in order to communicate with our application
in the phone.
Our application will look for messages with a particular prefix and
consume it. Other applications (including messagig applications)
should not get the application SMS messages.

In order to do that, we have implemeted a Sms BroadcastReceiver, that
get all SMS messages, but only processed the ones with the application
prefix. After processing them, we do an abortBroadcast(), in order to
stop the broadcast of the message to the Messaging application or
other applications receiving the same intent.

However, SMS Inbox is receiving the message, and is showing the
message in the notification application.

1.  Is there any way for an application to receive the SMS message,
avoiding the rest of applications to receive it? Is abortBroadcast
working for SMS broadcast intents? I understand that maybe the
abortBroadcast is not working for SMS broadcast intents, because of
security reasons (for example we could abort the broadcast of all SMS
messages ). Is there another way for an application to to receive SMS
messages in an "exclusive" way (the rest of applications do not
receive it)?

2. Is there any other way to communicate information from a external
server to the application in the phone?

For example, In other projects with other phones we have  used
transparent wappush to implement that communication..Does android
support wappush protocol?

We would not like to implement an always open connection in the phone
application (where the phone acts like a server), because that implies
that we must have a list with all the IPs of the phones in order to
communicate with them..that complicates a lot the  implementation...

Any other idea?







--~--~---------~--~----~------------~-------~--~----~
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