On Mon, Oct 31, 2011 at 8:25 AM, Shruthi Varma
<[email protected]> wrote:
> Using Broadcast Receiver, I am able to receive sms in my app, but
> those sms chats are visible in the Messaging Inbox too.

That is because you are not calling abortBroadcast().

> I want to write a code where the messages from a particular number are
> received from my app and deleted from the Messaging Inbox
> simultaneously.

No, you need to call abortBroadcast(), so lower-priority receivers do
not receive the broadcast.

The fact that third-party SMS clients might have a higher priority
than yours would suggest that perhaps using SMS as a vehicle for chat
is not a wise move.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

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