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 -

java - Getting values in Multimaps - Guava -

python - Django @staticmethod sum of two fields -