Re: Device Orientation API

2009-09-10 Thread Matthias Huber
Patryk Benderz schrieb: > [cut] > >> Basically, it's sending you a string whenever the orientation changes. Valid >> substrings contain "portrait", "landscape", "faceup", "facedown". >> > IMHO using integers where (x,y,z) are -1,0 or 1, would be better idea. > This way you could make mathe

Re: Device Orientation API

2009-09-10 Thread Patryk Benderz
[cut] > Basically, it's sending you a string whenever the orientation changes. Valid > substrings contain "portrait", "landscape", "faceup", "facedown". IMHO using integers where (x,y,z) are -1,0 or 1, would be better idea. This way you could make mathematical operations on this. Or use a conditio

Re: Device Orientation API

2009-09-09 Thread Stefan Schmidt
Hello. On Wed, 2009-09-09 at 16:32, Helge Hafting wrote: > Michael 'Mickey' Lauer wrote: > > > > 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 >

Re: Device Orientation API

2009-09-09 Thread Helge Hafting
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

Re: Device Orientation API

2009-09-09 Thread Michael 'Mickey' Lauer
On Wednesday 09 September 2009 13:23:55 Nils Faerber wrote: > Michael 'Mickey' Lauer schrieb: > > Hi folks, > > > > I'm sketching a simple device orientation API for FSO. The purpose is to > > be informed about changes in the physical device ori

Re: Device Orientation API

2009-09-07 Thread Michael 'Mickey' Lauer
On Tuesday 08 September 2009 00:57:50 Dan Staley wrote: > +1 for the proposed API. I'd love a dbus message to be sent on portrait > and landscape. > Though I think you would probably need portrait, reversePortrait, > landscape, and reverseLandscape (to specify which side of the device is > "up" in

Re: Device Orientation API

2009-09-07 Thread Michael 'Mickey' Lauer
On Tuesday 08 September 2009 01:18:32 Nicola Mfb wrote: > Nice! in the past I heard about accelges integration, something moving? Unfortunately not. This work is completely independent of accelges. I always hoped that Paul would help us integrating accelges into FSO, but that didn't quite happen

Re: Device Orientation API

2009-09-07 Thread Nicola Mfb
On Mon, Sep 7, 2009 at 9:36 PM, 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.o

Re: Device Orientation API

2009-09-07 Thread Dan Staley
On Mon, Sep 7, 2009 at 6:41 PM, Denis Johnson wrote: > On Tue, Sep 8, 2009 at 7:44 AM, Rui Miguel Silva Seabra > wrote: > > On Mon, Sep 07, 2009 at 09:36:21PM +0200, Michael 'Mickey' Lauer wrote: > >> I'm sketching a simple device orientation API for FSO.

Re: Device Orientation API

2009-09-07 Thread Denis Johnson
On Tue, Sep 8, 2009 at 7:44 AM, Rui Miguel Silva Seabra wrote: > On Mon, Sep 07, 2009 at 09:36:21PM +0200, Michael 'Mickey' Lauer wrote: >> I'm sketching a simple device orientation API for FSO. The purpose is to be >> informed about changes in the physical device

Re: Device Orientation API

2009-09-07 Thread Rui Miguel Silva Seabra
On Mon, Sep 07, 2009 at 09:36:21PM +0200, Michael 'Mickey' Lauer wrote: > 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/

Device Orientation API

2009-09-07 Thread Michael 'Mickey' Lauer
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,