<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_OnSorrow+=new EventHandler(smile)_分类_Android</title><id>http://feed.cnblogs.com/blog/u/17486/category/104090/rss</id><updated>2012-05-29T03:45:44Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/category/104090.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/17486/category/104090/rss"/><entry><id>http://www.cnblogs.com/abob/archive/2011/03/09/1978562.html</id><title type="text">layout_gravity与android:gravity的区别</title><summary type="text">android:layout_gravity是本元素对父元素的重力方向。android:gravity是本元素所有子元素的重力方向。</summary><published>2011-03-09T09:32:00Z</published><updated>2011-03-09T09:32:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2011/03/09/1978562.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2011/03/09/1978562.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2011/01/25/1944733.html</id><title type="text">启动Activity</title><summary type="text">adb shell am start -n 应用包名/应用入口（MAINActivity）</summary><published>2011-01-25T08:41:00Z</published><updated>2011-01-25T08:41:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2011/01/25/1944733.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2011/01/25/1944733.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2011/01/25/1944490.html</id><title type="text">MediaScanner</title><summary type="text">原作者：Steve Gou 转载请注明！ 下面是系统 图 MediaScannerReceiver 会在任何的 ACTION_BOOT_COMPLETED, ACTION_MEDIA_MOUNTED 或 ACTION_MEDIA_SCANNER_SCAN_FILE 意图（ intent ）发出的时候启动。因为解析媒体文件 的元数据 或许会需要很长时间 ，所以 MediaScannerReceiver 会启动 MediaScannerService 。 MediaScannerService 调用一个公用类 MediaScanner 去处理真正的工作。 MediaScannerReceiv</summary><published>2011-01-25T05:14:00Z</published><updated>2011-01-25T05:14:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2011/01/25/1944490.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2011/01/25/1944490.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2011/01/21/1941164.html</id><title type="text">HashMap遍历的两种方式</title><summary type="text">第一种: Map map = new HashMap(); Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); Object key = entry.getKey(); Object val = entry.getValue(); } 效率高,以后一定要使用此种方式！ 第二种: Map map = new HashMap(); Iterator iter = map.keySet().iterator(); while </summary><published>2011-01-21T07:05:00Z</published><updated>2011-01-21T07:05:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2011/01/21/1941164.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2011/01/21/1941164.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/12/22/1914080.html</id><title type="text">JSON</title><summary type="text">尽管有许多宣传关于 XML 如何拥有跨平台，跨语言的优势，然而，除非应用于 Web Services，否则，在普通的 Web 应用中，开发者经常为 XML 的解析伤透了脑筋，无论是服务器端生成或处理 XML，还是客户端用 JavaScript 解析 XML，都常常导致复杂的代码，极低的开发效率。实际上，对于大多数 Web 应用来说，他们根本不需要复杂的 XML 来传输数据，XML 的扩展性很少具有...</summary><published>2010-12-22T09:44:00Z</published><updated>2010-12-22T09:44:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/12/22/1914080.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/12/22/1914080.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/12/16/1908356.html</id><title type="text">Android安装卸载Apk的接口</title><summary type="text">安装程序：软件从无到有。 卸载程序：软件从有到无。 更新程序：软件的覆盖安装，可以保留原版本的数据，提升软件版本。 安装程序的方法： 1、 通过 Intent 机制，调出系统安装应用，重新安装应用的话，会保留原应用的数据。 String fileName = Environment.getExternalStorageDirectory() + apkName ; Uri uri = ...</summary><published>2010-12-16T08:28:00Z</published><updated>2010-12-16T08:28:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/12/16/1908356.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/12/16/1908356.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/12/08/1900304.html</id><title type="text">/framework/base/core/java/下添加文件</title><summary type="text">如我们在/framework/base/core/java/下添加文件夹和文件，需要在/frame/base/Android.mk文件中的packages_to_document加入此文件夹的路径</summary><published>2010-12-08T07:45:00Z</published><updated>2010-12-08T07:45:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/12/08/1900304.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/12/08/1900304.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/11/19/1881558.html</id><title type="text">获取android手机Root权限</title><summary type="text">Tidy up step by step rooting 1) Getting rageagainstthecage-arm5.bin http://stealth.openwall.net/xSports/...nstTheCage.tgz 2) Getting Superuser.apk, busybox,su http://forum.xda-developers.com/showthrea...</summary><published>2010-11-19T02:33:00Z</published><updated>2010-11-19T02:33:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/11/19/1881558.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/11/19/1881558.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/11/18/1881150.html</id><title type="text">Convert Resid to Drawable</title><summary type="text">this.getResources().getDrawabel(R.drawable.x)</summary><published>2010-11-18T12:18:00Z</published><updated>2010-11-18T12:18:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/11/18/1881150.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/11/18/1881150.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/06/24/1764521.html</id><title type="text">android开发工具合集(Zipalign)</title><summary type="text">Android 1.6 SDK中包含了一个用于优化APK的新工具zipalign。它提高了优化后的Applications与Android系统的 交互效率（俗话：“要致富先修路”，Android小组重新为Applications与Android系统之间搭建了一条高速公路），从而可以使整个系 统的运行速度有了较大的提升。Android小组强烈建议开发者在发布新Apps之前使用...</summary><published>2010-06-24T08:23:00Z</published><updated>2010-06-24T08:23:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764521.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764521.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/06/24/1764518.html</id><title type="text">adb开发工具合集（traceview and dmtracedump）</title><summary type="text">如何分析android应用性能，java函数调用关系。 1.mksdcard -l sdcard 512M /root/.android/sdcard.img 2.在应用程序中加入trace 的开始和结束函数（详细说明参考开发文档） // start tracing to "/sdcard/calc.trace" Debug . startMethodTracing ( "calc" ); -...</summary><published>2010-06-24T08:22:00Z</published><updated>2010-06-24T08:22:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764518.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764518.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2010/06/24/1764513.html</id><title type="text">android开发工具合集(adb)</title><summary type="text">Android 调试桥(adb)是多种用途的工具，该工具可以帮助你你管理设备或模拟器 的状态。 可以通过下列几种方法加入adb: 在设备上运行shell命令 通过端口转发来管理模拟器或设备 从模拟器或设备上拷贝来或拷贝走文件 下面对adb进行了介绍并描述了常见的使用. Contents 概要 发出adb命令 查询模拟器/设备实例 给特定的模拟器/设备实例发送命令 安装软件 转发端口...</summary><published>2010-06-24T08:19:00Z</published><updated>2010-06-24T08:19:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764513.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2010/06/24/1764513.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/06/16/1504389.html</id><title type="text">Android中构建数据业务应用</title><summary type="text">构建Android中的数据业务应用，Android提供了几种网络访问方式： 移动IP网络（GPRS,基于移动网络的数据应用层 ），WiFi,蓝牙。这里讨论的是基于第一种方式的网络应用。Android主要提供了java.net和org.apache.httpclient两个包来处理相关的网络应用，另外还有android.net这个包，它只是对org.apache.httpclient进行了简单的封装...</summary><published>2009-06-16T07:46:00Z</published><updated>2009-06-16T07:46:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/06/16/1504389.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/06/16/1504389.html"/><content type="text">构建Android中的数据业务应用，Android提供了几种网络访问方式： 移动IP网络（GPRS,基于移动网络的数据应用层 ），WiFi,蓝牙。这里讨论的是基于第一种方式的网络应用。Android主要提供了java.net和org.apache.httpclient两个包来处理相关的网络应用，另外还有android.net这个包，它只是对org.apache.httpclient进行了简单的封装...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/06/11/1501592.html</id><title type="text">Android中使用XmlSerializer拼装XML数据</title><summary type="text">经常在Http Post Xml请求的时候，需要如何拼装XML数据，在Android中如何来做的呢，通常我们使用FastXmlserializer这个类。比如要拼装如下的XML[代码]代码如下[代码]</summary><published>2009-06-11T10:23:00Z</published><updated>2009-06-11T10:23:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501592.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501592.html"/><content type="text">经常在Http Post Xml请求的时候，需要如何拼装XML数据，在Android中如何来做的呢，通常我们使用FastXmlserializer这个类。比如要拼装如下的XML[代码]代码如下[代码]</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/06/11/1501587.html</id><title type="text">curl post</title><summary type="text">使用Curl命令Post XML如下：XML文件 [代码]echo '&lt;getProfile&gt;&lt;account&gt;foo@CMCC&lt;/account&gt;&lt;/getProfile&gt;' | curl -X POST -H 'Content-type: text/xml' -d @- http://119.145.0.78:8082/jil?op=GETPRO...</summary><published>2009-06-11T10:10:00Z</published><updated>2009-06-11T10:10:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501587.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501587.html"/><content type="text">使用Curl命令Post XML如下：XML文件 [代码]echo '&lt;getProfile&gt;&lt;account&gt;foo@CMCC&lt;/account&gt;&lt;/getProfile&gt;' | curl -X POST -H 'Content-type: text/xml' -d @- http://119.145.0.78:8082/jil?op=GETPRO...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/06/11/1501449.html</id><title type="text">Android中的WebKit</title><summary type="text">WebKit 是一个开源浏览器网页排版引擎，与之相应的引擎有Gecko（Mozilla，Firefox等使用的排版引擎）和Trident（也称为MSHTML，IE 使用的排版引擎）。同时WebKit 也是苹果Mac OS X系统引擎框架版本的名称，主要用于Safari，Dashboard，Mail 和其他一些Mac OS X 程序。WebKit 所包含的 WebCore 排版引擎和 JSCore ...</summary><published>2009-06-11T08:03:00Z</published><updated>2009-06-11T08:03:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501449.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501449.html"/><content type="text">WebKit 是一个开源浏览器网页排版引擎，与之相应的引擎有Gecko（Mozilla，Firefox等使用的排版引擎）和Trident（也称为MSHTML，IE 使用的排版引擎）。同时WebKit 也是苹果Mac OS X系统引擎框架版本的名称，主要用于Safari，Dashboard，Mail 和其他一些Mac OS X 程序。WebKit 所包含的 WebCore 排版引擎和 JSCore ...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/06/11/1501385.html</id><title type="text">从一个开发人员的角度比较Windows Mobile与Ophone</title><summary type="text">Windows Mobile在经历过最初的Wince系列，pockect pc和smartphone两种版本，到微软最新的Windows Mobile 6.5，Windows Mobile凭借与桌面平台良好的兼容性已经微软在移动领域的不断努力，在智能手机操作系统中已经占据了接近15%的市场份额。微软所推崇的 Windows Mobile下的基于.net compact framework也越来越成...</summary><published>2009-06-11T07:05:00Z</published><updated>2009-06-11T07:05:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501385.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/06/11/1501385.html"/><content type="text">Windows Mobile在经历过最初的Wince系列，pockect pc和smartphone两种版本，到微软最新的Windows Mobile 6.5，Windows Mobile凭借与桌面平台良好的兼容性已经微软在移动领域的不断努力，在智能手机操作系统中已经占据了接近15%的市场份额。微软所推崇的 Windows Mobile下的基于.net compact framework也越来越成...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/04/22/1441345.html</id><title type="text">Anroid中的Intent</title><summary type="text">1：什么是 Intent Intent是对被执行操作的抽象描述。调用 startActivity(Intent)，可以启动 Activity；调用 broadcastIntent(Intent)，可以把 Intent 发送给任何相关的 IntentReceiver 组件；调用 startService(Intent, Bundle) 以及 bindService(Intent, String, S...</summary><published>2009-04-22T06:40:00Z</published><updated>2009-04-22T06:40:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/04/22/1441345.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/04/22/1441345.html"/><content type="text">1：什么是 Intent Intent是对被执行操作的抽象描述。调用 startActivity(Intent)，可以启动 Activity；调用 broadcastIntent(Intent)，可以把 Intent 发送给任何相关的 IntentReceiver 组件；调用 startService(Intent, Bundle) 以及 bindService(Intent, String, S...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2009/03/24/1420546.html</id><title type="text">Android学习笔记</title><summary type="text">1：查看是否有存储卡插入String status=Environment.getExternalStorageState();if(status.equals(Enviroment.MEDIA_MOUNTED)){ 说明有SD卡插入}2：让某个Activity透明OnCreate中不设Layoutthis.setTheme(R.style.Theme_Transparent); 以下是Theme...</summary><published>2009-03-24T06:58:00Z</published><updated>2009-03-24T06:58:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2009/03/24/1420546.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2009/03/24/1420546.html"/><content type="text">1：查看是否有存储卡插入String status=Environment.getExternalStorageState();if(status.equals(Enviroment.MEDIA_MOUNTED)){ 说明有SD卡插入}2：让某个Activity透明OnCreate中不设Layoutthis.setTheme(R.style.Theme_Transparent); 以下是Theme...</content></entry><entry><id>http://www.cnblogs.com/abob/archive/2007/08/27/870705.html</id><title type="text">JAVA环境配置</title><summary type="text">JAVA环境配置，helloworld例子，ANT配置</summary><published>2007-08-26T20:33:00Z</published><updated>2007-08-26T20:33:00Z</updated><author><name>cppguy</name><uri>http://www.cnblogs.com/abob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/abob/archive/2007/08/27/870705.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/abob/archive/2007/08/27/870705.html"/><content type="text">JAVA环境配置，helloworld例子，ANT配置</content></entry></feed>
