How to track a location of any mobile device through j2me
I want to track the location (longitude and latitude) of the mobile through J2ME. Please help me for this.and send me sample code how can i track the location of an开发者_如何学Cy mobile and send that information to the server.
Please help me for this.
Thank you
You have to use the JSR-179 - Location API. If you google it you will find plenty of examples and tutorials, here it's one of them, by Oracle-Sun.
J2ME (JSR 179) is a set of generic APIs that can be used for developing location-based services. See this links for your reference.
Sample application...
Location API article..
Sample Code...
精彩评论