統(tǒng)計(jì)

          留言簿(1)

          DB

          Others

          QA

          Tech Website

          閱讀排行榜

          評(píng)論排行榜

          Android Dev

          【轉(zhuǎn)】Painless threading
               摘要: 寫(xiě)在前面:寫(xiě)Android程序有一個(gè)很重要的原則,不阻塞UI線程。因此Android提供了5種方法來(lái),讓一些耗時(shí)的作業(yè)在其它線程中執(zhí)行,然后把結(jié)果返回給UI線程,以免阻塞UI線程。  閱讀全文

          posted @ 2011-08-23 09:25 XXXXXX 閱讀(361) | 評(píng)論 (0)  編輯

          【轉(zhuǎn)】selector in Android
               摘要: android的selector的用法:
          首先android的selector是在drawable/xxx.xml中配置的。
          先看一下listview中的狀態(tài):
          把下面的XML文件保存成你自己命名的.xml文件(比如list_item_bg.xml),在系統(tǒng)使用時(shí)根據(jù)ListView中的列表項(xiàng)的狀態(tài)來(lái)使用相應(yīng)的背景圖片。drawable/list_item_bg.xml  閱讀全文

          posted @ 2011-08-16 23:12 XXXXXX 閱讀(288) | 評(píng)論 (0)  編輯

          UI/Application Exerciser Monkey
               摘要: The Monkey is a command-line tool that that you can run on any emulator instance or on a device. It sends a pseudo-random stream of user events into the system, which acts as a stress test on the application software you are developing.

          The Monkey includes a number of options, but they break down into four primary categories:

          Basic configuration options, such as setting the number of events to attempt.
          Operational constraints, such as restricting the test to a single packag  閱讀全文

          posted @ 2011-08-13 10:14 XXXXXX 閱讀(507) | 評(píng)論 (0)  編輯

          Android Debug Bridge

          posted @ 2011-08-11 13:22 XXXXXX 閱讀(894) | 評(píng)論 (0)  編輯

          【轉(zhuǎn)】深入理解Android消息處理系統(tǒng)
               摘要: Android系統(tǒng)中Looper負(fù)責(zé)管理線程的消息隊(duì)列和消息循環(huán),具體實(shí)現(xiàn)請(qǐng)參考Looper的源碼。 可以通過(guò)Loop.myLooper()得到當(dāng)前線程的Looper對(duì)象,通過(guò)Loop.getMainLooper()可以獲得當(dāng)前進(jìn)程的主線程的Looper對(duì)象。  閱讀全文

          posted @ 2011-07-29 11:53 XXXXXX 閱讀(262) | 評(píng)論 (0)  編輯

          Glossary of Android
               摘要: The list below defines some of the basic terminology of the Android platform.

          .apk file
          Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".
          Re  閱讀全文

          posted @ 2011-07-25 11:42 XXXXXX 閱讀(313) | 評(píng)論 (0)  編輯

          Manifest.permission Summary

          posted @ 2011-07-24 15:15 XXXXXX 閱讀(704) | 評(píng)論 (0)  編輯

          獲取Android的Java源代碼并在Eclipse中關(guān)聯(lián)查看的最新方法

          posted @ 2011-07-09 09:38 XXXXXX 閱讀(242) | 評(píng)論 (0)  編輯

          Android Coding for Life-Battery Life

          posted @ 2011-07-08 09:37 XXXXXX 閱讀(1576) | 評(píng)論 (0)  編輯

          Android好文章

          posted @ 2011-06-01 15:17 XXXXXX 閱讀(220) | 評(píng)論 (0)  編輯

          【轉(zhuǎn)】Avoiding Memory Leaks
               摘要: Android applications are, at least on the T-Mobile G1, limited to 16 MB of heap. It's both a lot of memory for a phone and yet very little for what some developers want to achieve. Even if you do not plan on using all of this memory, you should use as little as possible to let other applications run without getting them killed. The more applications Android can keep in memory, the faster it will be for the user to switch between his apps. As part of my job, I ran into memory leaks issues in Andr  閱讀全文

          posted @ 2011-06-01 14:52 XXXXXX 閱讀(342) | 評(píng)論 (0)  編輯

          【轉(zhuǎn)】Android = Java ?
               摘要: The Java community is now swamped with discussions about Oracle's patent suit against Google's Android platform. I've been contributing my opinion in several places, but there is one critical topic that needs repeating the same comments everywhere... so, this blog spills the beans once and completely.  閱讀全文

          posted @ 2011-05-31 11:06 XXXXXX 閱讀(550) | 評(píng)論 (0)  編輯

          Activity Lifecycle
               摘要: Activities in the system are managed as an activity stack. When a new activity is started, it is placed on the top of the stack and becomes the running activity -- the previous activity always remains below it in the stack, and will not come to the foreground again until the new activity exits.  閱讀全文

          posted @ 2011-05-31 09:31 XXXXXX 閱讀(291) | 評(píng)論 (0)  編輯

          主站蜘蛛池模板: 梅河口市| 四子王旗| 荔浦县| 方山县| 宁城县| 和龙市| 阿拉善右旗| 彝良县| 资中县| 湾仔区| 承德市| 闻喜县| 勃利县| 博客| 台湾省| 田东县| 京山县| 金沙县| 图木舒克市| 红桥区| 八宿县| 三亚市| 南陵县| 镶黄旗| 拉萨市| 财经| 平遥县| 宁乡县| 大同县| 施秉县| 巴林右旗| 衡南县| 平凉市| 鄂伦春自治旗| 德江县| 张掖市| 晋城| 辽宁省| 延川县| 乌鲁木齐市| 镇赉县|