posted 6 years ago
Hello, I need help with a Weather application project for my school in android development: when the checkbox (preferences.xml) is checked, I need to start location update and when unchecked stop it.
I must have the android.lcation.LocationListener in a inner class.
The syntax is provider by the school, and I have been working on it for some time, but there are still a few things that I don't get:
How can I retrieve the JSON information via my local location? and how do I set it with the checked box?
Here is my full code: