on 01-23-2006 7:25 AM
Dear all,
Is there any way to trigger synchronization in background ?.
so that i can run mi application in foreground (for Smart Sync Applications).
please help me to resolve this problem and I promise to return and reward the answers.
Regards
Kishor G
Message was edited by: Kishor Gopinathan
Message was edited by: Kishor Gopinathan
hello kishor,
use the following parameters in your mobileengine.config.
MobileEngine.Sync.TimedSyncActive=<true or false>
MobileEngine.Sync.TimedSyncTimeInterval=<value in ms>
MobileEngine.Sync.Background.Filter=<true or false>
description:
MobileEngine.Sync.TimedSyncActive
- sync in the background at as specified interval
MobileEngine.Sync.TimedSyncTimeInterval
- the time interval in milliseconds
MobileEngine.Sync.Background.Filter
- sync only if modified application data exists
see link for details:
http://help.sap.com/saphelp_nw04/helpdata/en/93/f53878b47bef4895319c9febb35f78/frameset.htm
pls consider also data consistency and performance when
using this feature.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul ,
actually i want start the synchronization from the client itself . i need ,
without clicking the sync button , provided i need to run the synchronization in background(in the client), so that i can still run the application in the front end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishor,
Synchronization means updating data on both, client and backend. Now if sync is made run in background and the user is working on it in foreground, then it might data inconsistency. Hence, synchronization has to run in foreground and not possible to run it in background. Once everyting is updated, user can resume his work.
In order to sync without actually pressing sync button, use the class SyncManager and call the method synchronizeWithBackend(). This will start the sync process but prevent user from working for the same duration.
Regards,
Rahul
If this helps, pls assign me some points.
Hi Kishor,
Do you mean you want to sync using code in the application deployed on the Mobile device and not using the sync button? If it is so, then you can use SyncManager(in Sync API) to do it.
If you that you want to sync from the MI server with a background process then it is not possible. Sync is entirely responsibility of the MI client device.
Pls tell me what exactly you want to do and I can help you better.
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.