Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync Adapter in Android

I am writing a custom sync Adapter. After adding 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

like image 542
shunty Avatar asked Mar 03 '26 04:03

shunty


1 Answers

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

like image 132
Marius Avatar answered Mar 05 '26 16:03

Marius



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!