mercredi 4 mai 2016

Please i need code to Restore Sqlite database for cordova - android app

Please can anybody help me with the inverse of this code?

This code is for Backup. I need the one for Restore.

Asset2SD plugin

asset2sd.copyFile({
     asset_file: "www/images/photo.jpg",
     destination_file: "funnyPhotos/photo.jpg"
   },
   function() { alert('success'); }, 
   function() { alert('fail'); }
); 

Thank you for your time

Aucun commentaire:

Enregistrer un commentaire