views:

3728

answers:

3

Is there a way to intercept an SMS with BroadcastReceiver as for example here but without showing any notifications to the user and immediately deleting the message that contains for example some keyword

EDIT:

What I need is to have some communication between android phones, one to one, and I thought that sending SMS messages would solve the problem, but the SMS notification are not needed for that, maybe the WAP PUSH messages would better for that but I have no idea how to send them from android phone. If someone has any idea that would help, please put it here :)

+6  A: 

Some guys from the Ericsson lab presented their push solution during the droidcon this year (with some additional reasoning why push is good).

Here's the link to their site: https://labs.ericsson.com/apis/mobile-java-push/blog/push-android-droidpush-droidcamp

vpdn
+2  A: 

I would recommend PUSH or a web service to do the task your requesting.

WAP is a SMS message with a URL, it's goal is to allow users to download content from the web, kinda like a MMS message but for phones without MMS capability. Usually it's a premium message (Meaning the end user pays for these).

As for SMS, I don't think you can delete these from the phone without the knowledge of the user. Think legal on this. Would you want to receive and send SMS messages without your knowledge? SMS can also bill your phone so I'm thinking legally I would recommend avoiding this.

Another note if you're going to use SMS is that you would need a short code and a aggragator. Even if you have the short code and aggragator you still need the users permission to send reoccurring messages to their phone via application/phone.

I would recommend these links for reading:

  1. Android Push Notification
  2. http://www.anddev.org/calling_a_web_service_from_android-t348.html
  3. Web Services
Phill Pafford
+1  A: 

check out Xtify - similar to C2D for Froyo with the ability to push intents but, Xtify does a lot more and does it across Android, iPhone and Blackberry.

xtify uses an SDK for easy implementation and has a web console and web service to configure messages to one, some or all of your users.

you can create rules that determine when a message gets sent – you can even push notifications using location as the trigger as the SDK runs in the background and provides access to persistent location.

reach out with questions to [email protected]