How to get current compass reading android 2.1
- by Brandon Delany
How do I get the current compass reading in android 2.1? I know that I can initiate a listener and receive updates but I do not need constant updates I only need it to get the compass orientation when the user clicks a button.
Also what is the most accurate way to get the compass orientation?
Lastly, how do I send fake data to the android console. I know that you're supposed to use the terminal and send it commands but what are the commands I can't seem to find it on the Android website.
Thank you