03-11-2013 01:44 PM
I want to package my app and include an xml file and I want it to be installed to the document directory. It is basically the level.xml and I plan to include more levels. So in order to be consistent, I want them all to be in one path.
How do I package an XML file with FDT so its installed there?
03-11-2013 02:35 PM
I don't know where these files are stored but I would package it with the command line to make sure the file is included. After installation I would run a routine which copies the file to the location.
blackberry-airpackager -package Project_name.bar Project_Name-app.xml Project_Name.swf [ANE files].ane [icon_file] [other_project_files]
03-14-2013 07:31 AM
I guess you want to add the file to document directory so that it is not over-written as Application storage directory, when you install a new version of your app.
You can package the file with the app and once the app is executed(only for the first time), you can probably copy the file to users directory.