yeah, but doesn't apply if the app was force closed :)  it something that 
started on android 3.1

it's actually in the release notes, but not really in a way any developer 
would actually infer it:
http://developer.android.com/about/versions/android-3.1.html#launchcontrols







On Wednesday, April 24, 2013 5:19:33 PM UTC+3, TreKing wrote:
>
>
> On Wed, Apr 24, 2013 at 2:41 AM, Piren <gpi...@gmail.com <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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to