app自动更新(android)
摘要:更新插件代码:https://github.com/shixy/UpdateApp来源:http://aspoems.iteye.com/blog/1897300检查更新的时候,通过指定的URL获取服务器端版本信息。比较版本,如果更新,访问服务器端返回的apk的URL地址,下载,安装。各种 Make...
阅读全文
posted @
2014-08-29 15:21
凌度
阅读(1007)
推荐(0) 编辑
PhoneGap应用图标icon和启动页面SplashScreen
摘要:app/config.xml ldpi:240x320mdpi:320x480hdpi:480x800、480x854xhdpi:至少960*720xxhdpi:1280×7...
阅读全文
posted @
2014-08-19 09:46
凌度
阅读(4647)
推荐(0) 编辑
highcharts图表的图例legend
摘要:一、将图例Legend放于图表右侧1、设置chart的marginRight属性值:chart: { marginRight: 120}2、设置legend图例属性值如下legend: { align: ""right"", //程度标的目标地位 verticalAlign: ""top"",...
阅读全文
posted @
2014-08-18 17:29
凌度
阅读(52280)
推荐(1) 编辑
安装android的sdk
摘要:给sdk manager设置一个代理启动 Android SDK Manager ;1.打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;2.在『Android SDK Manager - Settings』窗口中...
阅读全文
posted @
2014-08-18 16:02
凌度
阅读(442)
推荐(0) 编辑
设置全屏
摘要:IOS:info.plistStatus bar is initially hidden = YESUIStatusBarHidden~ipad = YESView controller-based status bar appearance = NOAndroid:activity android...
阅读全文
posted @
2014-08-18 15:56
凌度
阅读(296)
推荐(0) 编辑
调试json
摘要:console.log("======================") // 转对象//var obj = eval('(' + data + ')'); // 转对象// var obj = JSON.parse(data)// 对象转字符串 console.log(JSON...
阅读全文
posted @
2014-08-13 16:40
凌度
阅读(202)
推荐(0) 编辑
发RTX通知
摘要:安装sdk在RTXServer目录下找到WebRoot目录,找到里面的SendNotify.cgi(就是一个php页面,默认是pc - ascii编码)。打开页面,在头部加上编码信息header("Content-Type:text/html;charset=GBK");然后在将消息和标题进行一次转...
阅读全文
posted @
2014-08-11 14:51
凌度
阅读(1623)
推荐(0) 编辑
Cordova 3.x 配置文件config.xml强制横屏
摘要:官方文档:http://cordova.apache.org/docs/en/3.5.0/config_ref_index.md.html#The%20config.xml%20File添加
阅读全文
posted @
2014-08-08 09:38
凌度
阅读(2687)
推荐(0) 编辑
xcode修改横屏
摘要:1、修改工程属性2、修改info.plist文件
阅读全文
posted @
2014-08-07 14:27
凌度
阅读(483)
推荐(0) 编辑
django的settings.py设置static
摘要:DEBUG = True################ STATICFILES ################# A list of locations of additional static filesSTATICFILES_DIRS = ( os.path.join(BASE_DIR...
阅读全文
posted @
2014-08-06 18:53
凌度
阅读(2325)
推荐(0) 编辑
django的settings.py设置session
摘要:############# SESSIONS #############SESSION_CACHE_ALIAS = 'default' # Cache to store session data if using the cache session b...
阅读全文
posted @
2014-08-06 18:52
凌度
阅读(3280)
推荐(0) 编辑