Take the 2-minute tour ×

I'm making an application (web based) using flex and i have a requirment to access the SQLite database on the local system. There is no server running and i've decided to give them the link to the html file and see how that works out.

So in the root directory, there will be all required swf, html files, etc and a .db file. Can i access that database thro the flex web application ?

Please help.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

No. Flex can access an SQLite database via the Air SDK, but you are out of luck when running from the browser sandbox/SDK.

share|improve this answer
is there a workaround ? –  Shrayas Nov 16 '10 at 18:35
add comment

If you don't like to use AIR SDK, You can do that by Java applet. You can make a collection of needed JavaScript functions on the web page to be called by Flex and their will call a Java applets functions to deal with SQLite instead of using HTTP services.

share|improve this answer
add comment

Your Answer


