Obrigado Vinicius mas não dá para ser assim.
Dessa forma se os processos já foram abertos e ainda estão nos apps recentes eles aparecem na lista.
Precisava saber quando o usuário clica no ícone.
Dessa forma se os processos já foram abertos e ainda estão nos apps recentes eles aparecem na lista.
Precisava saber quando o usuário clica no ícone.
Att.
--
Carlos Eduardo Simões Pelegrin
2014-07-30 18:45 GMT-03:00 Vinicius Oliveira <nickzaoo@gmail.com>:
Vê se isso ajuda.2014-07-30 18:41 GMT-03:00 Carlos Pelegrin <carloseduardopelegrin@gmail.com>:
Boa noite pessoal,--É possível saber quando um app, por exemplo a câmera, é aberto?Pelo logcat consigo ver :
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000pkg=com.android.camera2 cmp=com.android.camera2/com.android.camera.CameraLauncher} from pid 400
Gostaria de interceptar isso via broadcastReceiver ou algo do tipo.Preciso saber quando o usuário abre o app Câmera, Config, Email, Browser e Play.Obrigado
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
0 comentários:
Postar um comentário