[英]how to save location and weather details using gps in android php and mysql?
I am new in android programming.我是android编程的新手。 i want to save location and weather details in database.Here i want to capture location from mobile number.
我想在数据库中保存位置和天气详细信息。在这里我想从手机号码中获取位置。 and from location capture weather details from location details
并从位置从位置详细信息捕获天气详细信息
First Set an Mobile Number Based Registeration for Your Application首先为您的应用程序设置基于手机号码的注册
Then get The Location Details .然后获取位置详细信息。 refer this
参考这个
Then Store the Location Along With Phone Number he Logged in with.然后将位置与他登录的电话号码一起存储。 Refer this
参考这个
Then With ThirdParty WebServices you can Get Weather Based on GeoPosition.然后使用第三方 Web 服务,您可以根据 GeoPosition 获取天气。
to find location use google location api client查找位置使用谷歌位置api客户端
to find wether integrate third party libary eg accuweather查找是否集成第三方库,例如accuweather
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.