is it possible to detect a speed of a car using GPS or accelerometer in android phone ? can anyone give me the road map to implement this ? Yes, it's possible using GPS via object of Location class. There is getSpeed() method in this class. It's very easy to find code of getting location. Check this link for example. 来源:https://stackoverflow.com/questions/4497234/detect-a-speed-in-android 标签 android gps accelerometer