开发者

How to get device longitude and latitude programmatically in Android?

开发者 https://www.devze.com 2022-12-18 11:59 出处:网络
I don\'t know to how to get the latitude and longitude of device by programmatically? If you can provide some code snippet开发者_开发知识库 to get the latitude and longitude.You ask the LocationManage

I don't know to how to get the latitude and longitude of device by programmatically? If you can provide some code snippet开发者_开发知识库 to get the latitude and longitude.


You ask the LocationManager.


Have a look at providing mock location data to emulator:

http://d.android.com/guide/topics/location/index.html

0

精彩评论

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