0

I created a mobile/tablet application in flex, using flex mobile application in Flex4 using SDK4.1. In application, there is some data which i copy from application directory to app-storage directory. It is copied successfully and working fine. Now i want to know where i can find the location of app-storage directory of that application. When i trace app-storage directory path, it is showing "data/data/air.applicationname/local store/", so where it is: - in SD card - in phone memory

Please give me an idea to find out the application storage physical location. Any web link or code sample would be appreciated.

Vivek
  • 663
  • 2
  • 13
  • 40

2 Answers2

3

it's in the internal phone storage

folder

"/data/app/air.applicationname/local store"

data/app is the default folder of non system / manually installed application on android

air.applicationname is the name of your application local store is a folder created by flex to store the datas...

You can't see/use this folder manually or using a file explorer without rooting your device... the only way to access this folder without rooting is through the application itself...

hope this helps...

Marcx
  • 6,806
  • 5
  • 46
  • 69
  • Thanks Marcx for response. One question i have, If i move data to SD Card, then can it possible to access directory? Or where it will be on SD Card? – Vivek Apr 27 '12 at 05:53
  • 1
    yes you can! you can save wherever you want in the SD Card :) – Marcx Apr 30 '12 at 12:56
  • Hi Marcx, sorry for delaying response. Please give me a favor, can you please share a link or a code sample to write application data in SD card in flex mobile application for android. – Vivek May 03 '12 at 09:35
  • 1
    instead of using `File.applicationStorageDirectory` use `File.desktopDirectory` (desktopDirectory on android is always the SD Card) – Marcx May 03 '12 at 09:43
  • Hi Marcx, i try to use File.desktopDirectory but it is not pointing to SD card, it is pointing to tablet memory. Please update, how can i access SD card data in my application. – Vivek May 29 '12 at 09:57
1

I have been debugging my app on an Android device and my db file's parent nativePath is on:

/data/data/air.com.package.of.project/com.package.of.project/Local Store/
vvns
  • 3,548
  • 3
  • 41
  • 57