Accurate speed measurements require some form of distance/time calculation, unless you want to play some hairy games with the accelerometer and don’t mind being completely wrong.
See e.g., http://www.chrobotics.com/library/accel-position-velocity
solved Does we have possibility to get current speed in android without GPS? [closed]