python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

phone get to sleep state even if there is animation work on canvas. #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
need command or some property to make phone stay on wake state.

Original issue reported on code.google.com by zismailo...@gmail.com on 27 Apr 2013 at 9:14

GoogleCodeExporter commented 8 years ago
The method LockScreen(true) within Form will accomplish what you want. You must 
make sure to add the WAKE_LOCK uses-permissions in your AndroidManifest.xml. 
(android.permission.WAKE_LOCK)

If the user navigates away from the Form, the lock will be automatically lifted.

Original comment by IMPINC...@gmail.com on 27 Apr 2013 at 5:30