android - Compass bearing doesn't update on Google Map V2 -


i want have smooth compass rotating in googlemap. have created default googlemap project using android studio. add following enable location , compass.

map.setmylocationenabled(true); map.getuisettings().setmylocationbuttonenabled(true); map.getuisettings().setcompassenabled(true); 

but compass doesn't update smoothly; updates once after 10 seconds. can tell me how fix this?


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -