How to read contacts on Android 2.0

前端 未结 9 981
我寻月下人不归
我寻月下人不归 2020-11-22 05:58

I\'m working on Android 2.0 and am trying to receive a list of all contacts.

Since android.provider.Contacts.People is deprecated, I have to use android

9条回答
  •  不思量自难忘°
    2020-11-22 06:28

    You can use "ContactManager" example from android developer's site (OR) Go to the location where you have set the path to download android-sdk in your system. In android-sdk-mac_x86/samples/android-10 folder, you can see "ContactManager" example.

    I have tried using this example, worked well in my application.

提交回复
热议问题