Please note that you must declare permissions in the manifest file and also ask the permission runtime. More info from here: https://developer.android.com/training/permissions/ requesting#java
2. Reverse geocoding Reverse geocoding is a way to get an address based on the latitude and longitude coordinates.
Modify previous assignment in a way that it will show the lat / lon coordinate + city and country for that location.
This class will help you: https://developer.android.com/reference/android/location/ Geocoder.html
3. Simple HTTP Create app that can be used to load textual content from network addresses. Please follow the ui style on the image.
You can use this class to fetch data: https://developer.android.com/reference/java/net/ HttpURLConnection
Remember to Add INTERNET permission to manifest file.
Also, because we have not yet studied thread programming you must add this code to make possible to load data from the network in the main (ui) thread.
StrictMode.ThreadPolicy policy =
new StrictMode.ThreadPolicy.Builder().permitAll().build();