移动H5前端性能优化指南概述1. PC优化手段在Mobile侧同样适用2. 在Mobile侧我们提出三秒种渲染完成首屏指标3. 基于第二点,首屏加载3秒完成或使用Loading4. 基于联通3G网络平均338KB/s(2.71Mb/s),所以首屏资源不应超过1014KB5. Mobile侧因手机配置...
分类:
移动开发 时间:
2015-01-30 14:31:07
阅读次数:
176
开发教程:即便过了入门阶段,还是要经常看看一些不错的实例教程。1.http://mobile.tutsplus.com/category/tutorials/iphone/比较新的一个网站,以前没注意到。其中有一篇文章着重推荐,学习iOS游戏开发可以参考的10个实例(源代码都在github上):ht...
分类:
移动开发 时间:
2015-01-29 23:45:21
阅读次数:
317
最近在项目在综合考虑了可能维护性和应用本身的复杂性,采用了HTML5 + JQuery Mobile的文案。
记录一下遇到的两个问题。
1)为了在手机上运行的更快,canvas中底图决定调用 putImageData 来复制,但在android 2.3系统上,canvas 的 putImageData 有很严重的锯齿,canvas.translate(0.5, 0.5)也是没有效果。如下图,前...
分类:
Web程序 时间:
2015-01-29 00:06:24
阅读次数:
213
查看一个web应用的时候查看源代码无意发现的,记录一下,万能什么时候能用得着呢!function isMobile(){ var mobile = navigator.userAgent.match(/iphone|android|phone|mobile|wap|netfront|x11|j...
分类:
移动开发 时间:
2015-01-28 19:13:15
阅读次数:
180
一. 下载官方源码?https://github.com/golang/mobile git?clone?https://github.com/golang/mobile.git 二. 将mobile目录移动到 $gopath/golang.org/x中 mkdir?-p?$gopath/golang.org/x?&&?mv?mobile?$...
分类:
移动开发 时间:
2015-01-28 11:25:22
阅读次数:
436
转载自http://bbs.csdn.net/topics/390731832问题:public static String getAddress(final InputStream inputStream, final String mobile) { new Thread() { ...
分类:
编程语言 时间:
2015-01-27 10:43:15
阅读次数:
224
移动H5前端性能优化指南[托尼托尼研究所]概述1. PC优化手段在Mobile侧同样适用2. 在Mobile侧我们提出三秒种渲染完成首屏指标3. 基于第二点,首屏加载3秒完成或使用Loading4. 基于联通3G网络平均338KB/s(2.71Mb/s),所以首屏资源不应超过1014KB5. Mob...
分类:
移动开发 时间:
2015-01-26 19:08:45
阅读次数:
237
...Applied just once, as opposed to every button element seemed to fix all buttons on the page. Alternatively you could use this small JS library ...
分类:
其他好文 时间:
2015-01-26 18:54:28
阅读次数:
221
Sencha Touch is a high-performance HTML5 mobile application framework. You can use Sencha Touch to produce a native-app-like experience inside a browser or in a hybrid shell. Sencha Touch supports Android, iOS, Windows Phone, Microsoft Surface Pro and RT, ...
分类:
其他好文 时间:
2015-01-26 17:15:05
阅读次数:
219
很久以前整理了篇将手机网站做成手机应用的JS框架。时隔一年多,很多新的技术已经出现,下面再来总结下还有哪些框架是适合面向手机设备的开发的。 ????1、jQuery Mobile ????jQuery Mobile 是 jQuery 在手...
分类:
移动开发 时间:
2015-01-26 15:20:33
阅读次数:
313