ExifInterface cannot retrieve geotag of taken photo on emulator

Making an app which should retrieve exif data from taken photos and store it in Room database. Below I provided with a code which I use for retrieving latitude and longitude of a picture and also a date. The following constructor is used for creating an object to store in the database. The thing is that this code works perfectly on a phone (both location and date are retrieved), but it doesn't work on an emulator only for location data (date is still retrieved). Calling getLatLong() method returns null.

public Picture(String...

Read More »

By: StackOverFlow - 5 days ago

Related Posts