Is there any action like Intent.ACTION_SCREEN_OFF to track if a specific application launched
Intent.ACTION_SCREEN_OFF
if (intent.getAction().equals(Intent.ACTION_SCREEN_OFF)) { // Do something } else if (// application XYZ started) { // Do something Else }
Aucun commentaire:
Enregistrer un commentaire