Use the android location API to obtain the longitude and latitude values
Http://www.cnmsdn.com/html/201004/1270187917ID3038_2.html
Http://jlins.javaeye.com/blog/550163
Android GPS
Http://dev.10086.cn/news/technologyproduct/4859.html
Geocoding and reverse geocoding are common operations in map operations. The former is to request spatial coordinates through street addresses, and the latter is to request street addresses through spatial coordinates. Generally, the two are the conversion between street addresses and latitude and longitude. For example, the former is obtained by entering the query "No. 1239, Siping Road, Yangpu District, Shanghai" (31.285207060526762, 121.50546412914991), while the latter indicates the inverse process.
In the actual mobile development process, map-related operations are widely used for geographic coding and anti-geocoding. Fortunately, the mapview control of Android encapsulates both of them, so Google map service can be conveniently used to query the two. The the development process.
You must first apply for a mapkey. A mapkey is required for any map display. The specific application steps are as follows:
Http://code.google.com/intl/zh-CN/android/maps-api-signup.html
Then you can createProgramAnd add map API support to androidmanifest. xml.