over 4 years ago
sometime its necessary to stop or unregister notification services in your app like from your setting screen then you can use these codes.
you have to create a static handler in your gcm register class
static Handler myHandler;
and in your particular activity'oncreate method
myHandler = new Handler()
public void handleMessage(android.os.Message sendMsg)
if (sendMsg.what == 0)
now obtain message for this handler and tell your gcm register class that you want to stop that gcm service like this
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
© copyright 2017 FindNerd.com. All rights reserved.
Sign up using