Michael 'Mickey' Lauer wrote:
> Hi folks,
> 
> I'm sketching a simple device orientation API for FSO. The purpose is to be 
> informed about changes in the physical device orientation. My first take is 
> at 
> http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.Orientation.html;hb=HEAD
> 
> Basically, it's sending you a string whenever the orientation changes. Valid 
> substrings contain "portrait", "landscape", "faceup", "facedown".

Good idea.
I assume orientation changes is only reported to apps that actually ask 
for them? So that the accelerometers can be turned off to save power 
whenever no apps happen to be interested.

And of course, apps that can't use the information shouldn't need to use 
the cpu time either.

Helge Hafting

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to