Accessing downloaded content in../Library/Caches with LoaderMax

Hi,
I am trying to port an air for android app to iOS and my main problem has to do with downloaded content.
I have a number of assets ( images and mp3's) that i download and place in the ../Library/Caches folder accordingto the apple guidelines.
My Code relies heavily on Greensock LoaderMax to load the assets into the application.
This works very well on android but i cant get LoaderMax fo find the files on iOS.
i get the following error when debugging on OSX:
i add a number of files with:
                              var queue:LoaderMax = new LoaderMax({name:"soundQueue", onComplete:loopSoundsCompleteHandler, onError:errorHandler});
                                                  fileName =  "Library/Caches/" + fileName;
                                        queue.append( new MP3Loader(fileName, {name:"name1", repeat:-1, autoPlay:false}) );
and then i load the  queue with
queue.load();
and i reveice the following error:
Error on MP3Loader 'bpallah' (Library/Caches/resources/snd/bpall.mp3): Error #2032: Stream Error. URL: app:/Library/Caches/resources/snd/bpall.mp3
Does anyone have a clue how to do this?
regards,
/Lars

With AIR 3.6 latest prerelease, A new static property, File.cacheDirectory has been added, which points to the <APPLICATION_HOME>/Library/Caches directory on iOS devices, and files in this directory are not backed up. So, the above workaround is not required.
Another property, preventBackup is introduced in the File API, which when set prevents a file or a folder from getting backed up on the iCloud. This property works on iOS 5.1 devices and later.
You can find additional details on this feature here<http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-6_flashplayer11-6_release notes.pdf>

Similar Messages

  • CANNOT ACCESS DOWNLOAD FOR READER EVEN WITH CHANGED PASSWORD

    CANNOT ACCESS DOWNLOAD FOR ADOBE READER EVEN WITH A CHANGED PASSWORD AND I HAVE BEEN ON CHAT

    There are several possibilities as to why a user account may
    not be correctly available or a password to it reset to fix it.
    One of them may be, if the short name of the computer or of
    an account was changed by the user; and later the system
    may appear different or changed, with some of the user acct
    settings or preferences no longer as they were prior to that.
    There is a way to create a new admin level user account and
    then move the older user info into the new account; then go
    in and delete the other one. I am not certain as to how to do
    this; but the topic has come up in these discussions, and the
    general path is about the same from Panther through Leopard.
    A few details may be named different, but similar as things go.
    • Mac OS X: *How to change user short name* or home directory name:
    http://support.apple.com/kb/ht1428
    • How do I change owner's name in my Mac:
    http://www.askdavetaylor.com/howto_change_owners_name_applemac.html
    While these kinds of details may not be behind the exact problem in
    the computer in question, directory and user account issues do often
    have similar causes. Often, they are user-caused events. If the general
    Directory of information on the hard disk drive has a problem, the use
    of a third-party disk tool such as Disk Warrior is usually advised. If that
    were needed, usually more evidence across the system would appear.
    There may be a way to use a Setup Assistant to recreate a new user
    experience and start over with a new admin account and user name.
    Then go into the system to ferret out the old user info.
    +Sorry I can't be of more help; as I am being distracted by an elderly+
    +person who can't figure out why I am online or what it means to be.+
    Good luck & happy computing!

  • High library cache load lock waits in AWR

    Hi All,
    Today i faced a significant performance problem related to shared pool. I made some observations, thought it would be a nice idea to share them with Oracle experts. Please feel free to add your observations/recommendations and correct me where i am wrong.
    Here are the excerpts from AWR report created for the problem timing. Database server is on 10.2.0.3 and running with 2*16 configuration. DB cache size is 4,000M and shared pool size is of 3008M.
    Snap Id Snap Time Sessions Cursors/Session
    Begin Snap: 9994 29-Jun-09 10:00:07 672 66.3
    End Snap: 10001 29-Jun-09 17:00:49 651 64.4
    Elapsed:   420.70 (mins)    
    DB Time:   4,045.34 (mins)   -- Very poor response time visible from difference between DB time and elapsed time.
    Load Profile
    Per Second Per Transaction
    Redo size: 248,954.70 23,511.82
    Logical reads: 116,107.04 10,965.40
    Block changes: 1,357.13 128.17
    Physical reads: 125.49 11.85
    Physical writes: 51.49 4.86
    User calls: 224.69 21.22
    Parses: 235.22 22.21
    Hard parses: 4.83 0.46
    Sorts: 102.94 9.72
    Logons: 1.12 0.11
    Executes: 821.11 77.55
    Transactions: 10.59   -- User calls and Parse count are almost same, means most of the calls are for parse. Most of the parses are soft. Per transaction 22 parses are very high figure.
    -- Not much disk I/O activity. Most of the reads are being satisfy from memory.
    Instance Efficiency
    Buffer Nowait %: 100.00 Redo NoWait %: 100.00
    Buffer Hit %: 99.92 In-memory Sort %: 100.00
    Library Hit %: 98.92 Soft Parse %: 97.95
    Execute to Parse %: 71.35 Latch Hit %: 99.98
    Parse CPU to Parse Elapsd %: 16.82 % Non-Parse CPU: 91.41 -- Low execute to parse ratio denotes CPU is significantly busy in parsing. Soft Parse% showing, most of the parse are soft parses. It means we should concentrate on soft parsing activity.
    -- Parse CPU to Parse Elapsed % is quite low, means some bottleneck is there related to parsing. It could be a side-effect of huge parsing pressure. Like CPU cycles are not available.
    Shared Pool Statistics
    Begin End
    Memory Usage %: 81.01 81.92
    % SQL with executions>1: 88.51 86.93
    % Memory for SQL w/exec>1: 86.16 86.76 -- Shared Pool memory seems ok (in 80% range)
    -- 88% of the SQLs are repeating ones. It's a good sign.
    Top 5 Timed Events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    library cache load lock 24,243 64,286 2,652 26.5 Concurrency
    db file sequential read 1,580,769 42,267 27 17.4 User I/O
    CPU time   33,039   13.6  
    latch: library cache 53,013 29,194 551 12.0 Concurrency
    db file scattered read 151,669 13,550 89 5.6 User I/O Problem-1: Contention on Library cache: May be due to under-sized shared pool, incorrect parameters, poor application design, But since we already observed that most of the parses are soft parses and shared pool usgae in 80%, seems problem related to holding cursors. open_cursors/session_cached_cursors are red flags.
    Problem-2: User I/O, may be due to poor SQLs, I/O sub-system, or poor physical design (wrong indexes are being used as DB file seq reads)
    Wait Class
    Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
    Concurrency 170,577 44.58 109,020 639 0.64
    User I/O 2,001,978 0.00 59,662 30 7.49
    System I/O 564,771 0.00 8,069 14 2.11
    Application 145,106 1.25 6,352 44 0.54
    Commit 176,671 0.37 4,528 26 0.66
    Other 27,557 6.31 2,532 92 0.10
    Network 6,862,704 0.00 696 0 25.68
    Configuration 3,858 3.71 141 37 0.01
    Wait Events
    Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
    library cache load lock 24,243 83.95 64,286 2652 0.09
    db file sequential read 1,580,769 0.00 42,267 27 5.91
    latch: library cache 53,013 0.00 29,194 551 0.20
    db file scattered read 151,669 0.00 13,550 89 0.57
    latch: shared pool 25,403 0.00 12,969 511 0.10
    log file sync 176,671 0.37 4,528 26 0.66
    enq: TM - contention 1,455 90.93 3,975 2732 0.01 Instance Activity Stats
    opened cursors cumulative 5,290,760 209.60 19.80
    parse count (failures) 6,181 0.24 0.02
    parse count (hard) 121,841 4.83 0.46
    parse count (total) 5,937,336 235.22 22.21
    parse time cpu 283,787 11.24 1.06
    parse time elapsed 1,687,096 66.84 6.31 Latch Activity
    library cache 85,042,375 0.15 0.43 29194 304,831 7.16
    library cache load lock 257,089 0.00 1.20 0 69,065 0.00
    library cache lock 41,467,300 0.02 0.07 6 2,714 0.07
    library cache lock allocation 730,422 0.00 0.44 0 0  
    library cache pin 28,453,986 0.01 0.16 8 167 0.00
    library cache pin allocation 509,000 0.00 0.38 0 0 Init.ora parameters
    cursor_sharing= EXACT
    open_cursors= 3000
    session_cached_cursors= 0
    -- open_cursors value is too high. I have checked that maximum usage by a single session is 12%.
    -- session_cached_cursors are 0 causing soft parsing. 500/600 is good number to start with.
    cursor_sharing exact may cause hard parses. But here, hard parsing is comparatively small, we can ignore this.
    From v$librarycache
    NAMESPACE             GETS    GETHITS GETHITRATIO       PINS PINHITRATIO    RELOADS INVALIDATIONS
    SQL AREA            162827      25127  .154317159  748901435  .999153087     107941         81886-- high invalidation count due to DDL like activities.
    -- high reloads due to small library cache.
    -- hit ratio too small.
    -- Need to pin frequently executed objects into library cache.
    P.S. Same question asked on Oracle_L, but due to formatting reasons, pasing duplicate contents here.
    Regards,
    Neeraj Bhatia
    Edited by: Neeraj.Bhatia2 on Jul 13, 2009 6:51 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks Charles. I really appreciate your efforts to diagnose the issue.
    I agree with you performance issue is caused by soft parsing, which can be solved by holding cursors (session_cached_cursors). It may be due to oversized shared pool, which is causing delay in searching child cursors.
    My second thought is, there is large number of reloads, which can be due to under-sized shared pool, if invalidation activities are not going (CBO statistics collection, DDL etc), cursors are being flushed frequently.
    CPU utilization is continuously high (above 90%). Pasting additional information from same AWR report.
    Namespace                Get Requests       Pct Miss        Pin Requests         Pct Miss      Reloads        Invalidations
    BODY                       225,345               0.76            4,965,541            0.15           5,533           0
    CLUSTER                   1,278                  1.41            2,542                  1.73           26                0
    INDEX                       5,982                  9.31            13,922                7.35           258               0
    SQL AREA                  141,465              54.10           27,831,235         1.21           69,863          19,085 Latch Miss Sources
    Latch Name             Where                                         NoWait Misses                 Sleeps             Waiter Sleeps
    library cache lock       kgllkdl: child: no lock handle             0                                   8,250                   5,792 Time Model Statistics
    Statistic Name                                                                           Time (s)                               % of DB Time
    sql execute elapsed time                                                           206,979.31                                      85.27
    PL/SQL execution elapsed time                                                    94,651.78                                      39.00
    DB CPU                                                                                     33,039.29                                      13.61
    parse time elapsed                                                                      22,635.47                                       9.33
    inbound PL/SQL rpc elapsed time                                                  14,763.48                                       6.08
    hard parse elapsed time                                                               14,136.77                                       5.82
    connection management call elapsed time                                        1,625.07                                       0.67
    PL/SQL compilation elapsed time                                                        760.76                                       0.31
    repeated bind elapsed time                                                               664.81                                       0.27
    hard parse (sharing criteria) elapsed time                                             500.11                                       0.21
    Java execution elapsed time                                                              252.95                                       0.10
    failed parse elapsed time                                                                   167.23                                       0.07
    hard parse (bind mismatch) elapsed time                                             124.11                                       0.05
    sequence load elapsed time                                                                23.34                                        0.01
    DB time                                                                                   242,720.12  
    background elapsed time                                                             11,645.52  
    background cpu time                                                                      247.25 According to this DB CPU is 65% utilization (DB CPU + Background CPU / Total Available CPU seconds). While at the same time DB host was 95% utilized (confirmed from DBA_HIST_SYSMETRIC_SUMMARY).
    Operating System Statistics
    Statistic                                         Total
    BUSY_TIME                             3,586,030
    IDLE_TIME                              1,545,064
    IOWAIT_TIME                              22,237
    NICE_TIME                                           0
    SYS_TIME                                  197,661
    USER_TIME                              3,319,452
    LOAD                                                 11
    RSRC_MGR_CPU_WAIT_TIME                  0
    PHYSICAL_MEMORY_BYTES          867,180
    NUM_CPUS                                           2

  • Accessing Documentum Content thru KM in portal

    Hi,
        I am trying to connect to Documentum content thru KM in portal. I am looking for a better approach to do the same.
    http://www.emc.com/products/detail/software/content-services-sap-portal-iviews.htm.
    http://www.emc.com/products/detail/software/file-share-services.htm
    As per the above two  links i understand that documentum content can be accessed by Portal iViews. But not sure from where i can find those iViews? and also not sure whether it can be accessed with Windows file share service?
    Could anybody suggest me which approcah is better ? Either thru portal iViews or thru KM repositories?
    1.    Could anybody guide me what SAP Portal iViews can be used to access Documentum Content?
    2. With either the File system repository manager or WEBDAV Repository manager can we access the the documents directly from the Document file share of Documentum?
    for example.. The Documents are in this path
    Document file share\Repositories\.
    Please guide me on this...
    Point will be rewarded for the rightful answers.
    Regards
    Sireesha.

    Hi,
    I agree that it is worth to try a file system repository on this Documentum File Share.
    However I have some concerns about the performance of this kind of integration.
    I would expect that the Documentum File Share is allready a software tier wrapping the
    core documentum api.
    In addition a file system repository has some disadvantages if you are planning to change the repository content both in KM and in the origin (documentum) system.
    If you do that, the KM file system repository has to synchronize itself again and again.
    The repository (and sometimes the whole portal) may slow down dramatically.
    So give it a try but consider to either buy the documentum repository manager or write your own.
    See the following link to a nice code sample:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcc4b3c7-0701-0010-55ab-86e3ec0ce275
    Cheers
    Frank

  • A lot of  'library cache lock'

    Hi there,
    My database has a lot of contention in 'library cache lock', more than 90% of all events.
    I'm trying to find the query that is waiting for this event, but the sql_id in v$session not exist in v$sql.
    SQL> select sql_id, count(*)
    2 from gv$session
    3 where EVENT ='library cache lock'
    4 group by sql_id;
    SQL_ID COUNT(*)
    4gd6b1r53yt88 49
    47
    SQL> select *
    2 from gv$sql
    3 where sql_id = '4gd6b1r53yt88';
    no rows selected
    The oracle version is 10.2.0.3 RAC.
    Can somebody help me?
    Thanks,
    Everson

    Hi rjaf
    Following this post, I got the table SYS.KOTTD$.
    I think this is some kind of Oracle internal problem, but I don't know what.

  • I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back-up app.

    I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back up app.
    Have used Superduper app. to back up and checked back-up occasionally to see if all files present  and appeared OK.
    I had previously started machine using original CD #1 to try and replace Eudora which was acting up. Did not knowingly touch Safari.
    Running iMAC System 10.4.11
    How can I successfully download from the Maxtor back-up?
    Ivan

    Further info.
    I checked the content of my other back-up and found the bookmark Bookmarks.plist in the library under Safari
    Dumped the existing copy in the computer and drag-dropped the back up. All bookmarks restored.
    Solved the Stickies problem by using Spotlight  to find file "stickiesdatabase" and did a drag- drop to replace file. All data restored.
    Re Ical data loss. Used Spotlight to find iCal document in  Library - Preferences where I found com.apple.iCal.plist in folder.
    Got ready to make change but did not immediately remove file. When I returned to Preferences folder to grab above document,
    the readable descriptors had been changed to code consisting of some upper case letters and/or single symbols!
    So now I cannot tell which is the symbol  iCal.plist
    Thanks for leading me so far, but how do I find that plist for my calendar?

  • This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."

    This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."
    What did I do wrong?  I have been downloading all my photos into this same library since Janurary with no problems.

    What version of Mac OS X?
    Click the black Apple icon on the top left of the screen and select About This Mac. The next screen will show the information.

  • Concurrent sessions accessing parsed sql from the library cache

    Hi there,
    I am having five concurrent session firing exactly same SQL statement inside a stored procedure.
    Stored Procedure
    PROC1(a int)
    begin
    select <C1>,<C2> into <V1>,<V2> from <T1>, <T2> where <JOIN between both table> and T1.<C3>=a;
    end;
    All those five sessions are calling the procedure PROC1 which subsequently executes the sql statement.
    Execution time of sql statement is 2 seconds.
    I ma wondering whether all other sessions will wait for the currently executing session to release the latch on parsed sql(getting stored in the library cache)? (In this case last session will wait for 8 seconds) Or would they execute in parallel with their own copy of parsed sql?
    Please help!!!
    TIA,
    Nishant

    Would it be like that the first session will hard parse the SQL statement and all other concurrent sessions will have a "softer" soft parse and take a copy of query plan and execute the statement without waiting for each otherYes, I think this is the way it works according to official Oracle documentation
    (and why there is a shared pool).:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/sqlplsql.htm#i2196
    But I don't know if you can find detailed documentation about all latching steps for hard parse and soft part steps.

  • My laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    my laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    See this user tip for recovering the media from the iPhone: https://discussions.apple.com/docs/DOC-3991

  • How can I access deleted photos from my iPhoto Library Cache?

    My Macbook Pro broke about a year ago and I recently took the hard drive out to access the files. I have a hard drive enclosure to USB to my Acer (Windows) Laptop. I was looking through all the folders when I came across this: D:\Users\Lizee\Library\Caches\Desktop\iPhoto Albums
    In this folder is a list of different albums I have had over the years and in the albums there are photo files, but I cannot view them! This gives me hope that maybe there is a way to salvage and get back some of the photos I once deleted! Please let me know if you know ANY way I can get any of these photos back... I will do anything!

    I don't believe there is any way to do what you want. These are not your photos.
    Regards
    TD

  • I am unable to access my digital editions library on a new computer with my existing account, it shows that my library is empty?

    I am unable to access my digital editions library on a new computer with my existing account, it shows that my library is empty? Can anyone offer a suggestion to fix this?

    If you have given correct info about you ios 6.1.3 - all you need to do is delete account. You will be able to sign in with new one afterwards. Make sure you don't delete any info when you see those prompts.

  • TS1702 i downloaded the GV app to my iphone but i'm trying to set up the app and it says it can't connect to google when i try to sign in to my google account.... any ideas what's wrong? i can access my gmail account just fine with my gmail app on the sam

    i downloaded the GV app to my iphone but i'm trying to set up the app and it says it can't connect to google when i try to sign in to my google account.... any ideas what's wrong? i can access my gmail account just fine with my gmail app on the same phone

    What's a GV app?

  • I recreived an IPOd classic from a friend.  When I try to download my Itunes Library it says I don't have access priviledges.  How can I fix this?

    I received an IPOD classic from a friend.  When I try to download my Itunes library it says I do not have access privileges.  Help, how can I fix this?

    Here is an old post which might help you.
    https://discussions.apple.com/message/9644723#9644723

  • My pc died with (stupidly) no external backup, save iTunes Match. Will I be able to download my itunes library to a new Mac?

    Hello! I am new here! Here is my question: my pc just died with my iTunes music library. Foolishly, I had no physical external backup, but am a subscriber to iTunes Match. I plan to purchase a MacBook Air ASAP. Will I be able to download my music to my new MacBook from the Cloud? From there, I plan to copy all to an external hard drive (like I should have done in the first place!). Any info will be most appreciated! Thanks.

    Yes. As long as all your songs you lost have been Matched or Uploaded to iTunes Match you can download your entire library from the cloud.
    It might take some time though

  • I have a MacBook Air and recently downloaded the new operating system. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it?

    I have a MacBook Air and recently downloaded the new operating system, 10.10 OSX Yosemite. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it to the I Photo slideshow?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

Maybe you are looking for

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..?? and also in which table i could find delivery for sales order.. need help..?? Moderator message: please search. Edited by: Thomas Zloch on Feb 23, 2012

  • ITunes not running on Windows XP

    I've downloaded the latest version of iTunes. It worked the first few times I ran it, but then all of a sudden it refused to open when I clicked it. I get a message saying "iTunes has encountered a problem and needs to close. We are sorry for the inc

  • Low power mode

    I went hiking this past weekend and wanted to only take my iphone instead of the usual GPS, camera, and cell phone. Unfortunately, my battery will only last about 24 hours (or less if at extreme edge of cell range). I used a GPS mapping application t

  • Opening a file in a browser

    Hi, My requirement is to open a file on a browser from NWDS. The file url shown on the browser should not be beginning with http. It should show the absolute filepath. (On selecting a file from C: drive, the file should open in a browser showing its

  • JMS Wrappers

    I'm using WL9.1 and would like to enable WebLogic JMS wrappers for my EJB. I followed the steps in e-docs, which included adding of the followings:           1) In ejb-jar.xml, I added:           <resource-ref>           <res-ref-name>MyFactory</res-