If an application has been killed by the end-user from the built-in task 
manager then it is put in to a state where it does not respond to any 
system event other than being launched from the Home Screen, see *Launch 
controls on stopped applications* in (almost at the end):
http://developer.android.com/about/versions/android-3.1.html


On Wednesday, April 24, 2013 3:19:33 PM UTC+1, TreKing wrote:
>
>
> On Wed, Apr 24, 2013 at 2:41 AM, Piren <[email protected] <javascript:>>wrote:
>
>> Actually Push notifications will not work if he Force Closes the app, 
>> since they stop functioning at that point...
>
>
> I'm no expert on push notifications, but my understanding was that the 
> device receives the push notification then sends out a broadcast that can 
> be handled by your app, which will be started if need be.
>
> http://developer.android.com/google/gcm/gs.html
>
> Section 4.
>
> "This broadcast receiver is responsible for handling the 2 intents that 
> can be sent by GCM (com.google.android.c2dm.intent.RECEIVE and 
> com.google.android.c2dm.intent.REGISTRATION) and should be defined in the 
> manifest (rather than programmatically) so that *these intents can be 
> received even if the application is not running*."
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to