This is the feature for the accelerometer: http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_SENSOR_ACCELEROMETER
<http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_SENSOR_ACCELEROMETER>Pay some attention as you add new features -- your app will disappear from Market on any devices that don't explicitly declare that feature, and we are still shaking out some issues where manufacturers have missed a feature here or there. This particular one should be pretty safe since it was added as a default part of the platform back in 2.0 when most of the feature stuff was introduces. (For earlier versions of the platform Market *should* assume that the feature exists on such devices, since they were required to have the hardware.) On Fri, Sep 3, 2010 at 11:47 PM, WhitneyApps <whitneya...@gmail.com> wrote: > Hi, all! > > I just read the developer blog post about non-phone Android devices > such as tablets and GoogleTV - > http://android-developers.blogspot.com/2010/09/brace-for-future.html. > > I'm writing an accelerometer-based game and would like to filter for > devices that have an accelerometer (or orientation sensor). Is there > a way to do that? It would also be useful to filter for devices with > a compass or GPS receiver. > > I expect this will become an important issue for Android soon. > > Thanks, > > Steve > > -- > 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 group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en