keyguardlock - To lock and unlock device using robotium -


I'm writing a robotium test case for the lock screen, to test me 'lock' and 'unlock' device (device hardware Button) is required.

I tried with KEYCODE_POWER, searched for other options, but no use.

Thank you in advance,

Did you drag () Have tried to use? It can unlock, but I'm not sure how locking it can depend on the device.

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -