Check Android/iOS app ID?

I am using the same codebase for the free and full versions of a game I am making and using a flag in the code to toggle between the free and full versions. Right now I'm setting the flag manually before publish but I know I'll eventually forget to change it and publish the free version in full version mode or vice-versa. Does AIR provide a method to check the application ID (e.g. com.exampledomain.myappid) at runtime so I can automate it? I've tried Googling this but I can't find a combination of search terms that gives me relevant results, and I have no idea where to look in the AIR library.
Thanks!

I believe this is enabled by default but you don't have to worry about this since this is not supported by Adobe DPS

Similar Messages

  • Is there any official photoshop android/ iOS app available...??

    I'm looking for official Photoshop app for my android/ iOS smartphone...If any of the apps fulfills my needs please suggest me..

    Adobe mobile apps

  • Converting iOS app to Android - advice

    Hi.
    I've got a few apps released for iOS - the resolution is 320 x 480.  I'm thinking about converting these to Android.  However, I'm not sure what resolution to target to hit the most users?  I guess ideally I'd code them to adjust for different resolutions, but I'm a single developer and don't have time to do this for all my apps.  So I'm trying to pick the most popular.
    I've read this: http://developer.android.com/guide/practices/screens_support.html but it doesn't seem to clarify things for me. 
    Also, would converting my iOS apps to Android just require some config changes (certificates, icons etc) or would it likely need some additional AS3 tweaks/additions?
    Any advice appreciated.

    What is the nature of your apps? If they are scenes that can have some extra content off the sides you can do all device screen sizes with the one FLA. Look at the iPhone and iPad screens of this app:
    https://itunes.apple.com/us/app/thomas-friends-lift-haul-collection/id641291615?mt=8
    Notice how on the iPad you see a little more sky and ground. If you can work that way, and either have extra content on the left and right, or above and below, you can set the stage scale mode to showAll, and the stage will fill the device screen, revealing that extra content on wider or taller screens.
    If you can have extra content in all four directions you could use the scale mode noBorder. For that example you would have a 14:9 stage, and enough content to go as wide as 16:9, or as tall as 4:3.
    I made these test pages to show how the stage looks, just resize your browser window to simulate different device sizes and ratios:
    http://xfiles.funnygarbage.com/~colinholgate/rev/showall.html
    http://xfiles.funnygarbage.com/~colinholgate/rev/noborder.html
    The red lines represent the iPad ratio, the green lines are iPhone 3gs & iPhone 4, and the blue lines are iPhone 5.

  • Air 3.3 and background ios apps

    Hi All
    I cannot find some coherent information on this so I am asking here.
    I need to write an iOS app that needs to perform a webservice call every x minutes to update the slqite db on the device, even if the application is not running in the foreground.
    From google what I could find out was that iOS will only allow your app to run a small time after closing(to finish an upload etc).
    e.g. "AIR does not provide support for this iOS background processing model":  http://www.adobe.com/devnet/air/articles/considerations-air-apps-mobile.html#articleconten tAdobe_numberedheader_5
    but then later " applications may now support location updates and networking in the background": http://forums.adobe.com/message/4380335http://forums.adobe.com/message/4380335
    Can I do what I need in Air 3.3+ an iOS 5.1+ ?
    Thank You

    Some of the statements in this thread are no longer true, or need to be updated.
    Here is a recap:
    As of AIR 3.9, background execution will work on iOS+Android with render mode set to 'direct' ( which implies that you are using Stage3D ).
    For background execution to work in iOS, you need:
    to set NativeApplication.nativeApplication.executeInBackground = true, in your as3 code somewhere ( note: strangely, background exec on iOS has worked for me in the past even by not doing that ).
    to add in the iPhone section of your app manifest ( *-app.xml ):
    UIApplicationExitsOnSuspend = false
    UIBackgroundModes = audio ( and/or location, or some other background mode ).
    a good excuse / reason :  since battery-gate on the iPhone4, Apple has  tightened its policies regarding background execution.  For example:  last time I tried, setting UIBackgroundModes=audio was only allowed if the app was intended to play a sound persistently in the background ( not occasionally, such as an alarm clock sound ).
    For local notifications, I recommend Distriqt's local notification ANE ( Android+iOS), since it's the ony one I know which uses the AlarmManager api on Android ( Koesler's Android Local notif doesn't last time I checked ).  This means that on Android, the local notification can be scheduled for a later time ( same as iOS ), and will fire EVEN if the app is either minimized or has been closed properly ( meaning closed by the OS, or by the user via NativeApplication.nativeApplication.exit() -- note: force-stopping is the exception and cancels scheduled notifications on Android ).  You can also have the local notification play a custom sound which is up to 30 secs long ( mp3s on Android / cafs on iOS).  Sound will be audible on both platforms, even if the device is suspended.  This is ideal for an alarm-clock, for example.  The downside of local notifs is that they don't execute code, per se, however they can pass a data payload ( text ) back to the app, if it is running ( even if minimized ), which a handler can receive to do stuff.

  • Error while debugging AIR for IOS app

    I get the following error when attempting to debug my AIR-IOS app on an IPad 2.
    The weird thing is that the logfile mentioned does not exist.
    Any ideas?
    - Abey
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x764db9bc, pid=5400, tid=9024
    # JRE version: 6.0_29-b11
    # Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [KERNELBASE.dll+0xb9bc]
    # An error report file with more information is saved as:
    # C:\Users\ABEY~1.LEX\AppData\Local\Temp\AOT1326388929076\hs_err_pid5400.log

    I have the same error.
    The wierd is that the log file doesn't exists.
    Anyway I try everything... to reinstal my Flash Builder, reinstall all versions of java. I even try to make Xmx and Xms bigger size.. but nothing... still got the error.
    If I create new project... then everything works fine... Export Release Build work very well,
    but if I try to Export Release Build for my large project... then this error comes up.
    I look at my code and no find any errors...
    Build for android works as well, the error comes up when I try to build for iOS.
    Please Adobe - give us help how to fix this.
    Thank you

  • Adobe Air + Box2D.swc = TypeError: Error #1009 // New way to handle .swc files in Flash for iOS Apps?

    Hi,
    I need your help please - I have to update one of my iOS Apps. In this App I use Box2d for a simple maze game (it's an app for kids). When I publish & test this game on my Mac it works fine. I can drag my Hero (fish) through this Maze and all collision detections, gravity etc. work perfect.
    When I test it on my iPad it doesn't work. The device debugger shows this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at global$init()
      at global$init()
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31]
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26]
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50]
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100]
      at misc::Entity/handleAddedToStage()
    Line 31: loader = new CLibInit();
    I guess "CLibInit" should come from the .swc file.
    The thing is:
    I didn't change anything in this maze game - it seems this has to do something with the new Flash and/or Adobe Air version. Box2D.swc file is included:
    It always worked like this - and it works when testing it on my Mac - but it is no longer working on my current system.
    So I started my Mac from an older system (10.9.5 on an external HD) and published the App from Flash CS6 and Adobe Air 13.0 - then it suddenly worked on my iPad as before. I was able to tap an the fish and drag it arround.
    The same project / app published from my current OS X 10.10 + Flash CC 2014 + Adobe Air 15.0.0.302 is not working. I always receive this Error Message - I can not drag the fish - nothing happens. And I have no idea why this happens and what else I could do. I searched the whole day for a solution but didn't find anything.
    So did anything change by the way Flash and/or Air handles .swc files? Is there an other way to include: import cmodule.Box2D.* / CLibInit ?
    Please - if anyone has a clue - please let me know!!
    Best regards
    Jan

    Update:
    There is also an Android Version of this App. I just published and tested a new version of it on my kindle fire & Samsung Galaxy Tab 2. On both Tablets the maze works perfect. I'm able to drag the fish around etc.
    Then I published this Android Version for iOS and tested it on my iPad. Again I'm getting the Error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference. 
      at global$init() 
      at global$init() 
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31] 
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26] 
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50] 
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100] 
      at misc::Entity/handleAddedToStage
    ...and the fish is stuck - I can't drag it - nothing happens. So this error only occurs when I publish the App for iOS - as an .ipa. Did anything change in the way Air handles .swc files?
    I'm totally confused
    If anybody has an idea what I could try - PLEASE LET ME KNOW!!

  • I bought macbook pro used one because i wanna start to develop ios apps and i need Mavericks if it is a possible my mac is 10.6 please help me apple

    i bought macbook pro used one because i wanna start to develop ios apps and i need Mavericks if it is a possible my mac is 10.6 please help me apple
    Model Name: MacBook Pro
      Model Identifier: MacBookPro5,5
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.26 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1.07 GHz
      Boot ROM Version: MBP55.00AC.B03
      SMC Version (system): 1.47f2
      Serial Number (system): W8******66D
      Hardware UUID: *****
      Sudden Motion Sensor:
      State: Enabled
    <Edited By Host>

    Back up your data, check your applications for compatibility, and download Yosemite from the Mac App Store.
    (121877)

  • How do I open a link in a pdf in iOS App Adobe Reader 11.6.4?

    When I open a pdf in iOS App Adobe Reader 11.6.4 I cannot click on a link, the link is underlined but I have no possibility to choose that link. On a PC this link in the same PDF is functioning correctly.

    Michael,
    Your form is a special type of form called a "static XFA form" (typically authored with Adobe LiveCycle Designer).
    The "links" in the static XFA form are actually buttons (form fields) that act like hyperlinks.
    Unfortunately, Adobe Reader mobile products (including Adobe Reader for iOS, Android, Windows Phone) do not support static (or dynamic) XFA forms.  Sorry for the inconvenience.
    The static XFA buttons for web links did not work with any of the non-Adobe PDF viewers that I tried on my iPad, either.  So the users who receive the static XFA form will experience the same problem on mobile devices.

  • AIR iOS app fails uploading to Apple (iTunes Connect)

    I've been trying to upload my iOS app to iTunes Connect via Application Loader but it fails every single time. I'm getting the following error(s);
    'Unable to run the lipo command: ... Can't map input file ...' and 'Application failed codesign verification'
    I believe the second error is due to the first, but I'm not sure. I've been looking around the web for solutions and only found this thread on here, I've tried everything said there but nothing helps.
    Replacing my game with an empty FLA doesn't seem to work either.

    I'm on the latter side, usually it's a codesigning issue. How did you develop your certs and did you follow the order specifically in my list in that post? Often people use old certs but create a new app ID and expect the old certs to work.
    There's been other discussions about extra "files" that Flash Pro inserts into IPAs (.zips in disguise). Because Flash Pro publishes to a folder that's not built specifically for that build, people sometimes copy extra files into that path. Those files can "automatically" and accidentally be added to the IPA without the author desiring that. You should check what files are being packaged with your IPA to verify there's no extra junk.
    Are you using flash CS5.5 or CS6 and what version of AIR are you overlayed to?

  • Data from iOS app

    Hello,
    I'll extract data saved from an iOS app; the iPad isn't connected.
    I can save data to preference file and it's work perfectly. But after that how can I extract this file from the local iPad?
    Can I write to an USB key connected with the Apple adaptor and if yes which instruction and/or path may I use?
    An other way is to write to another app sandbox (e.g. local directory of DropBox or DocsToGo) but I don't find the right Lingo instruction and path to make that.
    Tanks a lot if somebody can help me :-)
    Regards
    Bernard

    "nadandeo", a little bit late reply but hope you can still hear. ^^
    If you have made a backup, you’re OK. (For those who don’t know, iTunes automatically makes a backup, when you connect your iPou touch to your PC/Laptop).
    Without a backup, you CANNOT recover your lost notes, except with recovery software. Here’s a USERGUIDE: How to recover lost iPod NOTES. Do your research, but from experience I can tell you that this is the only way around it. In the future, always make backups. Better safe, than sorry.
    Don't fall for anything people tell you , do your own research and check company reviews.

  • Packaging iOS app on Linux

    I am developing Android and iOS app with AIR (3.7, without ASC 2.0) and Flex SDK (4.6) and I've run into an issue - I am able to package Android app on Linux (it's a server), but I am unable to do that for iOS. I am aware that AIR SDK is no more supported for Linux, but I thought that when its working for Android, it should work for iOS too... :-) Well, I suppose it doesn't.
    I am pretty sure that my adt command is right (because I am able to package iOS app on my developing workspace - Win7).
    Just to have it complete, error looks like this:
    unexpected failure: Functionality not supported on : Linux
    java.lang.UnsupportedOperationException: Functionality not supported on : Linux
            at com.adobe.air.ipa.AOTCompiler.<init>(AOTCompiler.java:199)
            at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:277)
            at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:599)
            at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:90)
            at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
            at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557)
            at com.adobe.air.ADT.run(ADT.java:414)
            at com.adobe.air.ADT.main(ADT.java:464)
    Currently I see only 2 options to make it happen on server side - to use some virtual windows machine (or wine?) or to setup windows server only for iOS packaging.
    What do YOU think? Which way is better/worse? Is there some other way?
    Thank you!
    Peter

    They must be purchased separately. Reason being is the apps you use on your Mac are for the Mac OS X, the apps you use on your iPhone are optimized for iOS. Two different operating systems.
    You purchase apps for your Mac from the Mac App Store, apps for your iPhone, from the iTunes Store.

  • Regarding Automation Of The iOS App Compiled With Enterprise Program

    Hi,
    We have to automate the iOS app, compiled with `Enterprise Developer Account` build in `Adobe Flash Builder Environment`. We have checked the provision profile attached with the IPA file and the value of `getTaskAllow` is set to `False`, so it seems that the app is build with `Distribution Profile`.
    As the app is developed from Enterprise Developer Account, so we are able to install and run the app in real device, but `Appium` as well as `Instruments` is unable to debug it and showing an error "Permission to debug <BUNDLE ID OF APP> was denied. The App must be signed with a development identity (e.g iOS Developer)".
    So, is it necessary to build the app with `Developer Provisioning Profile` and mentioning the UDID of the device in the Development Provisioning Profile, so as to debug the app via `Appium` or `Instruments` ?

    Yes. I can export Distribution certificates and Distrubution provisioning files and Flash will then export the .ipa file without issue. However when I go to install the app it seems to go over to the iPad and then I get a failure notice on the iPad. I am wondering if I am installing it incorrectly or if there is some step I'm missing. I am dragging the .ipa to iTunes to install it. If I export both the cert and the provisioning files as Development files the app goes on the iPad without issue, however it will expire in a couple of months so that is not what I want. I recently found this link http://www.adobe.com/devnet/digitalpublishingsuite/articles/distributing-enterprise-ios-vi ewer-apps.html which leads me to believe I have to distrubute the .ipa differently, however I was hoping someone had seen a similar tutorial for a Flash ipa. Or is this similar (or exactly) what I need to do?
    Thanks so much for the reply.

  • Windows can compile phonegap iOS apps in dw cs6

    ONCE I DOWNLOAD IN MY ANDROID PHONE AN APP FROM DW CS6-PHONEGAP VIA QR SCANNER, where saved the App downloaded? 2.3.6 Android...
    windows can compile phonegap iOS apps in dw cs6 on WINDOWS?
    to make win phone 7 or 8 Apps can I from dw cs6 or needed phonegap site?

    After I compiled for first time with phonegap and qr installed in my Android phone, the cordova phonegap starter sample app without modified all html5 mobile apps in dreamweaver stopped to function like jquery 1.0a4 libraries and css is wrong ... why this?

  • Can you merge PDF in iOS app?

    CAn you merge two PDFs in the iOS app?

    Hi,
    A short answer is "no".  Sorry.
    If you subscribe to the Adobe PDF Pack online service, you can use the "Combine Files" feature to combine files and images into a single PDF file via the web interface (https://cloud.acrobat.com/combinepdf) on a desktop computer.
    Combine files to PDF
    But the "Combine Files" feature is not available in the Acrobat DC mobile for iOS or Android.  Sorry for the inconvenience.

  • ALL-PHOTOS-VIDEOS buttons don't work in iOS app

    Hi there!
    I just downloaded the Revel iOS app which I found amazing! The best memories cloud storage solution I've found so far!
    I found an issue with the app, when watching all the photos in a library, the ALL PHOTOS VIDEOS buttons don't work at all. They overlap the search bar. I'm using the app in an iPhone 6 plus.
    Will you support the iPhone 6 and 6 plus resolutions? I see the latest iOS version is from July 31st 2014. I wouldn't want to use an app that is not updated!
    THanks!
    Chris

    Hi Chris,
    Adobe isn't responding to requests for information about the future of the iOS app, or even the future of the service itself.  It's a shame for those of us who like the app/service, but you might be better off looking at a different photo service (before you get locked in).  For more information, check out these posts:
    https://forums.adobe.com/thread/1655859
    https://forums.adobe.com/thread/1752110

Maybe you are looking for