
cordova
文章平均质量分 64
gundumw100
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
cordova3.5整合百度云推送PushNotification(1)
http://blog.youkuaiyun.com/mansai/article/details/19073913选择百度云推送理由:专业、稳定、免费(Google GCM在国内有时无法正常使用)第1步:注册开发者账户并登录。http://developer.baidu.com/第2步:创建一个工程。输入必要的信息。第3步:创建完成后。可以看到百度为你分配的API Key和Secret原创 2017-04-10 18:56:34 · 1558 阅读 · 0 评论 -
JQM使用手势关闭/打开一个panel
$( document ).on( "pagecreate", "#demo-page", function() { $( document ).on( "swipeleft swiperight", "#demo-page", function( e ) { // We check if there is no open panel on the page becau原创 2017-04-10 18:56:51 · 527 阅读 · 0 评论 -
JQM自动提示插件autoComplete.js
JQM自动提示插件:https://github.com/commadelimited/autoComplete.jsDemo:http://andymatthews.net/code/autocomplete/TouchSlide手机平板触屏滑动特效插件http://bbs.phonegap100.com/forum.php?mod=viewthread&tid=420原创 2017-04-10 18:57:32 · 373 阅读 · 0 评论 -
cordova读写文件(1)
使用cordova可以很方便的在手机sdcard中读写文件。首先需要安装cordova插件:file命令为:cordova plugin add org.apache.cordova.file然后就可以读写文件了,这里我先是写入一个文件,具体的JS代码为:var datas=null;//datas need writevar directory="mobovip";//原创 2017-04-10 18:57:40 · 428 阅读 · 0 评论 -
cordova读写文件(2)
上一篇讲的是如何将数据写入文件这篇讲如何读取文件。var storeNotification="on";//data readvar filePath = "mobovip/stores.txt";//default file pathfunction read(filePath) { this.filePath = filePath; window.requestF原创 2017-04-10 18:57:48 · 866 阅读 · 0 评论 -
使用google map显示地图,并标注InfoWindow
首先导入google map JS(需要VPN):然后定义一个地图显示区域:最后添加JS://///////////////////////////////////////////////////////////////////////////////map start//var geocoder;var MY_POSITION="You are here";va原创 2017-04-10 18:58:51 · 4909 阅读 · 0 评论 -
cordova插件InAppBrowser在iPhone上显示url和Done、Back/Forward键的问题
I am currently building a News Aggregator App and I am using InAppBrowser for people to read the articles. Now, my questions is: Can I remove the URL and Navigation Bar? Also, can I change the "Done原创 2017-04-10 18:59:48 · 1553 阅读 · 0 评论