How does Mappls Geolocation API work in Android?

The Geolocation API returns a location on the basis of cell tower information that any mobile client can detect.
Any mobile user will send the information of all the connected or recently connected cell towers information in the API, Now API will articulate approximate user location on the basis of the provided cell towers information. MMI will use its cell towers geo-location database to calculate the approximate geo-location of the user.

MapplsGeolocation mapplsGeolocation = MapplsGeolocation.builder()  
        .addCellTower(cellId, lac, mcc, mnc)  
        .build();  
        //To call In Foreground Thread
MapplsGeolocationManager.newInstance(mapplsGeolocation).call(new OnResponseCallback<GeolocationResponse>() {  
    @Override  
  public void onSuccess(GeolocationResponse geolocationResponse) {  
          
    }  
  
    @Override  
  public void onError(int i, String s) {  
  
    }  
});
  			        //OR
                //To call in Background Thread
GeolocationResponse geolocationResponse = MapplsGeolocationManager.newInstance(mapplsGeolocation).execute(); 

For more info visit here : mappls-android-sdk/docs/v1.0.7/Geolocation.md at main · mappls-api/mappls-android-sdk · GitHub