Deleting Mobile Data On Phone

Discussions regarding developing applications using Servoy Mobile (new in Servoy 7)

Deleting Mobile Data On Phone

Postby anil » Sat Oct 12, 2013 12:26 am

Hi Guys,


I have 2 mobile phones and I have downloaded the sample solution to both of them.

They were both working fine but now one of them refuses to sync.

I have removed the app from the phone and reloaded the apk from phonegap and downloaded back to the phone but it just sits there and does not sync.

I would like to delete ALL of the local data on the phone as I think this is what is causing the problem.

Could somebody please let me know how I delete the local phone data so that I can start again.


Thanks
anil
 
Posts: 22
Joined: Tue Jul 17, 2012 11:42 am

Re: Deleting Mobile Data On Phone

Postby anil » Sat Oct 12, 2013 1:12 am

Hi,


Have sorted this thanks by using :

plugins.mobile.clearLocalData();
plugins.mobile.syncData();

This has cleared the local data from the phone and is now behaving itself.
anil
 
Posts: 22
Joined: Tue Jul 17, 2012 11:42 am


Return to Servoy Mobile

Who is online

Users browsing this forum: No registered users and 3 guests

cron