- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 将android联系人和短信数据库换成sqlcipher记录
下载sqlcipher源码,设置sdk,ndk路径(linux环境)在sqlichper源码目录下,make init make 生成so ,jar,还有icudt461.zip如果无需修改sqlcipher内部的代码,则直接用官方提供的二进制包即可,我这里需要修改放置在libs目录中如下lua@lua-desktop:~/xgm$ tree ginger
2012-04-17 12:01:16 2394 1
转载 Writing an Android Sync Provider: Part 2
http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/One of the great new user-facing features of Android 2.0 is the is the new Facebook app, which brings your Facebook contac
2012-04-13 11:15:02 1292
转载 Writing an Android Sync Provider: Part 1
http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/One of the highlights of the Android 2.0 SDK is that you can write custom sync providers to integrate with the system cont
2012-04-13 11:13:47 425
转载 关于 contact aggregation & lookup uri
http://developer.android.com/resources/articles/contacts.htmlUsing the Contacts APIStarting from Android 2.0 (API Level 5), the Android platform provides animproved Contacts API for managing and
2012-04-12 20:06:13 2016
原创 android 短信thread id生成问题
1.经验证,打入和拨出的电话,如果没有保存对应的联系人,是不会自动生成以电话号码为名的联系人记录的,即除了动了calls表外,contacts,raw_contacts,phone_lookup,等其它表都不会发生修改2.短信thread id以是对收件人地址一一对应的,这个地址指的是电话号码,与联系人中的信息无关,其对应关系在canonical_address表里,代码注释里说还
2012-04-12 19:38:27 5865
原创 Android.mk 移植示例--移植usbip userspace tools
Android.mk:MY_LOCAL_PATH := $(call my-dir)LOCAL_PATH:= $(MY_LOCAL_PATH)include $(LOCAL_PATH)/sysfs/Android.mkLOCAL_PATH := $(MY_LOCAL_PATH)include $(CLEAR_VARS)LOCAL_CFLAGS :=
2012-04-10 19:15:02 1708 1
转载 UDP/TCP穿越NAT的P2P通信方法研究(UDP/TCP打洞 Hole Punching)
转自 http://hi.baidu.com/guoxiaoming/blog/item/7525d63ffe9b18dd7d1e71b8.html内容概述:在p2p通信领域中,由NAT(Network Address Translation,网络地址转换)引起的问题已经众所周知了,它会导致在NAT内部的p2p客户端在无论以何种有效的公网ip都无法访问的问题。虽然目前已经发展出多种穿越NAT的
2012-04-10 13:48:33 473
原创 根据地址由maps推算代码位置
adb shell cat /proc/pid/maps |gawk '$2~/r-xp/{print "0x"substr($1,1,8),"0x"substr($1,10,8), $6}'将之保存到maps.txt文件cat maps.txt |awk '{addr=strtonum(addr2);beg=strtonum($1);end=strtonum($2);if(addr
2012-04-05 17:13:53 667
原创 android jni memory debug
Aborting or crashing in dlmalloc() usually indicates that the native heap has become corrupted. This is usually caused by native code in an application doing something bad.Sometimes the malloc-debu
2012-04-05 10:06:14 1224
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人