Use accelerometer or not?
I am developing my first app for Android, and I wanted to know whether it is feasible to use the accelerometer.
I have heard that not all Android phones come built with an accelerometer. Is this true? If it is true, then is there a way for a customer to know (via Android market) that an accelerometer is required to run t开发者_Python百科he app?Should I include the use of accelerometer or not?
The new phones usually all have the accelerometer but there maybe some without, you never know...
Anyway, you can set in the app manifest that your app require an accelerometer to run, this way it won't be visible from the market to the phones without.
**
No problem , you can do your app .. then when you publish it in Market .. say it's Required accelerometer :D !
**
精彩评论