On Wed, Apr 14, 2010 at 3:46 PM, Deva R wrote:
> Note that in android (for that matter, universally in java) java
> applications cant access system resources (sys/power/state file in this
> case) directly, as they have to bypass VM (dalvik in android).
>
Sorry, that isn't true. If the process r
>> when the PowerManagerService(
>>PowerManagerSerivce.java) write "on" to /sys/power/state (using
SetScreenState(true) ),
Note that in android (for that matter, universally in java) java
applications cant access system resources (sys/power/state file in this
case) directly, as they have to bypass