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. -->
  <intent-filter>
    <action android:name="DemoAndroid.TvShowsSyncAdapter" />
  </intent-filter>
  <!-- This points to a required XML file which describes our SyncAdapter. -->
  <meta-data android:name="demoAndroid.resources"
             android:resource="@drawable/SyncAdapter" />
</service>

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


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.