سؤال

I am creating an application with push notification alerts using Google C2DM service. Can i blink the phone screen with some colors on push notification events if the phone screen is dark out?

هل كانت مفيدة؟

المحلول

Get a WakeLock (developer.android.com/reference/android/os/PowerManager.html) and start off an Activity

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top