統計

          留言簿(1)

          DB

          Others

          QA

          Tech Website

          閱讀排行榜

          評論排行榜

          Android Dev

          【轉】Painless threading
               摘要: 寫在前面:寫Android程序有一個很重要的原則,不阻塞UI線程。因此Android提供了5種方法來,讓一些耗時的作業在其它線程中執行,然后把結果返回給UI線程,以免阻塞UI線程。  閱讀全文

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

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

          posted @ 2011-08-16 23:12 XXXXXX 閱讀(297) | 評論 (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 閱讀(512) | 評論 (0)  編輯

          Android Debug Bridge

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

          【轉】深入理解Android消息處理系統
               摘要: Android系統中Looper負責管理線程的消息隊列和消息循環,具體實現請參考Looper的源碼。 可以通過Loop.myLooper()得到當前線程的Looper對象,通過Loop.getMainLooper()可以獲得當前進程的主線程的Looper對象。  閱讀全文

          posted @ 2011-07-29 11:53 XXXXXX 閱讀(267) | 評論 (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 閱讀(319) | 評論 (0)  編輯

          Manifest.permission Summary

          posted @ 2011-07-24 15:15 XXXXXX 閱讀(711) | 評論 (0)  編輯

          獲取Android的Java源代碼并在Eclipse中關聯查看的最新方法

          posted @ 2011-07-09 09:38 XXXXXX 閱讀(248) | 評論 (0)  編輯

          Android Coding for Life-Battery Life

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

          Android好文章

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

          【轉】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 閱讀(350) | 評論 (0)  編輯

          【轉】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 閱讀(556) | 評論 (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 閱讀(296) | 評論 (0)  編輯

          主站蜘蛛池模板: 且末县| 文水县| 临武县| 神农架林区| 河源市| 四平市| 麻阳| 靖安县| 瑞昌市| 涿州市| 临颍县| 大英县| 荆州市| 九寨沟县| 铜川市| 礼泉县| 古蔺县| 客服| 海兴县| 青铜峡市| 佛坪县| 临沭县| 漳州市| 衡水市| 沙坪坝区| 益阳市| 侯马市| 信阳市| 靖边县| 宜兴市| 永州市| 石屏县| 固阳县| 无为县| 乐昌市| 兴安县| 兰考县| 凤翔县| 岐山县| 梧州市| 茶陵县|