[android-developers] Re: Replicating the results of the deprecated Sensor.TYPE_ORIENTATION

2011-06-09 Thread Chad Ata
woops.. figured it out. my coordinate re-mappings (remapCoordinateSystem()) are messed. The documentation is really helpful - but I still managed to confuse which coordinate system I'm supposed to map to. Thanks anyway! On Wed, Jun 8, 2011 at 7:31 PM, Sheado chad...@gmail.com wrote: Hi All,

[android-developers] Re: Replicating the results of the deprecated Sensor.TYPE_ORIENTATION

2011-06-09 Thread String
Mind posting your corrected code for others who are trying to do something similar? String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Re: Replicating the results of the deprecated Sensor.TYPE_ORIENTATION

2011-06-09 Thread Chad Ata
hi there, Sure.. I'm still cleaning up and fixing an issue with the landscape devices. Here's where I am right now - landscape seems to work like it used to with TYPE_ORIENTATION. public void onSensorChanged( SensorEvent event ) { switch( event.sensor.getType() ) {