android edit contact

后端 未结 4 1505
余生分开走
余生分开走 2021-01-11 13:03

hi im trying to add a phone number to an existing contact on android 2.1. Im currently using:

ContentValues values = new ContentValues();
values.put(Phone.RA         


        
4条回答
  •  猫巷女王i
    2021-01-11 13:42

    Have you set the correct permissions in the AndroidManifest.xml? As far as I know the access to the personal information (contacts) is restricted by default.

    see here for more about the permission system in android

提交回复
热议问题