I am using Maxmind Geo IP to read data from a database (in Java Android app). I have copied the database to the /src/main/assets folder. Below is a piece of code supplied by Maxmind to start reading from the database.
File database = new File("/path/to/GeoIP2-City.mmdb");
What is the correct path to use? I have tried:
"/data/data/com.mydomain.app/GeoIP2-Country.mmdb"
But that didn't work (file not found).