Re: [flexcoders] SQL lite database and Tablet problem

2012-03-28 Thread Khanh Tran
Hi Mark,

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: 
http://livedocs.adobe.com/flex/3/html/help.html?content=Filesystem_03.html)
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

Yours sincerely,
Khanh Tran


--- On Wed, 3/28/12, markflex2007 markflex2...@yahoo.com wrote:

From: markflex2007 markflex2...@yahoo.com
Subject: [flexcoders] SQL lite database and Tablet problem
To: flexcoders@yahoogroups.com
Date: Wednesday, March 28, 2012, 12:23 PM
















 



  



  
  
  Hi friends



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



Mark






 









  










[flexcoders] Number Text input as Eclipse Nebula NumberFormatter widget

2008-05-16 Thread Khanh Tran
Hi all!

After two days google, I can't found any text input widget support input
number formatter use patter as ###,###,##0.00. I'm porting some Eclipse RCP
application to Flex. Please refer
http://www.eclipse.org/nebula/widgets/formattedtext/formattedtext.php

The main problems is textinput's carret when user input number.

Sorry, my english not well