Hi,all
I have a requirement as follow:

1.When receive a short message,I hope my app can intercept it.
2.At the same time I can get its content to a custom table,and system
cannot send a notification to user.
3.The new short message's notification is sent by my app.

Now I already finish this function,But have some issues.

I use ContentObserver class to implement this function,When I run it
on emulator,it's well.But when I run it on a actual device,It will
occur below issues:

I sent a message to target device.The system still send notification
for the new message.After few seconds,My custom notification send by
my app,too.So,There are two notifications for the same message.And
when user click system's notification,he will can't read the new
message,because I already delete it before my app's notification send
to user.

Can you help me to solve this problem.For example:I can receive a sms
befor it store into database or let sms notification not work when
some message can match condition I specify.

Thanks a lot.

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