Saving app data on mobile devices?

Hey, I want to make a save file for the game I'm making for iOS and Android, but I'm not sure how to go about doing it.
Should I make a text file? Where do I store it/read it from? Where does it go?
Any help would be greatly appreciated.
-Thanks in advance.

The application storage directory is a good place for saved game files.
The format is whatever you find easiest to use. Both text and XML work. You can also write a save game object to a byte array and save that to a file.
Instead of reading and writing a file yourself, you could use a local shared object.

Similar Messages

  • Scrolling in a Flash App on a mobile device.  Anyone?

    In my opinion, the biggest different between a flash app on a computer desktop vs a flash app on a mobile device is the scrolling behavior. 
    A flash app on a computer desktop usually has a scrollbar and you click on the up/down arrows or the scrollbar to scroll.  But on a mobile device, this scrolling is done with a swipe of the finger through the screen either horizontally or vertically.  
    Has anyone had any success implementing this scrolling behavior on a mobile device with a flash app?
    If so, what technique did you use?

    Dissipation, Can you possibly post your method of scrolling? For a comparison, i have been trying to get this scrolling to work for ages.
    I have this:
    var ease:int = 6
    var targX:int = dragMe.x
    var targY:int = dragMe.y
    var drag:Boolean = false
    var ptX:int
    var ptY:int
    dragMe.cacheAsBitmap = true;
    function down(sprite:Sprite):void{
        //ptX = sprite.x - mouseX
        ptY = sprite.y - mouseY
        drag = true
    function dragC(sprite:Sprite):void{
        if (drag) {
            //targX = mouseX+ptX;
            targY = mouseY+ptY;
            //trace ('targX ' +targX)
            //trace ('ptX ' +ptX)
        if (sprite.x != targX || sprite.y != targY) {
            //sprite.x += (targX-sprite.x)/ease;
            sprite.y += (targY-sprite.y)/ease;
    function up(sprite:Sprite):void {
        drag = false;
    stage.addEventListener(Event.ENTER_FRAME, dragHandler)
    stage.addEventListener(MouseEvent.MOUSE_DOWN, downHandler)
    stage.addEventListener(MouseEvent.MOUSE_UP, upHandler)
    function dragHandler(event:Event):void    { dragC(dragMe) }
    function upHandler(event:MouseEvent):void    { up(dragMe) }
    function downHandler(event:MouseEvent)
    This works fine, it scrolls with easing, but on the device its quite slow, i mean its not jumpy but once flicked it scrolls very slow. Even if i changed the variable: ease

  • Saving App Data for Removed Apps

    Hello everyone,
    I was wondering if via a regular iTunes backup would I be able to say, remove apps on my iDevices (they are taking way too much space) but without deleting their data so if I want to use them again (specially games) I just sync them back and have my data recovered (let's speak savegames).
    Is this possible?
    Or basically everytime I delete an app from an iDevice via iTunes (uncheck when sync) the data goes along to the garbage can?
    Also, if I delete an app from the iDevice itself, would it just delete it from the device and not from iTunes? So basically in each new sync it won't sync the app? Am I right?
    So far I think the only solution to my problem would be games or apps that save data to iCloud (let's leave aside other services like the developer's own), so if I delete an app from the iDevice the data will still be on iCloud and shall I restore the app to the device (check via iTunes sync) the app data would be brough back from the cloud? Is this basically how it works, so nothing in this world will have the data on iCloud removed?
    I'm doubtful because since you check which apps you want data for on iCloud, and once the app is gone from the iDevice I assume the app check wouldn't appear on the device so there would be no way of checking if it's still up there (unless the app was installed on other device, but let's forget that option for the sake of clarity), so you'd have to cross your fingers and pray for it to.. you know.. still be up there?
    Thanks for your time.

    The application storage directory is a good place for saved game files.
    The format is whatever you find easiest to use. Both text and XML work. You can also write a save game object to a byte array and save that to a file.
    Instead of reading and writing a file yourself, you could use a local shared object.

  • HT201077 Why can't I access my iCloud albums from apps on my mobile devices?When I go to access my albums from any app on my phone or iPad, I cannot access the iCloud albums, only the albums synced with iTunes/iPhoto manually.  This is frustrating because

    When I go to access my albums from any app on my phone or iPad, I cannot access the iCloud albums, only the albums synced with iTunes/iPhoto manually.  This is frustrating because I cannot add to those albums from mobile device, I have to add to them during a Mac sync.  I would like to be able to use my iCloud albums to organize my photos but if I cannot access them from apps it seems pointless.  I will end up having to maintain both an iCloud library and a separate iPhoto library which is more work that seems necessary.  I want everything easy to organize and access.  It seems like in this age where most people are more likely to use their mobile devices than their Macs (and some do not even own Macs) that there should be a mobile solution.  Hopefully I am simply without a clue and you folks can help me out with a fix or a source of info as a solution.  I have not found answers yet.

    gail from maine wrote:
    Hi keriah,
    When you go to Settings>Pages, do you have the "Use iCloud" option turned on?
    Cheers,
    GB
    That was it!  Thanks!!!

  • I have created an android app from adobe flash cs6 .The app opens on mobile device except on nexus 7 which has lollipop version? Is there any way to open my app on that device?

    please give me the solutions.

    Dear Bob,
      I downloader a VLS Streamer from the Apple app store.  It requires some kind of helper software to run, which, as far as I can tell from the video at the developer's site, allows one to download content from one's mobile device to their computer.  Since I don't have a compatible computer for my iPad to link to, the instructions don't help my situation.  I emailed them with my query and will probably hear from them sometime this week.
       I've lived with this problem for the 3 months I've had my iPad, and I'll keep after it until I have a solution.  But right now, I've run out of steam.  If this lead helps me to resolve my issue, I'll come back and HELPFUL or RESOLVED every response you've given.  I'm very grateful for your help.  Sorry I'm so utterly clueless.
       Thanks once again.  Please don't cringe if I get back to you another day.

  • Will app data update between devices?

    I just got my new Ipad.  I have an Iphone4.  I got the apps installed on my new Ipad that I wanted.  My question is now using these apps. I have a diet app that logs my food intake and such.  If I use and update this on my iphone will that updated info get pushed to that app on my Ipad and vice versa? And what about game data?  Seems I have to start over on levels in my games.
    Im also a bit confused about the icloud backup and tried doing the Itunes wi-fi sync which never worked.  I still had to connect with the cable in order to sync even though the box to sync to wi-fi was checked.

    This is the way that I understand iCloud syncing to work.
    App data from apps that support iCloud will update on all devices. For example, the Apple iWorks apps, Pages, Numbers and Keynote will update across iDevices. App developers have to make their apps "iCloud ready" in order for the seamless syncing of app data. Calendars, bookmarks, Notes, Reminders will sync currently as well. Your game is not "iCloud ready" at this point - is my assumption.
    As far as the wireless sync is concerned, sync again with the cable and then after you sync, select the Wifi option in the summary tab of iTunes and then click on Apply in the lower right corner of iTunes and then see if you can sync via WiFi.

  • User sees no Mail or other data on mobile device

    I recently added a new user to our Mobility server. The initial user synch
    took a lot longer than normal, considering the size of the user mailbox.
    On setting up the user's mobile device (android 4.1.2) the device links and
    synchronizes to the account, but no mail's contacts, calendar items get
    synchronised to the device. The folders are present (only a cabinet with no
    subfolders though) but they are all empty
    The mobility log seem so be linking to the user account, but there are many
    messages like...
    2013-06-05 17:05:30.759 INFO [BackgroundWorkMonitor_Thread]
    [backgroundWorkMonitor:575] [userID:cn=RogerN,ou=USERS,o=ISANDO] [eventID:]
    [objectID:] [Monitor] User requesting more data for their device:
    cn=RogerN,ou=USERS,o=ISANDO
    The user has no mailbox size restrictions
    In addition, on the device settings / Device folders of the user account
    there is only a /Cabinet folder, without any of the subordinate folders
    listed.
    In the connector monitoring information screen all pending and synced items
    are 0
    I have tried removing and re-adding the user to no avail. Also it is not a
    device issue as adding the account to another device gives the same issue.
    We are on Version 1.2.5 Build 299
    Any help would be appreciated

    Additional Data for this issue.
    Tried adding another user and had the same issue, but some users can be
    added with no problem.
    Getting this sort of posting for each folder/entry in the GroupWise log;
    2013-06-06 07:45:21.868 INFO [CP WSGIServer Thread-3] [AppInterface:1214]
    [userID:] [eventID:] [objectID:] [] Received a new event from Groupwise.
    ItemId: 3B8E133A.ESP_DOM.ESP_PO.100.1617666.1.532.1|rogern
    2013-06-06 07:45:21.869 INFO [CP WSGIServer Thread-3] [AppInterface:1283]
    [userID:rogern] [eventID:] [objectID:] [] Sending event to SyncEngine.
    Event:
    <event xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <custom>
    <preEventMappingEventType>sync</preEventMappingEventType>
    </custom>
    <metadata>
    <objectID>3B8E133A.ESP_DOM.ESP_PO.100.1617666.1.53 2.1|rogern</objectID>
    <sourceName>rogern</sourceName>
    <sourceType>user</sourceType>
    <type>add</type>
    <folder>
    <id>3B8E133A.ESP_DOM.ESP_PO.100.1617666.1.532.1|ro gern</id>
    <parent>D.espdo.esppo.100.0.1.0.1|rogern</parent>
    </folder>
    <from-sync>true</from-sync>
    <destination>default.pipeline1.mobility</destination>
    <sendTime>2013-06-06T07:45:21.869286</sendTime>
    </metadata>
    <item xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
    xsi:type="gwt:Folder" type="Folder">
    <gwt:name>warranty</gwt:name>
    <gwt:modified>2010-08-03T11:28:34Z</gwt:modified>
    <gwt:sequence>1</gwt:sequence>
    </item>
    </event>
    2013-06-06 07:45:21.871 WARNING [CP WSGIServer Thread-3] [engine:985]
    [userID:] [eventID:] [objectID:] [Engine] Source conversion status: DROPPED
    (default.pipeline1.groupwise -
    3B8E133A.ESP_DOM.ESP_PO.100.1617666.1.532.1|rogern )
    seems there is something in the user account that need fixing up
    Mark Behrens
    "Mark Behrens" wrote in message
    news:[email protected]...
    I recently added a new user to our Mobility server. The initial user synch
    took a lot longer than normal, considering the size of the user mailbox.
    On setting up the user's mobile device (android 4.1.2) the device links and
    synchronizes to the account, but no mail's contacts, calendar items get
    synchronised to the device. The folders are present (only a cabinet with no
    subfolders though) but they are all empty
    The mobility log seem so be linking to the user account, but there are many
    messages like...
    2013-06-05 17:05:30.759 INFO [BackgroundWorkMonitor_Thread]
    [backgroundWorkMonitor:575] [userID:cn=RogerN,ou=USERS,o=ISANDO] [eventID:]
    [objectID:] [Monitor] User requesting more data for their device:
    cn=RogerN,ou=USERS,o=ISANDO
    The user has no mailbox size restrictions
    In addition, on the device settings / Device folders of the user account
    there is only a /Cabinet folder, without any of the subordinate folders
    listed.
    In the connector monitoring information screen all pending and synced items
    are 0
    I have tried removing and re-adding the user to no avail. Also it is not a
    device issue as adding the account to another device gives the same issue.
    We are on Version 1.2.5 Build 299
    Any help would be appreciated

  • Read out current date on mobile devices?

    Hello there,
    how can I read out the current date in a mobile Flex-App?

    Getting the current date is as simple as creating a date object with no parameters, e.g.
                                  var d:Date = new Date();
    For formatting, check out the DateTimeFormatter class.
    -- Tom

  • IPad Error" There was a problem saving some data to the devices cache"

    We have purchased the app Environmental Science Buddy and there are presentations that can be viewed but I receive the above mentioned error when trying to play them on our school network. Took an iPad home and just as I thought no problem loading the presentations. I have gone through our firewall and its allowing the website that the data is coming from and I even added it to the allow list just to be sure but I am still receiving this message Any help would be greatly appreciated as I have this app on nearly 100 iPads!!!

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • What is the best way to create a Scheduler app for ALL mobile devices?

    I've used indesign to make apps before, (more like interactive/digital publications) and now I'm trying to make a scheduling app. What's the best way for me to accomplish this since it's a little more intricate? Indesign + DPS?? Any other recommendations?

    Skipping InDesign & using HTML5/something such as Appcelerator's Titanium would be your best bet.
    If you're set on using DPS, however, you'll need to make multiple multi-folio apps, single issue apps aren't supported iPhone or Android. DPS folios are also not responsive, although in some cases renditions will scale to support different devices.

  • Complementary apps with new mobile device

    Hello, I was wondering about the complementary apps (pages, keynote, iPhoto, and iMovie) that are supposed to be included when you buy a new iphone.  I bought my phone on December 27th, I think they were included by then.  But anyway, does anyone know how to download them from the App Store without having to pay for them?
    So far I haven't really done much except for go to the App Store and see of they would prompt me I download it.

    Excellent.  The key is you have to "purchase" the apps on your iPhone, not iTunes or a different Apple device.
    Enjoy your Apple gear.

  • How to transfer data from sap bw to mobile devices

    Hi sdn,
    can anyone provide documents regarding sap bw data in mobile devices like pda's etc. its urgent.
    [email protected]
    regards
    andrea

    Type https://service.sap.com/bi
    It will be asking for Userid and Password. Hope you will be having that.
    Left side You will see services and implementation click it.
    Under this you will find how to ....Guides
    Under this Guide List SAP BW3.0B/ BW3.1 Content
    You will get list of documents. You can find How to... use BEx Mobile Intelligence in that.
    Regs
    Gopi.

  • Apple Mobile Device Service has stopped working. Vista SP2, iTunes 10.5

    Hi there. I've been having an issue syncing my iPhone to iTunes. Here's a description of the problem:
    -With an up-to-date Apple Mobile Device Service, error windows constantly pop-up saying that it has stopped working. If I close the error window, another one pops up fifteen seconds later.
    -If I plug my iPhone into my computer, it is not recognized in iTunes, because Apple Mobile Device Service is not running.
    -This error does not occur on my desktop PC, so I have been able to sync my iPhone by loading all of my files onto a USB and transferring them onto it. However, I would much rather not.
    Here are the steps that I have taken:
    -Uninstalled and reinstalled iTunes 10.5 with firewall off
    -Individually uninstalled and reinstalled the Apple Mobile Device Service with firewall off
    -Stopped and Restarted the Apple Mobile Device Service in Administrative Tools -> Services
    -Extensively searched the internet for solutions
    -Replaced Apple Mobile Device Service for iTunes 10.5 with Apple Mobile Device Service for iTunes 10.1 (This worked PARTIALLY. The error windows have now stopped popping up altogether, but I cannot sync with iTunes because the Apple Mobile Device Service is out of date. It asks me to update it, I agree, and I get the Apple Mobile Device Service that spawns error windows and still does not allow me to sync my iPhone.)
    I am running Windows Vista SP2, and iTunes 10.5. My Internet Security suite is AVG Internet Security 2011. My iPhone is running iOS 5.0.0. Here is a full report of the error:
    Problem Event Name:    APPCRASH
    Application Name:    AppleMobileDeviceService.exe
    Application Version:    17.88.0.8
    Application Timestamp:    4e66ceff
    Fault Module Name:    kernel32.dll
    Fault Module Version:    6.0.6002.18449
    Fault Module Timestamp:    4da47967
    Exception Code:    c06d007e
    Exception Offset:    0003fc56
    OS Version:    6.0.6002.2.2.0.768.3
    Locale ID:    4105
    Additional Information 1:    599e
    Additional Information 2:    30e036b93244793a42096718411570bd
    Additional Information 3:    7229
    Additional Information 4:    80ac1a21efab121ee7fb685acd0c57bc
    Any ideas would be greatly appreciated. Thanks!

    Just a shot in the dark, but have you downloaded any program from Megaupload, like MegaKey?  If so then that is your problem. I had been having the exact same problem for the past 2 weeks. I couldn't figure out what it was and tried everything that you have.. Then was on a board and someone mentioned Megakey. Having tried everything else, I uninstalled the program and reinstalled the current ITunes and AMDS. My Ipad and Iphone connected with no problem.

  • Using Captivate on a mobile device

    Is it possible to use Captivate on a mobile device? For example, if I want to create a CBT describing how to use a specific application on a mobile device. However, instead of using Captivate on a PC, I want to use it on the mobile device so I can mimic the exact procedure. Does anyone know if that's possible?
    Thanks.

    I just created an app for my Android device using Adobe Captivate 5.5. I am able to get the app on the phone, but am running into issues. There doesn't seem to be much support, from what I can tell, on getting the Captivate app to work on the phone. I'm noticing some strange behavior and am now looking for answers to my questions.
    If you're interested in showing how to use an app on a mobile device (Android seems to be easier that getting on an Apple device) you'll need to install an emulator on your computer. Doing this - I was able to capture my screen shots, then bring them into Captivate, add the interaction, create the necessary files to create the Andrioid app, package the files as a .apk file, then upload them to my Android device. You will need an Android device that allows you to set the Developer Options. You'll need to tick the box for 'USB debugging' to use the emulator.

  • BAPI to send data to Mobile in SAP DSD Process

    Dear Guru's,
    Please help me in finding the BAPI's required for sending the data to mobile device in SAP DSD(Direct Sales Delivary) process.
    Will we able to find all the BAPI's in SAP ECC 5.0 Version ?
    any info in this regard will be highly appreciated.

    THANKS

Maybe you are looking for

  • DO NOT BUY CREATIVE ZEN TOUCH 2

    I cannot begin to explain the problems I have had with the Zen Touch that I bought 2 Weeks ago. The long and short of it is the original device that I bought, I could not transfer songs to it. Dowmloading the latest Firmware / Drivers / Application e

  • Converting Full Quality HD files to Large-possible? desirable?

    Last year I bought a camera that shoots AVCHD files and have been importing them into iMovie using the Full Quality setting. My HD is now maxed out and I'm realizing that I can't afford to keep such big files stored. What I'd like to know is (a) is i

  • Link in mail is not working anymore

    When there is a link in a email in the mail program it isn't working directly. Only when dragging the link to f.e. Safari it will open. What can be the solution for this problem. I already installed osx again but this doesn't work.

  • E3000 and VoIP

    I have an E3000 Router upgraded to the latest firmware. Before i upgraded to the latest firmware (1.0.03 build 2   <script type="text/javascript">// replace_date("Sep. 7, 2010"); // </script> Sep 7, 2010) my VoIP (Polycom 670) was working fine. Now i

  • Error message: The i-pod could not be synced. An unknown error occured (13019). Any clues

    error message: The i-pod could not be synced. An unknown error occured (13019). Any clues please. Never had any trouble until now.