开发者

Sync Adapter in Android

开发者 https://www.devze.com 2023-02-13 15:49 出处:网络
I am writing a custom sync Adapter. After addi开发者_JAVA技巧ng a Account it will show the Databases to be synced, Based on the declaration in the Adapter.xml for ex Sync Contacts , Sync Calender.

I am writing a custom sync Adapter. After addi开发者_JAVA技巧ng a Account it will show the Databases to be synced, Based on the declaration in the Adapter.xml for ex Sync Contacts , Sync Calender.

Can i Customize these names.

Thanks vikas bisla


You need to set the label tag for your provider in AndroidManifest.xml, for instance:

provider android:name="ItemProvider" android:authorities="com.yourApp.ItemProvider" android:label="All data" android:syncable="true"

Cheers

0

精彩评论

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