- 浏览: 138063 次
- 性别:
- 来自: 北京
最新评论
-
bi_bao:
lz好啊 我也在做彩信的备份还原工作.您的附件还原代码很有用, ...
彩信 -
suifeng0211:
如果想不调用系统彩信界面,直接从后台发送,就比较麻烦了。但确定 ...
彩信发送。 -
atmus:
横竖看不懂
彩信发送。 -
smartdongdong:
这么好的帖子才看到!
MMS/SMS 入口 , -
A_L_85:
在LauncherModel中final Cursor c = ...
Android2.1_Launcher2学习笔记
文章列表
fanqiang搬运,能打开的去看看原址,有源码的。
http://mylifewithandroid.blogspot.com/2008/02/synchronization-in-android.html
Thursday, February 14, 2008
Synchronization in Android
Note: this example program was written before the new m5-rc14 release of the SDK was published and therefore it refers t ...
关于service,还是抄袭自某大大的博客:
http://blog.csdn.net/maxleng/archive/2010/04/19/5504485.aspx
这位大大的深入分析系列都很值得研究。
Service深入分析
上一章我们分析了Android IPC架构,知道了Android服务构建的一些基本理念和原 ...
抄袭自 :http://blog.csdn.net/maxleng/archive/2010/04/15/5490770.aspx
写的很好啊。
IPC框架分析 Binder,Service,Service manager
我首先从宏观的角度观察Binder,Service,Service Manager,并阐述各自的概念。从Linux的概念空间中,Android的设计Activity托管在不同的的进程,Service
http://hi-android.info/src/android/content/SyncManager.java.html
S
1 . cursor 读取速度很快
2 。 cursor里内容数量大时,遍历一遍比较慢;
需要先遍历一遍来形成自己的数据结构的,会更慢
3 为了避免这个生成数据结构或者遍历慢的问题,可以用双线成异步加载来作( 应用场景,用户不会在画面出现的一瞬间,500ms之内,拖动list,否则体验不佳)
4 方法: 先加载cursor中一部分数据,比如20个。
用一个线程处理cursor中剩余的数据,整理好。
在最后时刻,用runOnUiThread,再异步线程中,回到UI县城写数据,把整理好的结果写回listview中
5 好处: ...
MMS - 入口和联系人,想到什么说什么。
在MMS中最重要的两个ui,或者说是用户操作短信的入口,一个是conversationList(短信列表界面) ,另一个就是ComposeMessageActiity(单个对话或者短信),以后简称CMA。
每个CMA 录属于一个Conversat ...
activity 属性:http://developer.android.com/guide/topics/manifest/activity-element.html免翻**墙搬运:
<activity>
syntax:
<activity android:allowTaskReparenting=["true" | "false"]
android:
抄自 http://www.iteye.com/topic/630188
Android2.1消息应用(Messaging)源码学习笔记
我想首先应该从AndroidManifest.xml 文件开始,该文件是Android应用(APK)的打包清单,其中提供了关于这个应用程序的基本信息,如名称(application/@label),图 ...
联系人data表
类
android.provider.ContactsContract.Data
Constants for the data table, which contains data points tied to a raw contact. For example, a phone number or email address.
Data kinds
Data is a generic table that can hold all kinds of data. Sync adapters and applications can introduce their ...
系统的listview的layout在frameworks/base/core/res/res下面
1 simple_list_item_1.xml
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
android:layout_width="fill_parent"
android:layout_height="wrap_conten ...
http://blog.myspace.cn/e/401835407.htm
关于mount的用法就是挂载的意思,
在使用这个命令之前可以用这个命令来查看有几个硬盘和分区情况:fdisk -l
mount的常用到的参数:
monnt -t(vfstype) -o(option) device dir
PS: mount -t vfat -o iocharset=utf8,codepage=cp ...
在多设备(模拟器)时,想要直接用logcat查看其中一台的状态,或者直接把应用安装到目标设备上时,需要指定设备号。
adb devices
这个指令可以得到当前设备的序列号(serialNumber)。
比如一个模拟器通常是 emulator-5554
在adb的指 ...
from yzw@iw
在ImageView类中,尽量不要使用setImageBitmap或setImageResource或BitmapFactory.decodeResource来设置一张大图,因为这些函数在完成decode后,最终都是通过java层的createBitmap来完成的,需要消耗更多内存。
因此,改用先通过BitmapFactory.decodeStream方法,创建出一个bitmap,再将其设为ImageView的source,decodeStream最大的秘密在于其直接调用
>> native code --
>> nativeDecodeAs ...
在之前的版本中,只有一个drawable,而2.1版本中有drawable-mdpi、drawable-ldpi、drawable-hdpi三个,这三个主要是为了支持多分辨率。
drawable- hdpi、drawable- mdpi、drawable-ldpi的区别:
(1)drawable-hdpi里面存放高分辨率的图片,如WVGA (480x8 ...
原帖:http://linux.chinaunix.net/techdoc/beginner/2009/12/01/1146963.shtml
grub2基础教程-修订版
smallapple
目录
一、grub2
新特性
二、grub2
安装与启动
三、grub2
配置文件详解
四、脚本修改 ...