使用javascript进行android编程 [英] android programming using javascript

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

问题描述

我有一个网页,其中包含javascript代码.
我正在尝试以这样一种方式进行编码,即可以使用设备GPS和附近的4个位置在地图上标记当前位置.仅JavaScript代码

I have a web page which has javascript code in it.
I am trying to code in such a way that i can mark the current location on a map using device gps and nearby 4 locations pls help.only javascript code

推荐答案

您可能希望查看 PhoneGap [ ^ ]或 Appcelerator [ ^ ].两者都使用html和javascript来创建android应用.他们有可以与设备GPS通讯的库.
You might want to look at PhoneGap[^] or Appcelerator[^] for this. Both use html and javascript to create android apps. They have libraries that can talk to the devices GPS.


这篇关于使用javascript进行android编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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