Store data cached in app/Library/Caches, how to access this folder?

Hey all,.

I'm trying to comply with the new rules to keep content which is not essential to the still very desirable application to the cache in 5.0.1. The initial project was built using Flash IDE and FlashDevelop and files stored in the Documents folder. He was rejected from the app store for 2.23 not to put these files in the app/Library/Caches folder.

I checked to see if this file exists using a bunch of traces of File.applicationDirectory.resolvePath () and I can not find the existence of records. I see that/Library/Caches exist but I get errors writing to that so that may be it.

For example, here's a bunch of tracks using applicationDirectory and applicationStorageDirectory and their outputs:

File.applicationDirectory.resolvePath('/Library/Caches');

File.applicationDirectory.resolvePath ('. /.. /.. / Library/Caches ');

File.applicationDirectory.resolvePath ('. /... / Library/Caches ');

File.applicationDirectory.resolvePath('.. / Library/Caches');

File.applicationDirectory.resolvePath('Library/Caches');

File.applicationDirectory.resolvePath ('. /... / Library/Caches ');

----------------------------

File.applicationStorageDirectory.resolvePath('/Library/Caches');

File.applicationStorageDirectory.resolvePath ('. /.. /.. / Library/Caches ');

File.applicationStorageDirectory.resolvePath ('. /... / Library/Caches ');

File.applicationStorageDirectory.resolvePath('./Library/Caches');

File.applicationStorageDirectory.resolvePath('Library/Caches');

File.applicationStorageDirectory.resolvePath ('. /... / Library/Caches ');

outputs:

cache 1 exist: / Library/Caches

cache 2 exist: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app

cache 3 exist: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app

cache 4 exist: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app

There is no cache 5: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app/Library/Caches

cache 6 exist: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app

----------------------------

cache 1 exist: / Library/Caches

cache 2 is: var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/Library/Application Support/com.example.myApp/Local store

cache 3 exist: var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/Library/Application Support/com.example.myApp/Local store

There is no cache 4: var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/Library/Application Support/com.example.myApp/Local store/Library/Caches

There is no cache 5: var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/Library/Application Support/com.example.myApp/Local store/Library/Caches

cache 6 exist: var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/Library/Application Support/com.example.myApp/Local store

I expected "Library/Caches" to resolve... You can clearly see 'cache 5 does not exist: /var/mobile/Applications/F6DD6D3B-E01A-44B5-849C-349170008DDD/myApp.app/Library/Caches' traced here.

I even made Library\Caches records, he understood as a folder in my publication options. I still don't see the existence of directories. Now, it's weird. I also include a folder "data" and that is if I draw for her.

Some tips on how I can find this path "Library/Caches"?

The answer to access/library/Caches/looks like so:

var homePath:String = File.applicationDirectory.nativePath;

var cachesFolder:File = new queue (homePath + "/ \.\./Library/Caches");

If (cachesFolder.exists) {trace ("it exists!") ;}}

Tags: Adobe AIR

Similar Questions

  • Citing Picture Editor returns/dev/shmem path. How to access this path?

    Hi guys!

    I invoke the picture from Qt/C++ code editor.

    Everything is OK, but when I get the path of the image returned by the image card, this path is "/ dev/shmem/IMG_XXXX.jpg".

    How can I access this way? QFile told me that the path does not exist and it is impossible for me get the file

    I know that/dev/shmem is a RAM file system and I know is on tmp dir also, but the tmp dir is empty (tmp would be essential to be a link to/dev/shmem)

    .

    How to access this path?

    (In collaboration with SDK Lib 10.1.0.4633)

    Thank you

    Code:

    InvokeManager *iManagerInvokeRequest iRequest;
    QString sharedUrl = imageItem->getImageSharedUrl().toString();
    QString miURI;
    QVariantMap data = QVariantMap();
    miURI = QString("file://").append(sharedUrl);
    QString upScale= "false";
    data["upScale"] = upScale;
    bool ok;
    
    QByteArray encData = bb::PpsObject::encode(data, &ok);
    iRequest.setData(encData);
    
    iRequest.setAction("bb.action.EDIT");
    QString mimeT = QString("image/").append(miURI.section('.', -1));
    iRequest.setMimeType(mimeT);
    iRequest.setUri(miURI);
    iRequest.setTarget("sys.pictureeditor.cardeditor");
    InvokeTargetReply *reply = iManager->invoke(iRequest);
    connect(iManager, SIGNAL(childCardDone(const bb::system::CardDoneMessage &)),              this, SLOT(imageEditProcess(const bb::system::CardDoneMessage &)));
    
    SLOT :----------void QDPage::imageEditProcess(const bb::system::CardDoneMessage &m) {    qDebug() << "Card childCardDone:" << m.reason();    qDebug() << "ruta orig =" << m.data();  //// RETURNS "/dev/shmem/IMG_XXXXX.jpg"    if(QFile::exists(ruta)) qDebug("Exists !!!!!!!!!!!!!");    else qDebug("doesn't exists ?????????");  //////// DOESN'T EXISTS}
    
    
    

    I'm sorry. My bad. Only a stupid mistake.

    Everything is ok now

  • Cannot install prgrams error C: data - you have benn dennied permission to access this folder

    Original title: cannot install on C: data prgrams

    Hi when I try to install a program to C data, it fails and I can't access some folders on c data he says: "you have benn dennied permission to access this folder
    To access this folder, you must use the Security tab "
    I open it and try to get a total control but it tells me an error

    Hello

    1 have had any changes made on the computer before the show?

    2. What is the full and exact error message when you try to take full control?

    Method 1:

    See the article and check if that helps:

    Problems installing and uninstalling programs on Windows computers

    http://support.Microsoft.com/kb/2438651

    Method 2:

    See the article and check if that helps:

    Troubleshoot "access denied" when opening files or folders

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-access-denied-when-opening-files-or-folders

    See also:

    What to know before applying permissions to a file or folder

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-know-before-applying-permissions-to-a-file-or-folder

  • Data only are not accessible by the user system displays message Yo may not access this folder?

    Hello

    I'm working on active directory, I have my shared folder on the external drive on which my user profile is loaded and access by the same.

    But for some time it won't not give me access to employment on my user profile, if I move my user profile on internal external hard disk drive, I can't able to work, I don't know what happens and how to solve, I formatted the drive and still giving all the privileges of the user and the user can access.

    But every time it displays a message:

    "You are not allowed to access this folder, please contact your network administrator.

    Kindly solve my problem, I am waiting.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Missing originals after copying photos for a new mac external HARD disk library. How to fix this?

    Move the library of photos hosted on an external HARD during a new mac disc.

    I can open the app and import new pictures, but I can't change any of my previous photos because he complains that the original is not found. The "Use as system library" button is gray which implies that the current library of photos on the new mac is defined as the system library.

    I still have access to the external HARD drive that I imported a couple hundred new photos for the new mac.

    How can I fix?

    How did you set up your library.  You use a library "referenced"?

    If Yes, then you have lost the links with the original files.

    You have the iCloud library enabled in the preferences of the iCloud photo Panel?

  • How to access a folder found.000 which is locked

    My dear son opened the door to the cage of my drive hard while he was writing data and it was corrupted.  A ran chkdsk and it seems to have recovered everything, approx. 600 GB, but they are in a locked folder called "found.000".  Unfortunately I can't access it, I get "access denied" when you try.  How can I access the data?

    I had a similar problem, suddenly lost all my images files. Notably, I was very upset because there were a lot of valuable photos and videos. Of course, I had backups, but they were unfortunately not up-to-date.

    My situation:

    • Lost images
    • Tried Recuva to recover
    • Discovered that some of them were hidden in C:\found.001\dir0000.chk\Korea
    • Ran chkdsk, but showed no problems
    • Tried to open d:\found.001 but it would not appear in C:\ nor I could get him manually
    • Tried to manually open the dir0000.chk but could not
    • Change the permissions did me not access or folders appear in C:\
    • I have been able to go straight to C:\found.001\dir0000.chk\Korea, but these are only the files of that submap of my images

    Here's how I managed to recover the files

    • Command (run as administrator) to navigate the file prompt
    • Copied to an external USB by using the command line

    It's all there was to it. I hope that anyone who finds this post is able to recover some of their precious files in this way. Below you will find some of the command that I used in a command prompt

    • cd C:\ (you navigate to C :)
    • dir (Displays all files in the directory
    • copy C:\hello.txt F:\ (Copy hello.txt in F :)
    • xcopy/s/i F:\Folder1\ E:\ (Copy of F:\Folder1 and all of the subfolders and files in E :)

    Good luck!

  • How to access a folder shared by two computers while the computer is in offline mode?

    One computer is windows 7, while the other windows XP. Help, please!

    Hi David,

    Windows 7 Ultimate, Professional and Enterprise has the possibility to access the folders in offline mode. Windows XP Professional also has this option.

    For more information, see the following articles:

    Introduction to offline files

    Work with network files when you are offline

    How to use offline files in Windows XP

    If you use not mentioned previously mentioned editions of windows, then you will not be able to do the same thing.

    Make sure that the computer that hosts the folder isn't offiline.

  • How to access a folder protected password when you have the password?

    My mother just died on my XP Pro computer. I have 2 XP 'connections' on the machine. One of them was the password protected... mine. So I put the HARD drive into another XP Pro machine and tried to access my associated user file and it says "access denied"? He doesn't even want a password. Again, it was just an XP password. Anyone know how to enter my password to access my user folder?

    Thank you!!!

    Ryan

    See How to take ownership of a file or a folder in Windows XP .
    Owner, Boulder computer Maven
    Most Microsoft Valuable Professional

  • On some documents, I get an error message that ends with "...» create an association in the Set Associations control panel. "Why do I get this and how to access this control panel?

    Need help to access the Panel Associations value so I can open the docs have no association, according to the error message that I receive

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    You need a program on your system to open these documents (file types), and the program must be associated with the file type. Go to start / Default programs / associate a file or Protocol with a program and scroll down to the types of files of these documents.  Can the default program open this type of file or the file type is same?  If this isn't the case, you will need to install a software that can read and open possibly work with the types of files in question.  Exactly which types of files you can not read (what are their extensions - the three digit after the name of the file identifier). ?  If you do not see the extension, go to start / Control Panel / folder Options / View / and uncheck Hide extensions of known and then file types try to look at the files again.

    Please post back with results or if you have other issues (as may have answered your question).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to manage this folder security in UCM?

    Hello gurus,



    • There are about 1000 org units and each of them have access to a set of folders
    • The same folder is accessible by several org units - which mean a many to many relationship between org unit and a folder
    • There is no reason to group identified as such to create security groups and brings a few records to the title of a security group and try to use the same for different org units.

    I need activate the security of the University Complutense of Madrid so that anyone belonging to the org unit must inherit the access on the corresponding files. I can think of a solution in which we need to create 1000 (corresponding to each org unit) roles and create groups of security as the number of folders and map the roles to groups. This doesn't seem to be a viable option where this implies much too many roles and security groups that the system cannot yet support. Can you please provide some guidance.

    The caveat is in your mapping - the Testrole group membership gives a role Testrole UCM (RWDA dry group TestGroup), but also of the permissions to the Testaccount.

    (a) you must differentiate between the accounts and roles

    (Also recommended): use the naming convention better. For example, your role may be appointed as a Player (licensing of R on all dry groups), contributor (granting RW), etc.

    Your groups 'account', which can also be set in "weblogic" (I guess that the embedded LDAP WLS is meant here - in production, usually an external is used) via the symbol @account_name can correspond to your organization chart. Therefore, they can be appointed as your org units.

    (b) accounts are hierarchical

    Don't forget that auditors are hierarchical - this means if you give permissions above, access to all PrefixSuffixes is granted as well (e.g. access to access grants USA USA/FL, USA. / MYetc.). It is a good practice, then, to use an end character or sequence to prevent unwanted permissions (e.g. USA_BU, U.S.. / FL_BU, etc..)

  • How to access the folder (card) is in MS Server

    Hello

    This should be an easy question, but...

    I have upgraded to 4 APEX, and I need to copy my custom folder theme is the apex under /themes. My problem is that I can't access this folder.

    At the opening of http://127.0.0.1:8080 / i to IE using "Open as a web folder", it is not asking for system/password, in order to open the directory is read-only.

    I tried the card, but without success.

    Simple Advisor?

    Kind regards
    Tomas

    Hi Tomas

    Take a look at this...

    http://www.apex-blog.com/Oracle-Apex/accessing-i-using-FTP-170.html

    See you soon

    Ben

  • Cannot delete the VM files from the browser to store data

    Hello

    We have ESX 3.5 Update2

    I have deleted a VM disk by using Infrastructure Client 2.5, but cannot delete browser data store.

    What is wrong and how to fix this?

    Restart the agents on the ESX host management and try again

    service mgmt-vmware restart
    
  • Resurrection of application Switcher. How to disable this?

    Problem: after a recent update of El Capitan by clicking the middle mouse wheel (Logitech wireless Magic Mouse no) cause the launch of the App Switcher. How to disable this? Thank you in advance for the help

    Uninstall App Switcher.

  • How to access a conditional expression IF-step via API?

    If we have a flow control stage IF so we can access its conditional expression via:

    "" 'RunState.SequenceFile.Data.Seq ["MainSequence']." Hand ['IF']. ConditionExpr

    How to access this term if we do not know the type of step beforehand? I create a sort of auditor of static expressions. I have access to a step through

    RunState.InitialSelection.SelectedFile.Data.Seq [Locals.seqIndex]. GetStep (Locals.stepIndex, Locals.groupIndex)

    What if

    RunState.InitialSelection.SelectedFile.Data.Seq [Locals.seqIndex]. GetStep (Locals.stepIndex, Locals.groupIndex). StepType.Name == "NI_Flow_If".

    then I want to use the Engine.CheckExpression method to the conditional expression IF-step

    Hey maksya,

    Attached is a file of sequence with a flow control if statement that checks to see if the step is a 'NI_Flow_If' using:

    "" 'RunState.SequenceFile.Data.Seq ["MainSequence']." GetStep (0, StepGroup_Main). StepType.Name == "NI_Flow_If".

    If this is the case, it will then call check expression on the current ConditionExpr:

    RunState.Engine.CheckExpression (ThisContext, RunState.SequenceFile.Data.Seq ["MainSequence"]. GetStep(0,StepGroup_Main). ConditionExpr, 0, Locals.errorString, NULL, null)

    You will notice that this expression is not valid, and that's because "ConditionExpr" is not valid for all types of step.  However, because this step will not work UNLESS the stage is a NI_Flow_If, the expression will be valid at run time.

    Also is that I changed to using InitialSelection.SelectedFile to SequenceFile just to facilitate the testing of the installation.  However, it will be the same for your SelectedFile.

  • Instructions immediately talk about Firefox window, but does not say how to get this window.

    It took me almost an hour to get to this point. I am technologically challenged. I have an old version of Firefox. The instructions immediately embark on the 'Firefox window' but says nothing about how to access this window. Where this window? Maybe I should just download Opera?

    "Firefox" means Firefox, this is the window that appears when Firefox is opened.

    You must follow the directions to update to the latest version Firefox update to Firefox 33.0.2 (read to the bottom of the page to see the screenshots). This will take you to the most recent version of Firefox, and then we can help you with other problems you're having with Firefox.

    If you are a beginner in Firefox, try to start with Firefox – an overview of the main features of the reading

Maybe you are looking for

  • Could not open the file - "user lacks access privileges.

    I use Windows 7 and I recently reformatted my computer because it became too slow, etc. Now it is as new but I can't access one of my Word Document files because I had encrypted the file on my system before reformat and I think I might have played ar

  • Satellite A30 - CD-ROM does not work correctly

    My CD ROM is not working properly because the drivers corrupt. I tried uninstalling etc. How to load new drivers or even reformat from the recovery disk when the CD-ROM drive does not work? Looks like catch 22. Someone at - it help him?

  • match model text file

    Hello I'm using labview still new 12.0.im using labview. I want to extract a type of the same text file information by using the match pattern. but he could not give any im first result.at using string data directly from the output of the exec.vi sys

  • FSX reinstall.

    I can't reinstall FSX no matter what I do. Did all the usual stuff, nothing helps. What should do?

  • No computer

    I have an iPad 2 and that you just bought HP 5525 e printer all-in-one. I thought it was 'air print' capable. I don't have a computer. How to configure the printer to work with the iPad. Now I have to pass free Wi Fi for a unit to another on the iPad