- 博客(17)
- 资源 (7)
- 收藏
- 关注
原创 Android 的View不是线程安全的.
当在UI 线程之外更新view组件时会出现exception. E/AndroidRuntime( 4371): FATAL EXCEPTION: Thread-10E/AndroidRuntime( 4371): android.view.ViewRoot$Cal
2011-09-23 15:08:58 873
转载 Message,MessageQueue,Looper,Handler详解
from:http://hi.baidu.com/%CE%DE%D0%C4%B1%B1%BE%A9/blog/item/82897fae220a7ad67dd92ad7.html 一、几个关键概念1、MessageQueue:是一种数据结构,见名知义,就是一个消息队列
2011-09-21 16:16:56 428
原创 2011-09-21
Dear Mr. Na: 1) Please check the BST job assign file in the attachment. There are some explanations about it. a) The first
2011-09-21 12:09:17 301
原创 Service and Binder(3)
使用RemoteService. 在RemoteService 中调用RemoteServiceCallback. /** * This is a list of callbacks that have been registered with the
2011-09-20 18:01:39 377
原创 Service and Binder(2)
Aidl生成的接口文件: IRemoteService.java/* * This file is auto-generated. DO NOT MODIFY. * Original file: C:\\Documents and Settings\\qujia
2011-09-20 17:45:01 612
原创 Service and Binder(1)
Aidl定义:IRemoteService.aidlpackage com.bst.test;import com.bst.test.IRemoteServiceCallback;/** * Example of defining an interface
2011-09-20 17:40:30 355
原创 Aidl生成的ICalc接口文件
/* * This file is auto-generated. DO NOT MODIFY. * Original file: C:\\Documents and Settings\\userName\\RemoteService\\src\\com\\bst\\t
2011-09-20 09:17:14 428
原创 为Android Sdk 关联reference文档
1. Select a JAR or Java project, open the context menu and select Properties > Javadoc Location 2. 加入:file:/D:/Android/Android_3.0/And
2011-09-15 11:28:08 591
原创 synchronized 块
方法一.private class Worker implements Runnable { private Object mLock = new Object(); private int spantime = 100; private boole
2011-09-15 09:39:41 528
原创 preload & preinstall
把apk 或binary可运行文件安装到系统(system.img)中 方法一:################################################################include $(CLEAR_VARS)ALL_PRE
2011-09-09 12:51:09 759
原创 查找Intent
Intent shareIntent = new Intent(Intent.ACTION_SEND); String mimeType = "audio/mpeg"; shareIntent.setType(mimeType);
2011-09-08 16:56:19 440
原创 socket in Android
srw-rw---- bluetooth bluetooth 2011-01-01 22:52 bluetoothsrw-rw---- bluetooth bluetooth 2011-01-01 22:52 dbussrw-rw---
2011-09-07 14:03:12 375
原创 Android memory leak using MAT
Eclipse + MAT (Memory Analyzer 1.1.0 (Indigo) Release)mat 更新地址: http://download.eclipse.org/mat/1.1/update-site/archieve 下载地址: Memory
2011-09-06 15:00:47 600
原创 把Activity从taskManager中删除
android:excludeFromRecents = "true" http://schemas.android.com/apk/res/android" package="com.example.test" android:versi
2011-09-06 10:51:46 641
原创 ActivityManager
ActivityManager am = (ActivityManager)context.getSystemService(context.ACTIVITY_SERVICE); List info = am.getRunningTasks(10);
2011-09-05 22:24:34 378
原创 User模式下内置apk做重签名.
Android.mk:LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := PreloadLOCAL_SRC_FILES := $(LOCAL_MODULE).apkLOCAL
2011-09-02 18:19:14 396
[Wiley.Linux.Bible.2010.Edition].Christopher.Negus.文字版
2011-12-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人