on 10-06-2005 9:19 AM
Hi,
we are developping an application for forklifts where many bins need to be scanned. The goods movements are saved in SAP R/3 using generic sync.
The Application is very slow when synchronisation is called at any goods movement (SyncManager.getInstance().synchronizeWithBackend();).
What we need is a way to only create the outbound container at goods movement time and the synchronization should be done automatically (i.e. no user interaction) about once per 10 minutes without interrupting the main application.
There should be a log to check if synchronization was successful.
Any ideas?
Thanks for help,
Matthias
Message was edited by: Matthias Kaempf
Do you have to use Generic sync. Smart Sync would make this functionality possible much easier.
-wael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Matthias,
If you're using MI2.5, you can make use of the
background sync. Try adding the following entries
into your MobileEngine.config file.
(TimeInterval is in ms)
MobileEngine.Sync.TimedSyncActive=true
MobileEngine.Sync.TimedSyncTimeInterval=30000
You still need to register your SyncEventListener
if you're not using the SmartSync feature.
And take care of concurrent access...
This will however synchronize ALL the applications
GenericSync and SmartSync in the client. Now, if you
want to ONLY synchronize your application, then you
have create an new Thread to prepare your container
and invoke the synchronizeWithBackend method.
Regards
Jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.