on 06-20-2014 3:33 AM
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;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the error you are getting ?
In which line of code error occurs ?
Give more information on the issue. Sync with SCC credentials.
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It really is not a mistake .. the app is closed when it starts to sync .. the app is properly recorded in the SCC .. but not synchronizing ...
this is the block of code that performs synchronization
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;
}
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.