no priority in Activity and Task now, so i guess no solution for your requirement :( maybe google can design it in future, but it is difficult for Application to implement high priority Activity or services
On Thu, 2010-02-25 at 18:19 -0800, nigel wrote: > Thank you for your answer. > Can I let my app have a high priority than default sms that I can > receive the message before it? > Or have any another ways to prevent sms receive short message? > > I only have a demand that prevent sms receive some short message which > matches conditions I specify. > > On 24 Feb, 14:14, Kumar Bibek <[email protected]> wrote: > > You can of courseinterceptincomingsms. But you cannot disable the > > notification. Also, you have to do your bit of work within a certain > > time limit, else your process will be closed. > > You can also not abort the broadcast. > > > > On Feb 24, 9:32 am, nigel <[email protected]> wrote: > > > > > requirements: > > > 1.Caninterceptshort messages by condition I specify(means that the > > > system'ssmscan't receive any messages and don't send any > > > notification to user). If the short message isn't match my condition > > > that my app will notinterceptit and thesmscan receive the short > > > message. > > > > > 2.When Iinterceptasmssuccessfully,I can handle this message such > > > as store it to a custom table. > > > > > I implement the functionality above by ContentObserver class,but it > > > not work well.Sometimes it can'tinterceptshort message in time.I > > > think it's due to system delay.In this case,thesmsand my app will > > > receive the short message and send notification at the same > > > time.So,now I hope who can help me to solve this issue or give me some > > > hints. > > > > > 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

