Hmm

>wakeLock = pm.NewWakeLock( (WakeLockFlags)32, "your_tag_here" );

Does work, but only on my Galaxy Nexus. On the Nexus 4, it doesn't do
anything, on the S3, it puts the device to sleep.

I'm trying to figure out how the native dialers do it, including looking at
Cyanogenmod which after all supports both the Nexus devices and the Galaxy S
series, but so far I'm stumped. 

Stephan



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Turning-display-on-and-off-tp5712611p5712774.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to