I am going to strongly, strongly recommend that people test such code on a real device. I don't know what you were doing, but every case I know of using sensors required a fair amount of tuning on the device to achieve the right feel. For example, the auto-rotation code went through many many iterations of tuning parameters for appropriate angles and introducing checks to avoid unintended rotation.
On Fri, Jun 26, 2009 at 4:47 AM, Peli <[email protected]> wrote: > > Actually, the sensor code I had written with the SensorSimulator > ( http://code.google.com/p/openintents/wiki/SensorSimulator ) before > any Android hardware was available publicly, worked perfectly on the > G1 when it came out - apart from the known issues with the wrong > orientation sensor values that are returned by the G1 hardware :-) > > It is one of the reasons that kept me from updating the > SensorSimulator so far: I wanted to include a "G1 compatibility mode" > that reproduces the wrong G1 readings for orientation - but it is a > very ungrateful task (it is not so trivial to simulate exactly the > same wrong readings), but unless this is done, I am slightly hesitant > to call it a true "sensor simulator"... > > It should be mentioned that accelerometer and magnetic compass values > are fine - only the calculated orientation values on the G1 had some > issues. > > Peli > www.openintents.org > > On Jun 26, 3:32 am, Dianne Hackborn <[email protected]> wrote: > > But also, there is no way you are going to be able to implement a > > working app like this without doing it on real hardware. It would be > > kind-of like trying to implement a touch user interface without a > > touch screen. :) > > > > > > > > On Thu, Jun 25, 2009 at 10:05 AM, Mark Murphy<[email protected]> > wrote: > > > > >> Is there any update on this? > > >> I need to build a compuss application but the API Demo doesn't work in > > >> the emulator. > > > > > You will need actual hardware to test sensor-related applications. > Partly, > > > this is due to the emulator bug. > > > > > -- > > > Mark Murphy (a Commons Guy) > > >http://commonsware.com > > > Android App Developer Books:http://commonsware.com/books.html > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time > > to provide private support, and so won't reply to such e-mails. All > > such questions should be posted on public forums, where I and others > > can see and answer them. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

