Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

problems syncing android native app

$
0
0

Hi,

 

I had problems syncing my native android app and whenever you try to synchronize Closes:

 

1. App initialization (ok)

2. Set connection properties (ok)

3. App registration (ok)

 

4. Sync data (fails and closes app)

 

someone could help me to find the error log?

someone has been the same?

 

 

if (!xxxxDB.isSynchronized("default")) {

xxxxDB.disableChangeLog();

xxxxDB.synchronize(); // Initial Synchronize

SynchronizationGroup sg = xxxxDB.getSynchronizationGroup("default");

sg.setEnableSIS(true);

sg.save();

xxxxDB.synchronize();

}

xxxxDB.enableChangeLog();

} catch (SynchronizeException e) {

System.out.println("Exception1 " + e);

System.out.println("Cause " + e.getCause());

System.out.println("Msg " + e.getMessage());

e.printStackTrace();

} catch (Exception e) {

System.out.println("Exception2 " + e);

e.printStackTrace();

} finally {

// initializationDone = true;

}


Viewing all articles
Browse latest Browse all 10548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>