Saturday, July 14, 2012

Re: [android-developers] Waking my app with Google Cloud Messaging

Thanks TreKking,
Good advice about starting the app.  I have sent a notification and they can start the app from there if they like.

Damien

On Jul 15, 2012 1:18 PM, "TreKing" <trekingapp@gmail.com> wrote:
On Sat, Jul 14, 2012 at 10:39 PM, Damien Cooke <cooke.damien@gmail.com> wrote:
Now I want my app to be started when a message intended for it is received.

In your receiver, call startActivity.

However, I would recommend showing a notification instead. Arbitrarily starting an application without knowing what the user is in the middle of is a good way to get 1-star ratings and uninstalled.

-------------------------------------------------------------------------------------------------
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+unsubscribe@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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment