[flexcoders] How do I include a file in the AIR app-storage directory at install time?

2008-12-14 Thread Jim Boone
Hi,

I am new to AIR and I am writing an application that needs access to a
new SQLite database when the user first launches the application.  I
have considered two options. I could create an empty SQlite database
and include it in the app-storage directory when the application
installed or I could include an SQL schema file in app-storage and
create the database when the user launches the app. Either way, I want
to be able to include an file the the application directory at install
time. I have researched how to do this with no luck. Does anyone know
how I can accomplish this?  Thanks!

Jim



Re: [flexcoders] How do I include a file in the AIR app-storage directory at install time?

2008-12-14 Thread Johannes Nel
include it in the application directory as part of the instal and copy it
over if it does not exist.

On Mon, Dec 15, 2008 at 5:22 AM, Jim Boone j...@jim-boone.com wrote:

   Hi,

 I am new to AIR and I am writing an application that needs access to a
 new SQLite database when the user first launches the application. I
 have considered two options. I could create an empty SQlite database
 and include it in the app-storage directory when the application
 installed or I could include an SQL schema file in app-storage and
 create the database when the user launches the app. Either way, I want
 to be able to include an file the the application directory at install
 time. I have researched how to do this with no luck. Does anyone know
 how I can accomplish this? Thanks!

 Jim

  




-- 
j:pn
\\no comment