Web应用程序和Android应用程序 [英] Web app and android app

查看:99
本文介绍了Web应用程序和Android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我正在建立一个车队跟踪系统。 Android应用程序将位置发送到服务器并且Web应用程序从Android应用程序检索位置并在地图上显示它的位置。我不知道如何开始。任何人都可以指出我或知道任何有用的教程吗?



提前致谢



我尝试了什么:



我曾尝试使用谷歌传输跟踪器,但它非常令人困惑

Hello
Im building a fleet tracking system. Where the android app sends locations to a server and the web app retrieves location from android app and display's it on a map. I've no idea how to get started. Can anyone point me out or know of any useful tutorials?

Thanks in advance

What I have tried:

Ive tried google transport tracker but its very confusing

推荐答案

只是一个摘要供您开始。



1.使用并添加Google Play服务位置API以持续获取最新位置(GeoLocation)(首选Android位置) Android应用程序中的API。



2.创建Web API(JSON)以在Mobile和Server App之间进行通信。



3.地点只是您通过Web API获得的纬度和经度,将它们组合起来创建引脚(反向地理编码)以显示在Web App中谷歌地图或任何其他地图提供商。有许多免费的客户端地图插件,使生活更轻松。
Just an abstract for you to start with .

1. Use and add Google Play Services Location API to fetch the latest locations continuously ( GeoLocation) ( preferred over Android Location API) in the Android App.

2. Create Web APIs( JSON) to communicate between Mobile and Server App.

3. The Locations are nothing but Latitudes and Longitudes which you have got through the Web API , combine them to create pins ( reverse geocoding) to display in the Web App google map or any other map provider. There are many free client side map plugins which makes life easier.


这篇关于Web应用程序和Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆