Search code examples
androidservicebroadcastreceiverandroid-wake-lock

Android Service Listener for the wakelock screen


Hii all,

Im developing an emergency calling application. What i want is when some person uses this specific code the phone will unlock and then only my application would be running. Im juz thinking i need a reciever for it and just wondering wether i will have to create my own Home screen and a lock screen for my application. any ideas on this please???

many thanks in advance :)


Solution

  • There is no sanctioned way to replace the lock screen. See Is there a way to override the lock pattern screen?

    The previous answer was to another question that got merged with this one:

    I would look into ACTION_NEW_OUTGOING_CALL, and also at this Android Developers blog post about receiver priority.