可自动替换友盟渠道、版本号、包名如何集成到我的项目里前提:了解android官方文档,在项目目录中执行ant debug能打包,比如常见的打包步骤:android update project -p . -s -t "android-19"ant debug如果ant debug打包能通过,则可以使...
分类:
其他好文 时间:
2014-09-05 18:01:51
阅读次数:
201
网络连接时应用的最基本的功能之一,Android系统对网络连接进行了封装,使得开发者能够更快的给应用增加网络功能。大多数网络连接的Android应用使用HTTP发送和接受数据,Android包括两个HTTP客户端:HttpURLConnection和Apache HttpClient。开发者可以使用这两个客户端中的任意一个去完成网络连接。
1, 网络连接的基本步骤:
(1...
分类:
移动开发 时间:
2014-09-04 10:33:29
阅读次数:
195
为了让应用在Android系统运行起来更加流畅,从3.0开始,Android 2D的绘制流程就设计为能够更好地支持硬件加速。所谓硬件加速就是使用GPU进行View上的绘制操作,从而是渲染速度更快,应用体验更加流畅。
1,启动硬件加速的方法
启用硬件加速的最简单方法就是为整个系统打开硬件加速的全局设置,然而硬件加速并不支持所有2D画的操作,所以开启硬件加速可能会对使用自定义组件的应用程序造...
分类:
移动开发 时间:
2014-09-03 19:52:27
阅读次数:
191
Android官方文档里对Activity的生命周期有比较详尽的描述,但由于资源回收机制带来不确定性,我们的程序运行结果常常与预期的不符,而调试这类问题又十分消耗时间和精力。解决的根本办法还是要理解透Activity的生...
分类:
其他好文 时间:
2014-08-18 16:37:12
阅读次数:
193
Android系统架构是学习Android最基本的知识点,经常在技术面试过程中涉及到有关问题,接下来对Android系统架构进行总结。 Android官方文档提供资料显示:Android系统分为4个层次,从低到高依次为Linux kernel(Linux内核层),Libraries和And...
分类:
移动开发 时间:
2014-08-14 01:03:07
阅读次数:
238
Google的Android官方文档:Actions that can't fit in the action bar or aren't important enough are hidden in the action overflow. The user can reveal a list o...
分类:
移动开发 时间:
2014-08-04 13:25:27
阅读次数:
229
发送用户到另外一个AppYOU SHOULD ALSO READ内容分享One of Android's most important features is an app's ability to send the user to another app based on an "action" ...
分类:
移动开发 时间:
2014-07-14 19:59:39
阅读次数:
386
syntax:contained in:description:Requests a permission that the application must be granted inorder for it to operate correctly. Permissions are grant....
分类:
移动开发 时间:
2014-07-02 09:59:26
阅读次数:
203
syntax:contained in:description:Adds an action to an intent filter.An element must contain one or more elements. If it doesn't contain any, noInten...
分类:
移动开发 时间:
2014-06-18 14:48:12
阅读次数:
252
The Android framework APIs provides a set 2D drawing APIs that allow you to render your owncustom graphics onto a canvas or to modify existing Views t...
分类:
移动开发 时间:
2014-06-17 19:48:07
阅读次数:
255