2011年11月10日 星期四

[原始碼] Android Contacts

Contacts Clound
http://gigaom.com/mobile/how-to-use-the-cloud-to-move-contacts-between-phones/


Android Contact数据模型之EntityDelta
http://www.cnblogs.com/yyq-quan/archive/2011/09/01/2162332.html
http://www.cnblogs.com/yyq-quan/archive/2011/09/01/2162343.html
添加联系人的界面如何去得到用户在文本框里输入的文字? http://www.iteye.com/problems/57473


Entity
包含下列三個元素 , 對應到Contacts的資料表分別為:
Top Level
- Content Value <==> 特定RawContacts Table資料的各欄位資料
SubValue
- Uri <==> 對應到RawContacts的所有Data Table的URI
- Content Value <==> 對應到RawContacts的所有Data Table 欄位資料

ContentValues getEntityValues() <==> 取得特定RawsContacts Table的所有欄位資料
ArrayList<Entity.NamedContentValues> getSubValues() <==> 取得對應RawContacts Table id的
Data Table 資料的欄位

Entity.NamedContentValues

保存下列兩個欄位 , 用來描述特定Contacts Data欄位的內容
- URI (Data欄位的Uri)
- Cotent Value

沒有留言:

張貼留言