Xcode: loading HTML5 questions from local storage

Version: Captivate 6
Output type: HTML5 loaded as local files within an Xcode iOS project.
Not sure at this point if the problem is with Xcode or the Captivate files.
The requirement is to load 'offline' local Captivate quizzes within an iOS application. The HTML5 output from Captivate loads absolutely fine when stored on a web server and viewed through the browser (Safari) on the iPhone. The puzzling bit is when I load the files into an Xcode project and view them through a UIWebView locally the Captivate content does load properly, although it does load a grey placeholder style box in a HTML page - the content does not initiate. See screen grab.
I am conscious the Captivate HTML5 output contains a lot of javascript files and have made sure these are included in the Copy Bundle Resources rather than the Compile Sources.
I made a simple local HTML page and the content in this renders absolutely fine in application, using the UIWebView also to view the content on a webserver within the app works fine.
Any suggestions?

I'd suggest using Safari and set the UserAgent to be an iphone and see if there is anything in the error console. That might give you a clue.
Fergal

Similar Messages

  • How could I to load my applet from local

    hI all,
    How can i to load my applet from local file system.
    Thanks

    Put it anywhere you want. Put the associated HTML file in the same directory as your .class file and double click on the HTML file. Your browser should open up and display your Applet.

  • Retrieve variable value from local Storage and display on canvas

    Hi
    I'm working on a project that has multiple html files (the projects are split into 12 so 12 different edge projects and im linking them via window.open()). I have a variable that keeps track of correct answers stored in LocalStorage html object. I have managed to get the localStorage variable to increment up by one each time the object is correct however my last step is to get the variable and them display the result on the canvas. I have tried
    var outPut localStorage.getItem(' ') method to retrieve the variable then used the set and get method to display the result however it doesn't work. Im not sure if I need a for loop to go though the localStorage and get the elements
    Code:
    // insert code to be run when the composition is fully loaded here
    yepnope({nope:['jquery-ui-1.10.0.custom.min.js','jquery.ui.touch-punch.min.js'],complete: init}); // load the jquery files
    sym.setVariable("myScore", 0);
    var c = localStorage["myCount"] || 0; //loading from localStorage
    function init(){
    sym.getSymbol("barLimit").$('scrubber').draggable({start: function(e){
    },drag: function(e,ui){ // start: ...  // Find original position of dragged image
    var leftLimitScrubber  = sym.getSymbol('barLimit').$('scrubber').position().left; // position of the scrubber
    var rightLimitScrubber  = sym.getSymbol('barLimit').$('leftLimit').position().left;
    var LimitTwoLeft  = sym.getSymbol('barLimit').$('rightLimit').position().left;
    if(leftLimitScrubber == rightLimitScrubber){
      sym.getSymbol('correctBar1').play('in'); //
      sym.getSymbol('nextButton').play('in');
      sym.getSymbol('incorrectBar1').play('out'); //
      sym.getSymbol('thumbsDown1').play('out'); //
      sym.getSymbol('thumbsUp1').play('in'); //
      sym.getSymbol('congrats').play('in'); //
    localStorage["myCount"] = parseInt(c)+1; //Converting string to number, and then saving it
    console.log("numberOfCorrectAnswers", localStorage["myCount"]);
    var finalScore = sym.getVariable("myScore");
    finalScore = c;
    sym.setVariable("myScore", finalScore);
    sym.$("Score").html(finalScore);
    } else if(leftLimitScrubber == LimitTwoLeft){
    sym.getSymbol('incorrectBar1').play('in');
    sym.getSymbol('correctBar1').play('out');
    sym.getSymbol('thumbsUp1').play('out');
    sym.getSymbol('thumbsDown1').play('in');
    axis: "x",
    containment: "parent"
           //for (var i = 0; i < localStorage.length; i++){ // iterate throught the local storage
             //var getItem = localStorage.getItem(localStorage.key(i));
              //if(getItem == 'numberOfCorrectAnswers' ){
    The above is the code for the 12th project in  this projects it needs to display the variable inside the object localStorage and display on the canvas.
    Any help will mean a lot. Thank You in advance
    P.S edge animate has a lot of bugs hard to code in

    what you need to do is to create a text box and set a default value of zero. Once that is don't you need a code on the stage which grabs the value form the localStorage object. I used the .text() jquery method to display the value on the canvas. So the zero will be replaced with whatever the value of the localStorage is.
    You also need a if statement to check if the localStorage is undefined, if its not then grab the value and display on the canvas.
    e.g
    var number = localStorage['finalValue']; // for the sake of completeness I had to put this line of code
    if( number ! = undefined){ // if not undefined so the object exits then ...
         sym.$(' (text identifier) '). text(number); // note text identifier is the name of the text box you create in edge
    } // Done

  • IPhone would not let me delete individual song from library, tried deleting album to remove music from local storage, now certain songs from album do not show in iTunes match on iPhone only on computer

    Upon completion of matching and uploading my very large library of music (+15,000), I wanted to see how iTunes Match worked on my iPhone. I started it and selected the first album in the list to listen to. I let it play the entire album and then decided that I wanted to remove certain songs off of the iPhone's local storage. Tried to delete the individual songs and it would not let me. So I figured that I would go back and just delete the album. After selecting delete I went back to listen to one of the songs on the album and realized that it deleted several of the songs from the iTunes Match completely. When pulling iTunes up on my computer the songs are still there but does not give me the option to upload to iTunes Match.
    I have tried turning off Match on iPhone and back on (doesn't seem to do anything cause when turned off the iPhone still displays the music.)
    Then tried power cycling. (Still shows the music)
    Then I tried power cycling again and resyncing the phone and the iPhone still shows the music as it was on the phone.
    How do I get the music to be accessable on the iPhone again.. I have been messing with this for the course of 3 hours now.. and any help would be appreciated!!
    iPhone 3GS 8GB

    Actually Michael I know exactly how to delete.. The iPhone would not let me swipe to the left to delete the individual song, so I went to the album view and did it there.. The issue I am having is a bug because it removed 3/4 of the albums availablity off my iPhone.. You post proved no help because it is basic troubleshooting which, if you read my post, I have already done.. I did however figure out how to fix my issue on my own.. Basically I had to remove the album from my iTunes on my computer and upload it again to iTunes Match..

  • How to load an image from local disk?

    Hi!
    I have spent hours on the net searching for an example, that
    could
    show me how could I make a flex script that user could browse
    (like fileReference.browse() ) for a
    file (picture) and then show this picture in the browser (so
    the source of some existing picture would change).
    I found only multiple solutions on how to upload a picture,
    but
    that is not the thing I wanna do. I want a user to load a
    picture from
    his disk and simply to be seen in a browser (on a page).
    I tried programming it alone, but the FileReference class has
    no attribute path or similar, that I could use for source of my
    image.
    Please help, I need to do this urgently.
    Thank you very very much
    Gus

    OK, I tried without FileReference, simply by changing String
    variable of the source path when calling image.load(path), but it
    works ONLY FOR REMOTE pictures (online), I also tried with
    [Bindable]
    [Embed(source="C:/somePicture.jpg")]
    public var _img0:Class;
    , but it appears that you CANNOT CHANGE THE PATH DOURING
    EXECUTION (dinamically)
    So please, someone?
    Is it even possible to do that?
    I could try uploading picture and then downloading, but why
    would I need a server side if I don't need it...
    Help

  • Issues when loading Flash Player from Local Domain

    I have a webcam streaming to Flash Media Server via the Media
    Encoder. I have published the .swf file with the flash player and
    rtmp://99.999.999.999:1935/live/livestream address to my website on
    a hosted webserver.
    When I am on another internet source, the player on my
    webpage loads and works fine. However when I load the webpage in a
    browser on the same network that has the Media Server and Webcam on
    it, the browser freezes up.
    I need some help with a solution that will cause the rtmp://
    address to switch to a local host address. Any suggestions.

    It would be more accurate if I said the Explorer browser is
    freezing or at least reducing speed to a incredibily slow crawl.
    The flash player I am using is embedded in my website (which
    is on a hosted web service, different from the computer running
    Flash Media Server.) I have tried pulling up the web page with the
    flash player on several different computers. When they are loading
    that page while using the same network as flash media server, they
    won't load.
    It is not certain computers I am trying to get to react
    differently. It is the webpage that is part of our restaurants
    website. We have several customers that try to pull up the webcam
    while they are setting in front of it.

  • Store and retreive image/bitmapdata to/from local storage in iOS-app

    I'm trying to store and retreive cam-captured bitmapdata to the local app-space, but after a whole day of searching and trying I can't find any working example.
    It's no problem capturing cam-bitmapdata, but how to store (and retreive).
    Thanks!

    If its just a problem of saving the bitmapdata, follow along:
    http://actionsnippet.com/?p=1093
    Use http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml#applicationStorageDirectory to resolve to the correct location.

  • How to load an image from local filesystem, and paint it to a frame

    Please offer an AWT solution

    Image getImage
        String path
        Image image = Toolkit.createImage(path);
        loadImage(image);
        return image;
    void loadImage
        MediaTracker mt = new MediaTracker(image_observer);
        mt.addImage(image, 0);
        try
            mt.waitForID(0);
        catch interrupted exception
    class extends Panel
        Image image
        public void paint(
            g.drawImage(image,
        public void update(
            paint(g);
        public Dimension getPreferedSize
            return size of image

  • Flatfile loading from Local Workstation

    Hello,
    I am training BW, and i have this Proccess Chain simulating some data, acquired from a Infopackage that pulls data from a Flatfile.
    In the first execution i couldn't pull the data because it said
    "An upload from the client workstation in the background is not possible"
    I came here and basicly read that this is impossible to do. Nevertheless i got a bit further and discovered this option on the Tabs Menu of the Proccess Chain
    "Execution -> Execute Synchronously" and the PC starts running in the background and my Flatfile infopackage get the data and i am able to populate the Target with that data!
    My question is, what is this Execute Synchronously proccess doing and what, if some, effects or problems it may arise?
    Thanks
    Edited by: John Oliveira on Feb 11, 2009 1:54 PM

    Hi
    Synchronous Processing
    A request is processed synchronously in a dialog process -- for example  when it is started in debug mode from DTP maintenance. The debugger settings allow you to enable automatic synchronization after each control method. In debugging mode, the system then executes a flush call after each control call. If a runtime error occurs, the call is displayed that caused the error.
    You cannot Load Flat file from Local Work station untill and unless it is assigned at AL11 and you have proper Authorizations for the same.
    Hope it helps and clear

  • I have learned a lot more about battery issues lately. One question of importance: Does playing a streaming mp3 off the web eat more battery, or less, than playing that same mp3 on local storage on the Touch?

    What consumes battery juice more, playing an mp3 streaming off the web, or playing it from local storage on the iPod Touch. (Or on iPhones, or on iPads).
    I have learned much recently on battery issues, and get better battery life now. This is an important question in that regard, I figure.

    That makes sense to me. Though we like to stream many things that we do not own locally, this encourages me to store a lot of m3 material we do own, on our devices. Thanks!

  • Moving Photos from iCloud Photo Library to Local Storage

    Scenario - I've a fully migrated library of photos/videos using iCloud Photo Library on iPhone and Mac.  It's near the limit of the iCloud storage plan I purchased and want to retain.  I'd like to move older and less frequently used content from iCloud Photo Library to more permanent archival storage.
    [This is for two reasons.  First, I prefer to use the Full Resolution setting on mobile devices, and that will be impossible as the entire library grows beyond the storage capacity of even the largest mobile devices.  Second, I don't feel the need to pay for super-sized iCloud storage for content rarely needed and only needed on a Mac.]
    The only option I've identified in Photos to do this is to Export (and delete from iCloud), which exports the original photos, but does not preserve useful Photos metadata and organization, such as Albums.
    What one would might like to see is a way to designate selection portions of the Library for local storage only (including backup within the Photos app library package), so those photos can be manipulated within Photos alongside iCloud content, but don't consume iCloud or mobile device space.  Or, in the alternative, one would like to see a way to Export content to merge into a separate Photos library package, preserving the metadata/organization.  In that way, one could maintain one Photos library as current iCloud synced content, and one or more local-only Photos library packages with archival content (with, importantly, the Export function to move content between the two preserving metadata).
    Does anyone know if there's a way to do this?  If not, Apple, would you consider coming up with a way to address this need?

    {quote:title=Nissin101 wrote @ 3:36pm EMT:}{quote}
    Well I was able to move photos from the camera roll to the photo library by sending *the pictures via email to my dad's blackberry, then saving them to my computer from his phone, then putting them back on into the photo library*.
    This is what I said originally.
    {quote:title=Nissin101 wrote @ 4:08pm EMT:}{quote}
    Alright I guess that answers my question then. However, just as I said I was able to transfer photos from my camera roll to my photo library, so at least that is possible.
    I never said that I did it directly, neither did I mean to imply that I was looking for a direct solution. This I guess is where our misunderstanding comes from. I just did not feel like repeating the whole process I went through. Regardless, I would rather this thread not derail into who said what and whose misunderstanding who. I now know that it is not possible to get pictures from the photo library to the camera roll in any way, so my question is answered for now at least.

  • Adobe Flash Player Settings Local Storage popup from Mafia Wars on Facebook.

    I play Mafia Wars on Facebook. I use Mac OS 10.6.5, Flash Player 10.1, and Firefox 3.6.8. Some time ago I received a popup from Zynga entitled Adobe Flash Player Settings,  Local Storage asking permission to store info on my harddrive and giving me the option to allow or deny the request. However the popup is stuck; that popup will not go away.
    I have contacted Zynga, followed their instructions, and have uninstalled and reinstalled Flash Player. all with no success. When I play this game on other computers, including PCs, that popup is not there which leads me to the conclusion that the file is on my Mac hard drive somewhere and has nothing to do with the game itself. Please tell me how to find this file so that I may delete it. It spoils my enjoyment of the game because it limits what I can do in the game.
    Thanks loads.
    Lawanda (Randall)

    Hi, I would go to the Global Settings site here:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.htm l
    I would click on the website that gave you the popup and delete that website. Perhaps this will clear it since it is stuck.
    When you visit that website again, it will problably ask to store info. Be sure to read about the Website Storage Settings Panel and how it works with the Global Storage Settings Panel.
    Thanks,
    eidnolb
    P.S. If Flash Player is working, there is no need to Uninstall and Install it again. The games and Facebook will try to always tell you something is wrong with Flash Player. Clearly it was working until their pop up stuck, right?

  • Match question--Why do I still need local storage?

    I signed up for Match so I would no longer have to worry about onsite storage for my 18,000 song library. But after five days of loading, when I disconnect onsite storage, I can't access my library. What am I doing wrong here?

    When I try to delete a song in my iTunes library that has already been uploaded via Match to the cloud, I get a dialog box asking if you are sure want to delete it.   Under that, there is a little check box that says "Also delete this song from iCloud?".  When I tried it worked (for me) exactly how I'd expect.  I was able to re-download the song as long as I left the check box unchecked.  So, if this is true, you could *theoretically* get rid of what's stored on your disk.  But keeping your library in only one place, be it a hard drive or the cloud, is never a really bad idea.  And since Match is a new, buggy, unproven service, it's a huge risk. 
    Plus, once a song is downloaded, it takes up space and you'll just need to get rid of it again.
    And if you have anything besides music in your iTunes library, it won't be backed up to the cloud, so you'll still need the disk storage for that. 
    "Stream" was the wrong word to use, but I can understand why they chose it.
    BTW, the second time iTunes Match looks through your library is significantly quicker.  My 14,423 songs take about 5 minutes and run in the background. 
    Hope that helps answer some of your questions.
    -- Stephanie

  • How can I use wget, cron and Automator to periodically pull a dynamic image from a URL to local storage, and then update a Keynote slide with that image, automatically?

    How can I use wget, cron and Automator to periodically pull an image from a URL (which is dynamically updated - like a weather map, say - to local storage, and then update a Keynote slide with that image, automatically?

    Any particular reason for those specific technologies?  wget does not exist on a mac, although you can nstall it I guess.  OS X has curl installed which should do pretty much anything you want to do with wget.  cron is being replaced by launchd, although cron still exists on mountain lion.
    As far as I can tell from automator all the standard 'actions' to access keynote  available to it require keynote to be open and running, but does not provide a function to actually open it.  So I think you will have to write some applescript, as a minimum to open and quit keynote. I notice that the keynote actions are mostly circa 2005 an wonder if they would even work.
    Under utilities in automator 'actions' there is a capability to add applescripts as part of the workflow.
    Also, note that cron is being dprecated by Apple and replaced by launchd.  that said cron is stil on my mountain lion instalation.
    This entry at stackoverflow shows use of cron with curl to get web urls.  http://stackoverflow.com/questions/1683620/getting-started-with-cronjobs-on-a-ma c
    If I have any time I may try and get this to work as it is quite interesting and new to me.  But otherwise, good luck.

  • I'm try to buy a movie from iTunes with my I pad 3 and it tells me there is not enough local storage and when I go to my local storage there is a lot on free storage I also restarted my ipad but still the same prob what do I do?

    I'm try to buy a movie from iTunes with my I pad 3 and it tells me there is not enough local storage and when I go to my local storage there is a lot on free storage I also restarted my ipad but still the same prob what do I do?

    5GB is typically not enough space to download a movie.  Often, movies take from 3 - 5 GB to begin with.  The only option you have is to delete more things from your iPad.  You can remove unused Apps, pictures, music, text message (messages with pictures can take up a lot of space), email messages, books, magazines etc.

Maybe you are looking for

  • Error while opening a standard form in apps11i

    while opening a po form POXPOEPO thru form builder, error is showing that some objects are unable to load. how to rectify that can someone help it out

  • Can I get battery percentage on my iPod touch 5?

    I want to know the percentage of my battery can I get that? If I can, how? iPod touch 5 32gb

  • How can I add a symbol on top of text in Iweb?

    Hi there, How can I add a symbol on top of a text box in iweb.  When I add it, the symbol moves to the left or right of the text instead of right on top of it. Any suggestions would be appreciated.

  • Oracle 11g OEM job issue

    Hi all, After Oracle 11g migration, i have been facing issues in OEM scheduling. Twice the job did not run even after 11.2.0.7 upgrade. Hence i would like to explore the possibility of scheduling the same in DBMS jobs (we have not faced even a single

  • How to enable the prebooking tab in ESS

    Hi, In our environment, the prebooking tab is disabled in ESS. Please advise how to enable this tab. Where to do this configuration (e.g. in ESS or R/3) Regards, Tony