Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 6
Registered: ‎02-11-2009
My Device: Not Specified

Enabling/Disabling OTASync

[ Edited ]

I need to enable/disable programactly all OTA sync (Calendar, Messages and Address Book). Calling net.rim.device.api.synchronization.SyncManager.getInstance().enableOTASync(true/false) only Address Book wireless synchronization change your state to on/off.


Are there another way to enable/disable calendar wireless synchronization and email/messages wireless reconcile programactly?


Marcio Guedes

Navita Tecnologia

Message Edited by mpguedes on 02-11-2009 06:53 PM
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Enabling/Disabling OTASync

These APIs allow an application to enable to disable OTA synchronization for its own data (that supports backup and restore).  An application can support backup and restore using Desktop Manager only (over USB, no OTA) or both Desktop Manager and OTA using a BlackBerry Enterprise Server.


There are no methods to programmatically enable OTA synchronization for other applications.  Nor is there any method to programmatically enable OTA email reconciliation.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker