Doesn't call onStop and onStart after screen locked and unlocked android 2.3 -
doesn't call method onstart after screen locked android 2.3, after unlocking called resume method. on andoid 4.1.2 (jelly brain) works fine. can fixed ? or must move logic in method onresume/onpause ?
the methods onstart , onstop bound visible lifetime of activity. if lockscreen not hide activity, these methods not called @ all. if have logic depending on different states use foreground lifetime methods onresume , onpause or observer techniques broadcastreceiver.
also remember, prior android honeycomb application killable after onpause, onstop might not called @ all.
Comments
Post a Comment