04-16-2012 10:18 AM
I just got started with developping apps for the playbook, and now that my first app is finished. Everything is working fine when I was launching it from flex builder, after that I sent it to get approved by app world but when I download it from app world it seems like it can't create a file a used as my sqlite db is there something differente I need to do when getting the app on app world? or is it in the build release process that I'm doing something wrong? or do I need a user permission to us sqlite on the playbook?
this is the app http://appworld.blackberry.com/webstore/content/re
thanks
Solved! Go to Solution.
04-16-2012 11:12 AM
04-16-2012 10:16 PM
i don't think thats the problem, because i added so it asks for the permission to store files and still with that it does not work when i download it from the app store but when I launch it on my playbook from flex builder it works.
here is how its setup for the db, is there anything wrong that makes it not work from the app world?
protected var folder:File = File.applicationDirectory;
protected var dbPath:File = folder.resolvePath("mydatabase.db");
sqlConn.open(dbPath);
sqlStatement.sqlConnection = sqlConn;
sqlStatement.text = "CREATE TABLE IF NOT EXISTS Results(P_Id int PRIMARY KEY,BaseMultiple int,ResultPerc int)";
sqlStatement.execute();
04-17-2012 07:49 AM
04-17-2012 09:47 AM
I found something about that http://www.placona.co.uk/665/flex/sqlite-databases
so I changed like in this article waiting for the new version to get approved to test it from the app world.
Thanks