I think the problem comes from your path.
When using documentsDirectory, Flex will find the testDb.db in default folder:
C:\Documents and Settings\userName\My Documents
(please read this article:
It will fail if no folder like this be found in your Samsung Galaxy
In my opinion, you should try with static link first: For example,
var file:File = new File(C:/YOURFOLDER/testDb.db);
Good luck Mark
--- On Wed, 3/28/12, markflex2007 markflex2...@yahoo.com wrote:
From: markflex2007 markflex2...@yahoo.com
Subject: [flexcoders] SQL lite database and Tablet problem
Date: Wednesday, March 28, 2012, 12:23 PM
I developed a Air mobile application with flex sdk 4.6.0. I test it in Flash
Builder 4.6 simulators in windows.it works fine.
but when I install the apk and test it in Samsung Galaxy Tab 10.1 , the sqllite
functions seems do not work
I save the sqllite database in the following path. I guess the tablet maybe do
not allow me to use path.
var file:File = File.documentsDirectory.resolvePath(testDb.db);
Please help me if you have idea for this.
Thanks a lot