haha! I reslove it!!! [email protected],Thanks very much!!!!!
On 3月27日, 下午6时28分, Markus Junginger <[email protected]> wrote: > On Mar 27, 11:11 am, Lukasz M <[email protected]> wrote:> I had the > same problem. > > I fixed it using a static sensor-reading object. Therefore while > > changing between activities sensors didnt swap. > > But what happens when you start the app with the keyboard open? > Wouldn't you have swapped values then? > > I think using the raw sensor values ([3], [4], and [5]) should be > better. > > Oh, there's probably a problem using the raw values in the future: I > guess they will be swapped on devices that will come with a landscape > format screen, like the Kogan device. > > So we have the choice if our app breaks now or later... ;) > > Does anyone know how the orientation sensor sensor works in cupcake? > Does it handle a fixed orientation correctly? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

