C2DM: How to use C2D_MESSAGE permission?

The receivers they claim you need at the top in the summary appears to be a mistake in the documentation, as it does not match the manifest example. “Receivers for com.google.android.c2dm.intent.C2D_MESSAGE and com.google.android.c2dm.intent.REGISTRATION.”) I got the examples they give to work using simply the example manifest entries tweaked to match my particular application’s package name. … Read more

Is it possible to detect Android app uninstall?

The GCM documentation explains this situation here: https://developers.google.com/cloud-messaging/registration#how-uninstalled-client-app-unregistration-works “An application can be automatically unregistered after it is uninstalled from the device. However, this process does not happens right away, as Android does not provide an uninstall callback.” Basically when GCM tries to send the next push notification, the device will tell GCM the receiving application … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)