Welcome!

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

Native Development

Reply
Contributor
Posts: 13
Registered: ‎08-09-2011
My Device: Blackberry Curve 9300

Native app with offline support

Hi,

 

Am in the process of a developing an Native application with offline support. I need to develop an Application which should stored the data in offline whenever device goes online it should automatically sync data to the server.

 

Kindly help me how can i go about it.

 

Thanks for you help in advance.

 

Regards

Praveen Kumar P

Highlighted
Developer
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Native app with offline support

Depending on your data, you shoud implement storing it offline in DB (if data is not binary, example not picture or audio file, etc) or in app folder if you are storing images, videos or similar.

Native SDK don't have DB support so you should use Cascades or QT on native which do have DB support.

You can check network status on your device to check if connection to server is possible or not, if it is, implement some synchronizing mechanism between server and your app.