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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -