Saving application state, iPad

Hi
I'm working on my first game for IiPad developed in Flash pro. CS6 (Air 3.7).
It seems like Air is handling when the game is moved to the background and I just use Event.DEACTIVATE and Event.ACTIVATE to pause timers and animations etc.
But when the App is closed by IOS (or by the user) the application state should saved so the user can continue when he reopens the app - or so I've read.
Or saw one example of this listening to Event.SUSPEND and saving the data in SharedObject.
Is it necessary to save every state of any bullet flying around or is it OK the just continue from the last level played ?
Would an app that doesn't save the application state get rejected from App store?
Any help appreciated
Thanks!
Rolf

Thanks Colin. It seems a bit over-kill to save the exact application state in the game i'm working on.
I think I'll just let the user start over if the application is closed. - I was afraid that Apple would reject the app.
Thanks again.
Rolf

Similar Messages

  • How to get to folder in /Library/Saved Application State/com.adobe.flashplayer.installmanager.savedState

    I have a file saved in a folder which according to a find ?/ -name "" search is located here /Library/Saved Application State/com.adobe.flashplayer.installmanager.saved
    But I can't browse through this folder structure in Finder (I have run command to allow me to see hidden folders if that is required).
    Please can someone help me to find out how to get to this file. It's an excel spreadsheet.
    Thank you

    When I try to save another excel file that I have also opened from a password protected zip file, the automatic folder selected is "wzQL.8t0UHS". When I try to save a file with exactly the same name as the file that is missing into the folder "wzQL.8t0UHS" it tells me that the file already exists and asks if I want to replace it.
    My assumption was therefore that it was some kind of cache where the file is intact.
    When I've done a search on the name of the file I am looking for in Finder, I do not find the file.

  • Applescript to delete caches and folders in Saved Application State

    I don't know if this can be done, but I'd like to write and Applescript to perform these functions:
    1) to delete caches from all 3 cache folders and the ~/Library/Saved Application State folder
    2) to run at  logout, shutdown or startup (any of those is fine)
    3) to run  with admin credentials already provided
    Can this be done?
    Thanks.

    You're not going to find anything useful in that folder. To clear an application's saved state, launch it while holding down the shift key. I very strongly advise you not to use the shell unless you're sure you know what you're doing.

  • Saving application state on application unload?

    Hi,
    I want to save my application's state in the shared local
    object when it gets unloaded (ie, when the user goes to another web
    page or when the user closes the browser. Is there a on unload
    event for the _root flash movie? How do I do this? Thanks.

    No there isn't. You need to solve this from
    javaScript.

  • Can you recommend an app to run excel documents off line and let the files be saved to the ipad not over a network connection

    Can anyone recommend and app for ipad mini to run excel documents offline and let the files be saved ot the ipad hard drive. I am frequently out of network range and need to be able to run the sheets.

    All of the "Office" document editing applications on the iPad have limitations.  Best try them out to see if they meet your needs.
    iWork by Apple
    Keynote
    Numbers
    Pages
    DocsToGo
    • VIEW/EDIT/CREATE Word & Excel files(Office 2007/2008/2010)
    • VIEW PowerPoint, PDF, iWork, Text, .RTF, and more!
    • Send & receive attached supported documents using the built-in Mail app
    • FREE desktop application with your purchase! Compatible on Win & Mac allows you 2-way file sync with a WIFI connection.
    • Open & Edit files within DocsToGo from any 3rd party app that supports the “Open In” feature
    • Supports iTunes File Sharing via USB cable for manually moving files
    https://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    Office² HD
    "Office² HD, the most intuitive and straightforward office document editor available on the iPad, makes it easy to open, view, create and edit Word (DOC & DOCX), Excel (XLS & XLSX), and PowerPoint (PPT & PPTX) files right from your iPad!"
    https://itunes.apple.com/us/app/office2-hd/id364361728?mt=8
    Quickoffice Pro HD
    Create and edit ALL Microsoft® Office -- document, spreadsheet, and presentation formats, as well as view PDF files, on the go. Our advanced file manager lets you manage local files, access Google Drive or other cloud accounts, and works with your iPad email attachments so you can work anywhere, anytime - online and offline.
    https://itunes.apple.com/us/app/quickoffice-pro-hd-edit-office/id376212724?mt=8
    nsdjoey presents ways to edit office documents in this web page:
    https://discussions.apple.com/message/21953221#21953221

  • Can i use other application on ipad such as microsoft excel or word? how?

    can i use other application on ipad such as microsoft excel or word? how?

    'Normal' PC and Mac (OS X) software do not work on the iPad (iOS), they are different operating systems. You can only install apps from the iTunes App Store on your computer or the App Store app directly on your iPad.
    Numbers (http://itunes.apple.com/us/app/numbers/id361304891?mt=8) and Pages (http://itunes.apple.com/us/app/pages/id361309726?mt=8) are two options, as are third-party apps such as Documents To Go :
    'normal' version : http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    premium version : http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8

  • Is it possible to change application state from a component?

    I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
    Thanks!

    Hi,
    you always have a static class Application.
    Application.application will be the root component. After that you can change it state.
    Application.application.currentState = "state2";
    But it's not the best way to change states. It's better to dispatch events from components and change states in listeners.

  • Windows domain controller in a virtual machine: how dangerous is saving its state for a short period of time?

    I have a Windows Server 2012 R2 virtualization cluster. All the hosts are connected to an external storage system, and virtual machines' files are stored on external volumes (CSVs). All the hosts and virtual machines are a part of the same AD domain
    (mixed Windows Server 2012 RTM / 2008 R2 domain controllers). All the domain controllers are running in the virtual machines on the hosts of this cluster.
    To prevent problems when all the hosts are turned off and then on simultaneously (for example, because of a power failure) all the domain controller VM files has been placed on local disks of the virtualization hosts (not on the Cluster Shared
    Volumes). As Hyper-V services don't depend on other Windows Server services (except its networking components), it means that my domain controllers can always start, providing the virtualization host can start at all. However, it also means
    that those DCs cannot be (quickly) migrated to other hosts while their current hosts are being rebooted. So if I need to reboot a virtualization host to install new updates, for example, I have to shut down the corresponding DC, reboot the host
    and wait for the DC to finish cold boot and come back online. It means some interruption of service for our users, which, in turn, requires me to perform the reboots late in night.
    The downtime can be significantly decreased by saving the state of the VM in which the DC is running. However, all the articles I've found on the Internet strongly recommend against it. I'm trying to understand why this recommendation was issued in the first
    place. However, I'm unable to find a clear explanation. I've found some statements that saving state of a DC can cause serious AD replication problems because of tombstoning, and that the password of a DC computer account may be changed
    while the DC itself stays in the saved state, which could prevent the DC from connecting to the domain after its state has been restored. However, those considerations are non-significant when we discuss a short-time
    (5 to 10 minutes) saved state.
    I work with AD and virtualization long time, and I fail to see any danger in saving state of a DC for several minutes. In my opinion, after its state has been restored it would simply replicate all the AD changes from other DCs, and that's all.
    What's your opinion?
    Evgeniy Lotosh
    MSCE: Server infractructire, MCSE: Messaging

    Hello,
    as stated in "http://technet.microsoft.com/en-us/library/virtual_active_directory_domain_controller_virtualization_hyperv(v=ws.10).aspx"
    Operational Considerations for Virtualized Domain Controllers
    Domain controllers that are running on virtual machines have operational restrictions that do not apply to domain controllers that are running on physical machines. When you use a virtualized domain controller, there are some virtualization software features
    and practices that you should not use:
    Do not pause, stop, or store the
    saved state of a domain controller
    in a virtual machine for time periods longer than the tombstone lifetime of the forest and then resume from the paused or saved state.
    This may sound as it is supported to store it for shorter times and use it.
    BUT recommendation also from the Hyper-V Program manager in
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/11/24/the-domain-controller-dilemma.aspx recommends against using them.
    Also best practices
    http://blogs.technet.com/b/vikasma/archive/2008/07/24/hyper-v-best-practices-quick-tips-2.aspx
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • When I turn my Ipad3 on I get a message that states IPad is disabled.. connect to ITunes. I have done this and nothing happens. What else might I try?

    When I turn my Ipad3 on I get a message that states IPad is disabled.. connect to ITunes. I have done this and nothing happens. What else might I try?

    Force iPad into Recovery Mode
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times.

  • Working at a newspaper, I'm having difficulty making a presentation made in Indesign and must be transformed in an application for Ipad / IOs.  That occurs in DPS consgigo generate the file .ipa put it nsao install on Device, getting the message "instal

    Working at a newspaper, I'm having difficulty making a presentation made in Indesign and must be transformed in an application for Ipad / IOs.
    That occurs in DPS consgigo generate the file .ipa put it nsao install on Device, getting the message "installing" all the time.
    If I get the zip file and the xml of the person who generated the folios, as indicating that the DPS?
    grateful

    In fact, it is listed in the devices profile file. The problem I see is the steps to production of an APP.
    Made as follows:
    My friend created the folios in InDesign (with your login) on another machine. Provided in a shared folder.
    I already have the contents of the application. From here, I believe he should publish through the Folio Producer and then I create the Application Builder IOs in DPS app in Title citing the Login ID he used to publish the content.
    Hence, I believe that would only make the Download Device and see install  APP.
    Is this the correct sequence?
    Please.

  • I upgraded my ipad to iOS 5.1.  However, my Youtube favorites are missing.  These are favorites saved on the iPad, not on the youtube account.

    I upgraded my iPad to iOS 5.1.  Afterwards, my Youtube favorites are missing.  These are favorites saved on the iPad and not linked to a Youtube account.
    I have tried restarting the iPad several times to no avail.  The favorites seems to be still on the iPad, since when I try to add a video that used to be on the list, that option is greyed out indicating that the computer knows that this is a favorite video.

    The problems reported here occurred right after updating to iOS according to the users as TD mentioned. 
    It's a compatibility problem between iPhoto and iOS6 that the only workaround would be to possibly batch change the date of the photos in iPhoto . Therefore we'll have to wait for it to be fixed with either an iPhoto update or an iOS update, which ever Apple feels is the proper item to to be changed.
    If they update iPhoto first (which is probably what they'll do) it'll be called an iPhoto problem.
    OT

  • Is there a way to access a pdf file saved on my ipad on my iphone?

    So i have a PDF file saved on my iPad. And I'm trying to figure out if there is any way to access that file from my iPhone 4S.

    Just email PDF to yourself and open with iPhone.

  • ALERT of possibility of FRAUD or bad intentioned in FAKES applications to iPad: Recently I bought two applications -$20,00 each- that pretending offer Word and PowerPoint, but its only had a bunch of tutorials videos.The Apple Store must supervision that

    ALERT to the possibility of bad use of FRAUD in FAKES APPLICATIONS to iPad in iTunes Store. I bought two applications: Word Office, and PowerPoint  - $20,00 each-, because the advertising announce it's as Productivity Applications, able to work with them and consequently, to write, to save the works, to print, and else. But it's is ABSOLUTELY FALSE because this FAKE APPLICATIONS only PRETEND to be, but really its contains a BUNCH OF TUTORIALS VIDEOS!!!. So if you need applications to write, a make presentations or else, I strongly recommend PAGES, NUMBERS and KEYNOTE, the Apple applications and your money to be save and guaranteed!. I really think that the iTUNES STORE and the APPLEI STORE must to be policy ALL the applications products BEFORE authorized the sell in his official site!.

    Is this one of the apps that you bought?
    Microsoft PowerPoint 2010 - Be Expert
    It may not be completely obvious, but it is, at least, categorized as Education with an, albeit small, disclaimer "(noted: this app is not the PowerPoint from Microsoft)"
    The description is accurate, as it is all "What you can know" and "What you can learn" but they probably should use a different icon to avoid confusion.

  • TS1702 Notes application on iPad will not print?

    When trying to print from notes application on iPad nothing happens, it shows on print control (after pushing home button 2 times) that it is waiting but nothing happens.

    Try restarting your iPad by holding down the on/off and the home buttons at the same time until you see the Apple logo. 
    AirPrint Support, http://www.apple.com/support/ipad/assistant/airprint/

  • Creating a file saving application

    Can someone tell how to create a file saving application. i.e. an applicaiton that takes a file from one destination and saves it at another. I know I will have to use an instance of FileOutputStream to create the new file, but do I need to use FileInputStream to read the bytes of the file first, before writing it?
    I would be grateful if anyone could help, as i am fair begginer at Java. Cheers.

    Actually streams are more appropriate here. Only use Reader and Writer if you are sure that your file is a text file. Beyond that, it is inefficient to keep calling readLine. Read in a big chunk with a buffer instead.
    You would have to do this:
    BufferedReader in = new BufferedReader(new
    FileReader("input.txt"));
    PrintWriter out = new PrintWriter(new
    FileWriter("out.txt"));
    while(true)
    String line = in.readLine();
    if(line == null)
    break;
    out.println(line);
    in.close();
    out.close();For more programming help, visit
    http://www.NeedProgrammingHelp.com or email me
    at [email protected]

Maybe you are looking for