Hi SAM,
As per the link that gives the sample application of handling the SMS,
you registers your application to the Android OS by mentioning in the
manifest file, the intended receiver on any incoming SMS message.
So your application need not be active for this. The moment device
receives an SMS, your application will get the notification at
onReceive.
Regards,
Raj

On Mar 18, 10:49 am, SAM <[email protected]> wrote:
> hi,
> I found a 
> link:http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-s...
>
> But to recieve the SMS, my application need not be runnning. Can I
> receive SMS when my app is not running. Moreover after scanning the
> SMS prefix eg: 'MyAppID':XYZ,  I also also want to start the
> application through code.
>
> Thanks
> Sameer
>
> On Mar 18, 10:03 am, SAM <[email protected]> wrote:
>
>
>
> > Hi,
> > I have a requirement to wake up my application upon receiving a
> > particular formatted SMS or App directed notification from server.
>
> > My application is in dead state. Whenever the device receives a event
> > may be a SMS in a particular format OR some notification(eg app
> > directed notification from server), android OS will start my
> > application.
>
> > Its possible in Windows Mobile and BREW.
>
> > Please let me know if its possible in Android and how.
>
> > Thanks
> > Sam- Hide quoted text -
>
> - Show quoted text -

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