I am trying to develop a alternate lock screen there for I need a intent filter which listens on the screen going off
but the problem is I don't know which attribute to use and which value to give
I am trying to develop a alternate lock screen there for I need a intent filter which listens on the screen going off
but the problem is I don't know which attribute to use and which value to give
Working on the same thing as well.
this is the question i posted yesterday, follow it maybe something will pop out.
By the way as i wrote in the question, the action you have to listen to are:
An important thing to know are these 2 flangs:
use them in your lockscreen activity to be able to have it when the screen is locked and to dismiss keyguards when they are not secure.
hope this help, there is a huge lack of documentation on android lockscreen customization.
You need an InternFilter that listens to Intent.ACTION_SCREEN_OFF
action.
IntentFilter screenFilter = new IntentFilter();
screenFilter.addAction(Intent.ACTION_SCREEN_OFF);