开发者

Android : Using GPS

Is there any way by which i can get the last GPS location my application itself ????

Is there any API available which can show me the L开发者_StackOverflow社区at and Long. of the place from where i have connected GPS last time.

Any help, much appriciated

Thank you


LocationManager manager = (LocationManager)Context.getSystemService(Context.LOCATION_SERVICE);
manager.getLastKnownLocation(LocationManager.GPS_PROVIDER);


You can use the LocationManager.

http://developer.android.com/reference/android/location/LocationManager.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜