Conflict when several apps use the accelerometers?
virtualex at linuxoid.net
Tue Jan 13 19:43:06 CET 2009
Thomas Otterbein wrote:
> to my opinion the default auto-rotation software should have some
> mechanism that keeps it from doing it's job while a certain software is
> active. You can experience this with the later versions of MPlayer. It
> the Screensaver not to activate during movie playback. I figure the
> modules of Desktop-Manager must have appropriate interfaces to accomplish
> For example if a program would like to gain exclusive control over the
> accelerometers it could create a certain file (e.g.
> /var/run/donotrotate_illdoitmyself). The default rotation software checks
> this file and while the file exists it loosen it's grip of the meters.
> would solve the issue of concurrent access too.
> As far as I know the file could be created in a way so that even when the
> software crashes completely it is removed and therefore allow the original
> rotation-software to reactivate reliably.
How about running two apps then, if they're both using accelerometers and
each requires its own orientation?
View this message in context: http://n2.nabble.com/Conflict-when-several-apps-use-the-accelerometers--tp2145087p2152673.html
Sent from the Openmoko Community mailing list archive at Nabble.com.
More information about the community