Should I call WakeLock before creating a notification?
I'm adding notifications to an Android app and only have the emulator to test with at the moment. When a notification is received, my onMessage() method in my GCMBaseIntentService subclass (GCMIntentService) is called. From here I create a notification to appear. If I turn the emulator on standby, no notification is seen (I do t know if it would be heard on a device?). So should I be calling WakeLock to wake the device before creating the notification? Thanks I'm not sure if the emulator being in standby is equivalent to a locked device. If it is, you should definitely call WakeLock in order