Questions about File.applicationStorageDirectory on Android

Hi all

If I use the following code in my application...

var file:File = File.applicationStorageDirectory;

file = file.resolvePath("foo");

var path: String = file.nativePath;


... and my application ID is "my.app.id", I get the following value in my variable 'path ':

/ Data/Data/air. My.app.ID.Debug/My.app.ID.Debug/local store/foo

Shortly after I get an ioError when trying to access this file.

Here are my questions:

1. is this really my directory path of storage app (in debug mode, of course)? I am wary of the repetition of "air.my.app.id.debug". Is this a bug?

2 is it possible that I can watch my files on Android? Since in my AIR application? Creating an instance of the file, and then call its method of travel doesn't seem to work, it works but when I run the same application on my Windows laptop...  I would like to see for myself if such a directory exists.

3. I have an Android app named "AndExplorer" that allows me to watch my Android file system. I look after I run my AIR application (and also, I think that, while I have always in progress and suspended at a breakpoint), and I'm not find this file. I find 'data' folder on my SD card, but it is empty. Anyone can shed light on what is happening here?

Thanks in advance,

Douglas

Hi Douglas,.

Here are answers to your questions:

>> 1. This path is really my directory of storage app (in debug mode, of course)? I am wary of the repetition of "air.my.app.id.debug". Is this a bug?

This is the correct path and id app only repeats, so nothing wrong here.

>> 2.  Is it possible that I can watch my files on Android? Since in my AIR application? Creating an instance of the file, and then call its method of travel doesn't seem to work, it works but when I run the same application on my Windows laptop...  I would like to see for myself if such a directory exists.

You will not be able to access the files in the applicationStorage directory by using browse (as /data/ directory is only accessible on rooted phones). However you can access files in this directory using the file/FileStream API, to read/write/change its content.

>> 3. I have an Android app named "AndExplorer" that allows me to watch my Android file system. I look after I run my AIR application (and also, I think that, while I have always in progress and suspended at a breakpoint), and I'm not find this file. I find 'data' folder on my SD card, but it is empty. Anyone can shed light on what is happening here?

The data on your SD card folder is different from the other (part of the applicationStorageDirectory path) /data/ folder.

Go back to your original problem, to which exact statement you get an IOError (check stack of stack memory in debug version).

Happens in the creation of the file, opening the file, or in the read/write stream using file stream?

Concerning

Syed

Tags: Adobe AIR

Similar Questions

  • Question about file names and organization

    Background

    I connected my camera to my iMac and downloaded my photos directly into iPhoto without ever thinking about it. I just thought it was the way to do it.  Now that I began to rethink the organization / structure of how I want to drop my photos I find myself with what to do on all my previous photos.

    Question

    I am wanting to rename all the photos of my real FILE NAME to a certain format that I read recently on the subject, and I wonder about how this topic with all the previous pictures I imported into iPhoto.

    Is my only option to EXPORT all of the photos to a certain spot on my hard drive, rename them and then re - import in the iPhoto library, or possibly create a whole new library?

    I understand that the change of name to a photo in iPhoto does nothing for the name of the file on the computer so I'm looking for all of the options that I might have.

    iPhoto v9.5.1

    iMac 27 end 2009

    OS X 10.9.5

    3.06 GHz Intel Core Duo

    16 GB 1067 MHz DDR3

    Is my only option to EXPORT all of the photos to a certain spot on my hard drive, rename them and then re - import in the iPhoto library, or possibly create a whole new library?

    Yes. It's your only option to change the file names.  But here's the thing: If the photo is in iPhoto, then the file name is not just serious. Not at all. Never.

    So it would be totally useless.

    Replace the title by any means, and then if you move ever leaving iPhoto you can export using the title as the file name.

    I don't know what naming scheme you will think, but be sure that it involves no character ' / '. Avoid colon.

  • Question about phone and / or Android 1.5

    I have a question or a statement that needs confirmation. If someone could be good enough to help out I'd appreciate it.

    I am a heavy Texter and text on a daily basis, probably an average of about 250 + texts per day. Also, I noticed and I took County, after about 4 hours of texting the android keyboard and also the swype keyboard, affecting the time key to key response starts to slow down and get slow and ultimitely is unbearable to the text with. Even with the home screen and sliding screens from left to right, and as I said it doesn't happen only after some hours of use of the phone. So, I have to restart the phone and repeat for it keep to become lazy and unbearable to text with. I usually reset every morning or when I wake up. This is nothing compared to my sisters Mytouch, which is in fact older than my phone, it can affect his day at the time and not get done with the delayed touch response. I also noticed that his phone is running Android 1.6.

    Now my concern is, if I'm the only one knows this or is it due to a defective phone. What is the Android obsolete 1.5 that many people are talking about who is performing on the phone in this way.

    Basically, it's because of 3 things.

    1. history - more history, more than it takes to load. (If you wipe all messages and try again, you'll see what I mean)

    2 android 1.5 - don't know what the reason, but even on 1.6 devices SMS language delay is AVERAGE less.

    3 Swype - if you have enabled, it tends trolling more than the default android.

    It is not your phone, it's all phones Cliq/Cliq XT... 1.5 hate text messaging.

    In addition, your phone will work more effectively without a task manager. They are nice to have if you need something CF or to extend the life of the battery (no), it actually takes your phone like some processes that would otherwise, and you also have the risk of frost on the phone all together because some group programs are essential and cause the home screen all recharged after their closure. I would like to refer to this site in order to better explain.

    http://tiny.cc/00s5a

  • Question about file names

    I'm new to the Web design; I recently took a job of designing a Web site, and he went up with success. I'm rethinking the entire site, even if, as we were on a time crunch and we have time to come back and do everything the right way now. An odd question that I run upward against, however, is that when the site opens, on the tab of the browser that is supposed to say the name of the Web site, it displays the name of my file instead. Is there a way to fix this in Dreamweaver?

    Well, you will see a small text field in the bar code - Split - Design. In this text box put in the name you want to appear.

    You can also switch to Code view and locate an HTML tag called title and put the name in there

    Name of the Web site here

    I recommend that you learn some HTML and CSS if you are serious about web design. Another thing you must be sure to send a message.

    You can start learning HTML here: http://www.w3schools.com/html/default.asp

    Really lets Dreamweaver, you can see what you're doing but learning that language is very important too.

  • Question about files FLAC

    I have a MP3 and FLAC files I intend to copy on an SD card. I have NOT yet bought a Sansa Fuze. Before I do so, I have 2 questions: the "rocket" will play two files transparently, or should it be passed from one mode to the other (to play different types of files)? In addition, if the songs are numbered and in a particular order, it will play them in that order?

    Bryan

    A warning and information no one has mentioned (with the exception of the gwk1967 with respect to navigation in folders)...

    Yes, the rocket is going play files FLAC and you can sort and play by the folder... but both of these features have been added through firmware updates. You won't be able to do this with an out-of-the-box rocket. First, you will need to update the firmware.

  • questions about files #attributes.ini

    (1) influence the subdirectories?

    (2) I know that the folder of spool in % systemsystem % has the value DirectoryIsolationMode = merged. What happens if I change to WriteCopy, that will affect my impression?

    Thank you

    rice4lunch

    (1) influence the subdirectories?

    If a file does not contain a #attributes #, it will inherit all settings of file ##attribute of the parent folder.

    (2) I know that the folder of spool in % systemsystem % has the value DirectoryIsolationMode = merged. What happens if I change to WriteCopy, that will affect my impression?

    as noted above, this = bad karma

    See you soon,.

    EvilOne

    NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.

  • Question about file drpmon.dll

    I did turn adware since last week and keep the same files every night. I tried to search my computer for files without result. They are:

    HKEY_LOCAL_MACHINE

    HKEY_CURRENT_USER

    drpmon.dll

    Does anyone know how Delete causes these files so that they do not take reapearing on my pc and especially stop popping up all the time!

    Gaumet

    Hello David

    I can just tell you that this file drpmon.dll is part of aurora spyware. The removal procedure is not so simply.

    In the future I recommend to use some Anti-Spyware software like:
    Microsoft Windows AntiSpyware http://www.microsoft.com/downloads/details.aspx?FamilyID=321cd7a2-6a57-4c57-a8bd-dbf62eda9671&displaylang=en or
    AdAware http://www.download.com/Ad-Aware-SE-Personal-Edition/3000-8022_4-10045910.html

    Good luck!

  • Tecra M9 - 12 c: Question about files secured to aid the reader to fingerprint reader

    I have a Tecra M9 - 12 c XP Pro machine with the utility of fingerprinting. It would be a great feature, but I need to know something first. If I remove the laptop HARD drive to access files corrupted OS snack, I can access all the files that are secured with fingerprint reader?

    Thanks in advance

    Usually, you should be able to access the files from the software to print digital is just another method to access the data, and then typing a password.

    How and where do you store them as files? Do you use the trunk to store your important files?

    Would like to hear from you, since I had no problem copying of files to attach the drive to another computer mounted in an external enclosure...

    Welcome them

  • question about file sharing users

    Hello

    in the properties of each folder on the tab in the group or user names box, there is a user named SYSTEM name is that?
    and why we cannot change the permissions for this?
    Thank you

    In the properties of each folder on the tab in the group or user names box, there is a user named SYSTEM name is that?

     
    Why we cannot change the permissions for this?

    The SYSTEM is just what it sounds like: the SYSTEM itself needs access to files and folders to make things like backups, etc..

    The system account is used by the operating system and services running under Windows. There are many services and processes within Windows that need the ability to log internally (for example during a Windows installation). The system account has been designed for that purpose; It is an internal account, does not appear in the User Manager, could not be added to all groups and may not have the user rights assigned. However, the system account is displayed on an NTFS volume in file manager in the part of the permissions from the Security menu. By default, the system account is granted full control over all the files on an NTFS volume. Here, the system account has the same functional privileges as the administrator account.

    NOTE: Granting permissions to file for the Administrators group or the other account does not implicitly give permission to the system account. Permissions of the system account can be removed from a file, but it is not recommended.

    He was always around (Windows NT, Windows 2000, Windows XP, Windows Vista, Windows 7...) - are only notice you in Windows 8?
     
    When it comes to change permissions - you can not?

  • Question about file Project Muse

    Hello.

    When a backup of my project site (on the format of the Muse), all the archives, photos, etc. go inside the project folder, as PSD? Or not, as the first? And I can save the Project Muse on Windows and open on a Mac?

    Hello b_evangelisti,

    If you create and save a file of muse in the Windows machine then you can certainly move this file to a MAC computer and open it without losing any linked document.

    Only thing that will happen is that you will receive a prompt on the opening of the file related to certain assets is missing. This will have no impact on the display of the site, but you can get rid of it by restoring the links files in the active panel.

    Kind regards

    Vivek

  • I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I go back in just the Quicken file and restore it until I downloaded the update do I have to restore the entire

    I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I come back in all the Quicken file and restore from time Machine before I downloaded the update to do, I need to restore the entire computer?

    Yes, you can just restore this file or application. Use Time Machine to back up or restore your Mac - Apple Support

  • Question about image slideshow (like file mac preview)

    Hello! Ι have a question about Adobe Edge.is it is possible to create a slide show preview of mac file? I mean smthg like this https://www.YouTube.com/watch?v=Q727LqDIZKM

    Hi, TasisGrafix2-

    Animate edge does not support the css3d in native mode, but you can use a third party such as edgehero.js library to do this work.

    http://www.edgehero.com/edgeherojs.html

    Good luck!

    -Elaine

  • Questions about the update of the related .ai files

    I have two questions about related images.

    (1) sometimes when I make changes to an .ai file, the InDesign document will automatically update the image as soon as I save changes in Illustrator. In other words, I do not need to update the link in the Panel links ID.  Other times, however, the link will not update, and I have to click the yellow triangle next to the image in the links Panel to see the changes. Is there a reason why this is happening and is there an easier way to update images as the links Panel. In Quark, I could simply double-click on the image, and a dialog box asking if I wanted to update the image. This isn't a big problem for me, but I thought I'd ask.

    (2) every time I make a change to a file .ai, the image linked in InDesign always re-scales, and I can't understand why he's doing or how to stop it. For example, I placed a bar graph in Illustrator in a fitted frame and sound + x and + values there. He settled on a scale 100% and I will not change that. Then, I had to make a change to a text label on the chart, making the slightly smaller chart. When I updated the link in InDesign, it has been resized to 118.12%. I had to get into the x field + sign in the command bar and type 100% to get back to the level it was before.  Is there a default setting that I have to uncheck to disable this feature? If not, is there by chance a simple combination of keys that will allow me to re - scale the image quickly?

    Thank you in advance for your help!

    1. looks that you sometimes select art or thename of the link and choose "Edit original" and sometimes you just need to open art and make changes. If you say that the ID to change original it updates to the Save.

    2. There are two options, depending on version, for the behavior of repeat and scale. In CS5 (and CS4 if I remember correctly), you have the choice between them in the preferences in previous versions, it is one or the other, depending on the version. One option is to preserve the dimensions, which is wha'ts that happens to you. The other is to keep scale. Exactly how to preserve the dimensions behaves depends on it, too much on the cropping options you have used when you place the .ai file. If you cropped to aret or encompassing, for example, change the size of the art or to remove a point wandering affect art or the bounding box, but of culture media would not change.

  • A question about the restoration of cold backup (backup of control file is not clear)

    Hello

    I had another question about restoring from backup to cold. My database is in noarchivelog mode and after that take a consistent backup of cold, all I have to do is restore the backup right? -Why I got this question is because: when I save my control to trace file, I see statements like this: -.
    -Orders to recreate the table of the incarnation
    -Under journal names MUST be replaced by names of existing files
    -disc. The log files from each branch can be used for
    -re - create the folders of the incarnation.
    -LOGFILE of REGISTRY ALTER DATABASE ' / uo1/app1/arch1_1_647102958.dbf';
    -Recovery is required if any of the data files are restored backups.
    - or if the last shutdown was not normal or immediate.
    RECOVER THE DATABASE
    -Database can now be opened normally.
    ALTER DATABASE OPEN;
    -----
    My database is in noarchivelog mode now so don't know why these statements (of the registry the logfile) is there in the backup of the control file? so when I restore the cold backup of this database, it will still work OK? (there is no log file I only have the CRD files in cold don't backup - no log file archive.)

    Thank you
    Cedric

    It is a generic message in trace control file. It's not affect you.

  • Very simple questions about DPS

    I have a few questions about the tools and DPS.


    1. What is the difference between Folio and DPS Article?

    I think that the two format have a fixed layout. I don't understand difference and the merit of the Article of DPS.

    I want to know why the Folio was disappear and replace by Article of DPS.


    2. I want to know that all publish root of DPS. (ex.) App Store for iOS, Google android game and..)

    I know that I can make the app, iOS, Android, and windows for each stores with DPS.

    If I want to publish to the Kindle store, iBooks store, store kiosk to newspapers or on the Web site, I don't need using DPS?

    3 if I want to book recomposable (like reactive Web site), I shouldn't use InDesign?

    Is there a process for making recomposable document with InDesign?

    can I use text editor, DW or muse? (such as the manufacture of the normal site)

    I want to know the standard method book recomposable.


    Sorry for my bad English.

    1. I know you probably talk format but essentially, a DPS classic folio is now a collection, the items in the collections are always content

    2 - iOS, Android and Windows platforms that you can publish on are

    -We do not support the Kindle store

    -For book content type, you want to use the ePub format, please see the following links:

    http://wwwimages.Adobe.com/content/dam/Adobe/en/DevNet/digitalpublishingsuite/PDFs/DPS_and _ePub_FAQ.pdf

    https://helpx.Adobe.com/InDesign/how-to/eBook-fixed-layout.html

    3 - InDesign has the ability to create recomposable ePub

    See this tutorial: https://helpx.adobe.com/indesign/how-to/ebook-fixed-layout.html (with exercise files)

    Hope that helps!

Maybe you are looking for