Forum Visual Studio

Sync adapter

I have implemented Sync adapter for every 30 sec's it has to process automatically but OnPerformSync method is not calling even first time....
Please help me what could be the wrong.....?

Menifest file:

<?xml version="1.0" encoding="utf-8"?>

<service android:name=".SyncService"
            android:exported="true" android:process=":sync">
  <!-- This intent filter is required. It allows the system to launch our sync service
        as needed. -->
    <action android:name="DemoAndroid.TvShowsSyncAdapter" />
  <!-- This points to a required XML file which describes our SyncAdapter. -->
  <meta-data android:name="demoAndroid.resources"
             android:resource="@drawable/SyncAdapter" />

 <service   android:name=".TVAuthenticatorService">
        <action android:name="DemoAndroid.TVAuthenticator"/>
    <meta-data   android:name="demoAndroid.tVAuthenticatorService"
        android:resource="@drawable/AuthMetaFile" />

Sync adapter Metafile:

<?xml version="1.0" encoding="utf-8" ?>

Authenticator Metafile:

<?xml version="1.0" encoding="utf-8" ?>

Sign In or Register to comment.