A sample android app which extracts the location of a device using the SIM card details by extracting network details.
Clone or import this project in Android Studio.
credentials.properties
OPENCELLID_API_KEY="YOUR_API_KEY_HERE"
Keep your API key here and just sync your project with Gradle files and run this app.
Detailed article on this is available here