开发者

How to get the absolute path of the contact URI?

开发者 https://www.devze.com 2023-04-09 00:02 出处:网络
I am getting uri as content://com.android.contacts/data/592 . I need to convert this in to absolute path . How to achieve this.Thanks 开发者_运维技巧in advance.contacts are not stored in files , they

I am getting uri as content://com.android.contacts/data/592 . I need to convert this in to absolute path . How to achieve this.Thanks 开发者_运维技巧in advance.


contacts are not stored in files , they are stored in a database , you can use the content resolver to get that contact information.

http://developer.android.com/reference/android/content/ContentResolver.html

0

精彩评论

暂无评论...
验证码 换一张
取 消