Develop simple compass in android using sensor