This post presents miscellaneous tasks that you can do in your J2ME application. Firstly, how to get GPS location. javax.microedition.location.Location provides support for this. Review the snippet below: Java Code: LocationProvider loc = LocationProvider.getInstance(null); loc.setLocationListener(ll,0,-1,-1); Location location = loc.getLocation(60*3); String lat = location.getQualifiedCoordinates().getLatitude(); String lon = location.getQualifiedCoordinates().getLongitude(); ...
LocationProvider loc = LocationProvider.getInstance(null); loc.setLocationListener(ll,0,-1,-1); Location location = loc.getLocation(60*3); String lat = location.getQualifiedCoordinates().getLatitude(); String lon = location.getQualifiedCoordinates().getLongitude();
PDF to TIFF Conversion & Control...
Today, 11:39 AM in Java Software