04-22-2009 01:31 AM
I am trying to listen for a batchOperation() and perform an action when it occurs. As far as I can tell, a batchOperation() occurs when you sync the handset with the DM.
However, right now when I sync, it looks like my batchOperation() method never gets called (I store a message in Runtime as a check).
Also, I have confirmed that my listener does extend PimListListener2 (gotta cover the bases), and that the listener gets called on itemUpdated(), so it appears that it is registered correctly.
Any thoughts on what's going on? Or am I misunderstanding something here? Have spent the past 18 hours on this problem, it's possible I'm just missing something obvious.
I am running an 8310 on v.18.104.22.168 on the AT&T network.
p.s. My goal is to update my application data after a user syncs the handset with the DM. If PimListListener2 isn't the answer, would love to be pointed in the right direction...
Solved! Go to Solution.
04-22-2009 10:13 AM
04-22-2009 10:40 AM
Looks like batchOperation() is called if I create a new contact on my desktop and sync via the DM, but it is *not* called if I just modify the contact on the desktop and sync.
Can you confirm this?
If this is true, how can we listen for contact changes via DM sync? BTW, itemUpdated() doesn't seem to be called either.
04-27-2009 01:29 PM
Would love any help here! Not sure if this is a BlackBerry bug or if we are looking at this incorrectly (probably the latter, but would be nice to make sure..).
05-11-2009 09:15 AM