在本文中,你了解到了如何通过整合PhoneGap和Mobile Dojo来快速地创建一个Android版本的混合移动应用,该应用的外观和行为都类似典型的Android应用。你能够很快地编写出这样的应用,因为我们使用的是HTML和JavaScript而不是Java。鉴于web代码是跨所有的移动操作系统保持不变的,因此只需要稍微花一点精力,就能够为iOS和Blackberry构建这样的一个混合应用...
分类:
移动开发 时间:
2014-12-11 15:49:48
阅读次数:
340
AJAX ApplicationAJAX--->XML、HTML、JavaScript、JSON、Text、JSONP等数据。同时代码即业务。code--->Business logic关于JS库jQuery---->轻量级Dojo------>重量级框架ExtJS----->重量级框架
分类:
Web程序 时间:
2014-12-11 00:12:48
阅读次数:
192
以下是Source Application去query Target Application中的content provider时的流程,此处只画到content provider启动。
The picture above is the flow chart for how Content Providers started
(1) Source APP Inform AMS ...
分类:
移动开发 时间:
2014-12-10 16:26:00
阅读次数:
177
Dojo学习笔记一: 认识Dojohttp://blog.csdn.net/lfsfxy9/article/details/8623897《dojo 边学边用》http://www.cnblogs.com/didi/archive/2010/05/26/1744383.html
分类:
其他好文 时间:
2014-12-10 15:45:21
阅读次数:
125
下图描述了在source application中broadcast一个intent,注册此intent的Target Application如何启动和接收的流程。
The picture above is the flow chart for how the source Application broadcast an intent
(1) Inform AMS to br...
分类:
移动开发 时间:
2014-12-10 12:36:08
阅读次数:
192
下图描述从一个Application A如何bind在Application B中的Service.
The picture above is the flow chart for how the source Application bind a target service
Major includes four steps:
(1) Inform AMS to ...
分类:
移动开发 时间:
2014-12-09 21:34:02
阅读次数:
255
好了,用上篇介绍的工具,跟踪了下startActivity在system_server中的流程,如下:
The picture below is the flow chart for how the source Activity start a target activity
Major includes four steps:
(1) Preparation, flow chart in...
分类:
移动开发 时间:
2014-12-09 10:36:36
阅读次数:
194
1.<scriptsrc="
2.<scripttype="text/javascript">
//路径配置
require.config({
paths:{
echarts:‘http://echarts.baidu.com/build/dist‘
}
});
//使用
require(//通过动态加载使用echarts
[
‘echarts‘,
‘echarts/chart/bar‘,//使用柱状图就加载bar模块,按需加载
‘..
分类:
其他好文 时间:
2014-12-08 15:49:13
阅读次数:
221
object元素object这个元素,现在前端很少用到,但是像flash,svg等奇葩元素,必须嵌套在object对象元素中。现代浏览器用video,canvas代替这些元素。之前做过图表和地图的一些应用,像highchart,e-chart,这些图表插件,基本上是使用svg元素(嵌套在object...
分类:
其他好文 时间:
2014-12-08 15:17:22
阅读次数:
289
一、jquery简介js库 作用及对比jquery库封装了很多预定义的对象和实用函数。能帮助开发者建立有高难度交互的web2.0特性的富客户端页面,并且兼容各大浏览器。prototype dojo ext js jqueryjQuery 是继 Prototype 之后又一个优秀的 JavaScrip...
分类:
Web程序 时间:
2014-12-06 16:45:29
阅读次数:
165