I wrote application using this example https://www.javacodegeeks.com/2013/09/android-compass-code-example.html
But it does not work. If I rotate the phone the image just twitch. I use Sony M2 (Android 4.4.4). How to write simple compass? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/34d25af7-52e4-47cb-888e-499ca47cacf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.