简体   繁体   English

如何在Android中使用GPS获取当前位置?

[英]How do I get current location using gps in android?

如何在Android中使用GPS获取当前位置?

u need android.location classes from android sdk to put in this feature in your android application... 您需要android sdk的android.location类将此功能放入您的android应用程序中...

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

when developing in app inventor use sensor components App Inventor中进行开发时,请使用传感器组件

http://appinventor.googlelabs.com/learn/reference/components/sensors.html http://appinventor.googlelabs.com/learn/reference/components/sensors.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM