开发者

Sync Adapter in Android

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜