Saving data on Android and iOS?

I use AIR for Android and iOS and I need the game to save some data for things like: facebook, current level, life, last login time, ID etc...

What is the best way to do it for Android and iOS?

Use XML? The code would be as if I had to do for the standard Flash Player?

Use the sharedobject:

var so:SharedObject = SharedObject.getLocal ('yourgame','/ ');

{if (SO. Data.lastcompletedlevel)}

do all that...

}

.

.

After completing a level:

so. Data .lastcompletedlevel = levelNum;

so. Flush();

Tags: Adobe Animate

Similar Questions

  • How to connect the system android and ios?

    my main project is to put a link or for communication between the system android and ios. the controls I should know?

    If you want assistance please provide details as to what you're trying to do.

    Writing an effective question of communities of Apple Support

  • Families can share on android and iOS devices

    Families can share on android and iOS devices?

    If you have a family membership to the Apple's music, you can use Apple music in a family on iOS, Android, Apple TV and iTunes on Mac or PC.

  • Hi, tell me if the product is adobe to create mobile applications android and ios?

    Hi, tell me if the product is adobe to create mobile applications android and ios?

    Hello

    You can check the following links for Adobe mobile applications development tools

    Mobile application development | Adobe Developer Connection

    Adobe mobile, iPhone, iPad, Android apps | Adobe Creative Cloud

    Android, Android SDK application development | Adobe Developer Connection

  • How can I change the appearance of the app android and iOS in 2015 DPS?

    How can I change the appearance of the app android and iOS in 2015 DPS? I wouldn't have an option to download a zip with my html/css/js/images property?

    The look & feel for the app is handled through cards & Layouts - and those who are not separated by the platform.

    The look and feel of an article is managed either through the HTML code to the download package as you or pixelated design of InDesign - but these are not separated by the platform.

  • Is it possible to participate in a meeting "as a guest" from mobile apps Android and IOS?

    We analyze a scenario where we need to send a meeting invitation to a group of mobile users who do not have a connection or the license account. It is possible to participate in a meeting using the Android or IOS app "in as a guest"?

    Kind regards

    ~ Ken Lamborn

    Hi Ken,

    I tried on my 2.5MR6 CWMS with Android (Samsung Galaxy s6). With Chrome, I was able to go to the meeting url web page and click on the top of the right page "Join by number. Even if the mobile browser is not officially supported I was able to attend the meeting, you must install the WebEx from the game store application (it will redirect you there if it is not installed). You can also click on the link in the email to join the meeting as a guest.

    Thank you

    Bruno

  • External swf on Air Android and IOS

    Hello

    Can AIR and IOS android application download and play an external SWF with code inside?

    I created android app AIR (SDK version 4.0) that load an external swf with simple clip on the stage.

    var loader: Loader = new Loader();

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onLoaded);

    Loader.Load (new URLRequest ("2.swf"));

    function onLoaded(e:Event):void

    {

    addChild (loader);

    }

    I installed this on device android AIR app but I see no external swf on the stage.

    Thanks in advance

    You must add the external swf file for included files.  and for ios, you must assign the loadercontext property.

  • Android and iOS DRM

    I'm looking to publish an app for iOS and Android.

    I understand not to offer to people like Amazon, insert the DRM to the app. I beieve Google require hard wired before delivery and iOS is similar to Amazon.com.

    Is there a simple document on DRM for a novice, or is it a persopn well informed, willing to share a few ideas?

    The vast majority of my user login information is undertaken as my clients all want-to-business enterprise apps with the exception of the demonstrations of products on itunes. For example, connection systems were already in place. Their users were well pleased and acclimated to the use of the notion of login system. If not, I can't say.

  • Installation: HPLIP and remote printing from ANDROID and iOS on a static network of HP printer

    I recently installed a HP LaserJet Professional m1212nf MFP printer on my network and gave it a static IP address.  On my main computer (also statically networked - Ubuntu 12.04) I installed the hplip service and can print to it successfully.  On the same computer, I have a Dymo Labelwriter and a HP ColorLaserJet 1215 connected by USB.

    I can print from my iPhone / Tablet Android of ICS to the printer and the printer color laserjet use Airprint service, but I can't seem to print on the m1212nf with Airprint.  If I print via CUPS with Airprint driver I get a completion from print but the printer does not print.  Now, since the m1212nf printer is NOT connected to the CUPS print server by USB, it makes sense, unless I can be told how to configure CUPS to print to the device on the network.

    -or-

    I think, from what I've read so far, this Icould use eprint if there was a way to put a windows driver (Yes, reluctantly, I have access to a Windows laptop that I can put on my network) on the m1212nf and hplip driver which currently allows it to communicate with my main computer.

    I would prefer a solution Airprint as Airprint works with mobile devices, the other two printers.

    OK, egg on my face!

    It turns out that iOS functioned perfectly well, but does not have the Android app, I had on my tablet.  In addition to continuation of the Android issue, I have found only one free application that worked (at least for the text) in the game store, but we were really a "demo" as the print was a watermark, but we could remove the watermark for two separate awards, one for the text and one for the photos.

    But in responding with a solution to this problem myself, I consider that it {SOLVED].  In addition it leaves no doubt that Airprint and the "generate airprint-' script works for versions of Ubuntu Ubuntu on the side.

  • Can I use the single image purchased from £7.19 under the cover of my magazine to publish to Android and IOS?

    Hello

    I found beautiful images on this site and I was wondering if the license covers usage for me to use the image on the cover of our magazine issue and publish the magazine on IOS and Android.
    Thanks for the help!

    Yes, you should be able to. Without knowing what image and what kind of magazine, it is difficult to say however.

    Here is a link to license information: http://wwwimages.adobe.com/content/dam/Adobe/en/legal/servicetou/Adobe_Stock_Terms_en_US-2 0150313_hpc.pdf

  • How do I save a clip as image format for Android and iOS?

    Hi, I have a movieclip named MYMOVIE1 and I want to save it as Image (any size) to a folder named MyTestApp in the storage of the SD using ActionScript 3? {AIR for } ANDROID }

    And please tell me if the same way to work for iOS ... Thank you

    Well, it takes 2 steps:

    -First make the movieclip in a bitmap:

    lip http://www.kirupa.com/forum/showthread.php?266493-Extract-bitmap-or-BitmapData-from-MovieC

    -Then save it in a file:

    http://actionsnippet.com/?p=1093

  • V26, about the differences between Android and iOS

    I asked a question yesterday about the Adobe ID number that we use to create multiple Folio and track stats for Android, iPhone & iPad downloads etc.  Now that v26 goes direct, it won't really be a difference between the display of our publication on Android or Apple device. We use about images and texts, really no videos used.

    We used to create a good sharp vector folio for ipad, then reuse everything and put it all to "raster" and for Android devices. (we allowed just the device Android to the scale of our content)

    But I'm curious...

    Now that v. 26 allows PDF on the Android articles... There is really no need to create another option of folio for us.

    But what about the cost?

    If we just download the 1 folio to be viewed on both devices, how understand us what our publication is read on most of the platform?  The service determines DPS what folio will receive a user based on the device ID?

    just curious to see how this is handled.

    Thank you.

    Analytics is presented separately for each device. If you use SiteCatalyst, you can do various reports based on the type of device.

    Neil

  • Can Android and Apple share the same project?

    I'm glad that first Clip is now available for users of Android and now, the only thing a bit strange, is that Android phones can download but not Android tablets yet. But apart from what I asked in my question is if two or more persons work together on a project of PClip using mobile devices, for example, the person has an Android Galaxy Tab and person B has an iPad a project can be started on onebrand device and more later transferred to cloud to Adobe or something and the other person on the access of the device of another brand , open and finish the same project. In short an Android phone or Tablet and an Apple phone or tablet can work on the same project, regardless of who actually began the project?

    Hi Maurice.

    Thank you for downloading first Clip and for your comments! First clip is currently only available for Android smartphones.

    To answer your question on the use of platforms: Yes! Our team strives to make sure that if you are working on Android and iOS, your project will be supported regardless of what platform/device you started on. If you start a project on your Android phone, it will be automatically available on your iPad and vice versa. You can send your project to Premiere Pro since both platforms as well.

    Happy clipping!

    Bronwyn

  • Not "Move data of Android" option on the iPhone 6 s, ios 9.0.2

    The version on my iPhone 6s is ios 9.0.2 but it doesn't have the "Move data of Android" option which allows me to move data to my iPhone 6. How can I fix it if the option appears?

    See this support article. If you did not select the option move to Android then you have been implemented in the new device, and then you will have to delete it and set it up again (see step 1):

    Switch from Android to iPhone, iPad, or iPod touch - Apple Support

    Good luck

    GB

  • I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    Do you still have the MBP? If so you can manually copy and paste the files you need.

    If you do not have the pro more, you need to buy a USB key and plug it into the MBA... use it as a target. Once you have a system file of the previous laptop again, you have to manually choose what to copy across.

Maybe you are looking for