随笔分类 - JAVA
描述JAVA这门神奇的语言
Managing Network Usage
摘要:android wifi mobile
阅读全文
Connecting to the Network
摘要:android network AsyncTask HttpUrlConnection
阅读全文
Running Code on a Thread Pool Thread_翻译
摘要:android thread pool
阅读全文
Creating a Manager for Multiple Threads_翻译
摘要:android ThreadPoolExecutor thread pool
阅读全文
Specifying the Code to Run on a Thread
摘要:android thread runnable
阅读全文
Sending Operations to Multiple Threads_翻译
摘要:android 线程
阅读全文
Processes and Threads
摘要:android 进程 线程
阅读全文
避免内存泄露
摘要:在andorid开发中,内存小往往是个问题。android设备的内存,分配给每一个应用的内存,至少是16M,在其中跑应用的各个组件。如果应用使用到不少的图片的话,则16M内存很快的就消耗掉了。还有另一个可能导致内存泄露的因素,就是过多的对context的长时间的引用。 在android中,context往往被用来访问或者是加载资源,它分为activity与apllication两种。比如下端代码:@Overrideprotected void onCreate(Bundle state) { super.onCreate(state); TextView label = new Tex...
阅读全文
提升布局性能____Re-using Layouts with <include/>
摘要:android 布局 incelude merge
阅读全文
提升布局性能____Making ListView Scrolling Smooth
摘要:android listview 提升性能
阅读全文
java_synchronized 用法
摘要:java synchronized 同步
阅读全文