on 02-15-2007 6:24 PM
I'm developing a project in SAP Mobile with tree applications, i would like to bring data only from application 1 i.e only the DELTA from syncBo of application 1 would be performed and other applications be ignored.
obs:: the syncronization have been done into applications through SyncManager.synchronizeWithBackend().
regards.
Eduardo.
Hi,
you could suppress the download request and send for the SyncBos of the other apps:
Via
you get an instance of
and then
where you can suppress the actions accordingly:
May try it out!
Rgds Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi eduardo,
there's no API for synchronizing only a specific application of a user. as what had
been suggested, suppressing the download request and upload delta is possible
thru the APIs. however this is only if you own the application. you can't suppress
other applications like MAM if they are installed for that user. now, even though
it's possible thru the APIs, you need to have a global settings for your applications
to lookup if it should be synchronizing or not once the sync button is pressed; also
the timing when your applications have to do these.
so if you have app1, app2 and app3, you can either implement a MessageReplyObserver
or SyncBoOutDeltaObserver that will get the notification when the sync is initiated
by the user. these observers are the ones responsible for the suppression of outbound
messages. when they're notified, your observers have to look up somewhere
(could be a manager or just a configuration file) if it should suppress the messages
or not. which application is suppressed or allowed to sync depends on your design.
hope this help.
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 |
---|---|
84 | |
10 | |
10 | |
10 | |
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.