02-09-2012 03:18 PM
Does anyone know how to copy a database file from the app assetts to the documents folder on the device?
Neil
02-09-2012 03:44 PM
02-09-2012 03:46 PM
Here's the actual answer, by the way (had to collect links):
First learn the PlayBook's filesystem layout: http://supportforums.blackberry.com/t5/Tablet-OS-S
Then use the flash.filesystem.File class's copy() or copyTo() methods to do the actual transfer:
http://help.adobe.com/en_US/FlashPlatform/referenc
02-09-2012 04:48 PM
Hi Peter,
The app that I'm working on has to have the ability of merging the data with a desktop database. The easiest way to accomplish this is to have the database stored in the user document directory on the Playbook that can be accessed when the Playbook is plugged in via USB from the desktop app.
Neil
02-09-2012 04:59 PM
02-09-2012 05:24 PM