Just look at these two links..they might help you..not sure though..and do let us know how it wrks!
http://code.google.com/android/reference/android/hardware/SensorManager.html http://groups.google.com/group/android-developers/browse_thread/thread/baa791a8964efbe9/b4cb070b2875e55d?lnk=raot On Thu, Nov 6, 2008 at 2:45 PM, songs <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the link but that's not what I'm looking for. In fact, I > just suggested that method to someone who wanted to keep their > orientation constant while their app was running. What I'm asking for > is a way to start with no activity running, flip the screen out, and > have that physical action start an activity or a service. > > Cheers, > Steve > > On Nov 6, 12:54 am, "for android" <[EMAIL PROTECTED]> wrote: > > http://code.google.com/android/reference/android/app/Activity.html#se.. > .) > > > > On Thu, Nov 6, 2008 at 2:18 PM, songs <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > I know how to detect an orientation change when an activity is > > > running, but is there a way to have an orientation change trigger the > > > launch of an activity or a service? > > > > > Cheers, > > > Steve > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

