Vote count:
0
I have already code like this but the problem is when the user have interaction with other app while the app minimize..i dont how to know the idle time in while using other app.. iam using also android-annotation for my app
public void onUserInteraction() {
resetDisconnectTimer();
}
@Override
protected void onResume() {
super.onResume();//how to check the idle time
resetDisconnectTimer();//handler
}
asked 11 secs ago
How to handle idle in android application using android annotation
Aucun commentaire:
Enregistrer un commentaire