android - How to convert coordinate to lac/cid -
we know how convert lac/cid latitude/longitude, use google gears this:
public location callgear(arraylist<cellidinfo> cellid) { jsonobject data,current_data; jsonarray array = new jsonarray(); current_data = new jsonobject(); current_data.put(\"cell_id\", cellid.get(0).cellid); current_data.put(\"location_area_code\", cellid.get(0).locationareacode); // something... location loc = new location(locationmanager.network_provider); loc.setlatitude((double) data.get(\"latitude\")); loc.setlongitude((double) data.get(\"longitude\")); return loc;
}
however, possible reverse convert? lac/cid valid coordinate? suggestion?
i think there no simple way of achieving this. given location can served several cells, , cell mobile device selects depends on number of factors (signal strength, example).
the case when sure cell serves given location when know sure there 1 , 1 cell covering location.
Comments
Post a Comment