Commercial App using Adobe Air S

Hello,
I have completed building an entire commercial app using
adobe air using html+ajax. Now when I decided to make the .air file
and install it on various computers, I realised that the entire
code (html+ajax+images) is available in plainsight to the users in
their program files directory.
Can someone please tell me a solution? Should I obfuscate the
code? What options do I really have? Please help.
Thank you.

While this might not bee too comfortable, you could try to
create a browser Flex app, which you use a a container for HTML/JS
data container.
Your app calls the Flex app for various parts. Within the
Flex container you need to store and somehow encrypt all resources.
For sure, the actual code in the browser will be visible -
but probably not for each and any user.
Not an ideal solution, but at least an option.
Additionally google for 'JavaScript obfuscator':
http://www.google.com/search?client=safari&rls=de-de&q=javascript+obfuscator&ie=UTF-8&oe=U TF-8
Additionally, have a look at my
previous
post regarding Flex/AIR obfuscators

Similar Messages

  • Jacquie Lawson Advent Calendar app using Adobe Air

    In December I bought the Jacquie Lawson Advent Calendar and downloaded it to my laptop. It worked perfectly. When you booted up it would open up and put a snow globe on the lower right corner of your desktop. When you clicked on it choices showed and you could go to the village. Then a full screen would open up with a beautiful English town in the snow. Each day of Dec you could click on a numbered ornament and an animated flash movie would play. It was tied to the computer's calendar, so you would have to wait to open up the places.
    It stopped working after day 9.
    I tried all the usual things, rebooting, clearing caches and plists, uninstalling, redownloading and reinstalling. No luck. I've written the Jacquie Lawson more than half a dozen times but have yet to receive any suggestions on what to do.
    Is there anyone else out there who has had this same problem? Is there anyone who can offer other suggestions? When the program worked it was amazingly beautiful.
    When I boot up the program load but no snow globe and the menu on the top of the pages offeres nothing useful.

    Hi Chino3,
    Please try downloading Air from the direct download: http://helpx.adobe.com/muse/kb/installer-file-damaged.html.
    Refer the kb:
    http://forums.adobe.com/message/4018250
    http://forums.adobe.com/message/5542887
    Regards,
    Romit Sinha

  • Is there any iPad app using adobe AIR ?

    Hi there,
    Do you know some good apps for iPad using AIR ?
    I could only find the famous game "Machinarium" and the Wired app...
    Thank you all very much.
    Regards,
    Hugo

    My game Magnolia is both for iPad and iPhone
    App store: http://itunes.apple.com/us/app/magnolia/id470511737?mt=8
    And also available on Android
    Brian

  • How would I create an USB Barcode Scanner Listener using Adobe AIR?

    I want to create a USB barcode scanner listener that would read in the scanned barcode, and place the barcode in a field in my AIR App even if the program wasn't focused on that particular field in the App.  If the client was using the application at the time for something else the scan would be buffered in AIR till requested or the AIR App has been idle for x period of time where upon the field would be brought into focus.
    How would I go about this (I'm developing on windows)  Was hoping for a USB solution within AIR but not fussy at all if I have to go outside AIR to solve this problem.  Java, Flex, ActionScript, Flash, C, C++, C#, VB (currently I've developed the rest of the App using Adobe AIR and JavaScript)
    I thought after some research that I could make a Java App (if all else fails) that listens and buffers the input and passes it along using a socket but JUSB doesn't work on Windows properly.
    I'm not stuck on any one particular implementation or idea just want to get development underway so...  Any ideas? or suggestions would be awesome.  I've googled a lot but haven't found any examples or solid suggestions, so any URL pointing to that information would be great too, if you know of a good one, then I'd be able to read up on any suggestion.
    Thanks,
    Marty

    Thanks Joe,
    Just for anyone else.  I bought a Metologic Scanner - VoyagerCG.  I was trying to get it to work using Java USB for a bit with no luck.  But if you get this scanner or one like it, it can be configured as a Virtual COM Port.  Which is very very easy in Java to set up as a listener and use sockets to transfer the data and listen within AIR.
    This PDF has links to drivers and instructions if this is useful to anyone.
    http://taltechnologies.com/products/Eclipse-Voyager%20Interface%20Options.pdf
    All the best,
    Marty

  • How do I develop for multiple screen resolutions using Adobe Air

    Hi,
    I'm looking at developing mobile apps using Adobe Air but there's something I'm not quite sure. Sorry if this is a newbie question or has been repeated but I have looked at tutorials, etc but just want to get a general idea on how to prepare the assets. Here are some of my questions:-
    1) If I want to develop for the iPhone non-retina and retina resolution, do I actually need to only write the code and layout the graphics in retina(960 x 640) stage size and it will automatically scale down for non-retina resolution?
    2) How do I cater for iPhone 5 resolution? Do I actually need to swap say the background images through code by detecting the resolution size it was in? or do I actually just leave the background image longer it exceeds the stage height so when it's iPhone 5 it will show everything?
    thanks for the help!

    If you are talking about regular Flash work, and not your own code-layout application, then what happens depends on the scale mode of the stage. Typically, when doing code layout the stage is set to no_scale, and you have to do all the hard work yourself, calculating the size of things, and laying them out with ActionScript.
    If it's more of a typical Flash graphical scene there are two other scale modes that make life easier for you.
    The default scale mode is show_all. With that you will be certain to see all of the content of your original Flash stage, and if the screen is a wider ratio than your stage, the content that is off the sides of the stage will be revealed. See this app I made, that uses that technique:
    https://itunes.apple.com/us/app/meet-heckerty-funny-interactive/id514220257?mt=8
    It works well enough, I have enough extra background graphics to go out to a 16:9 screen, including iPhone 5. That particular stage is 1024x768, and it will scale all the way from iPad 3 Retina down to iPhone 3gs.
    The other scale mode that is useful is no_border. In that mode you are certain to not have any black borders around the stage. It achieves that by cropping into either the left and right, or the top and bottom, of the stage. See these apps I made, that work that way:
    https://itunes.apple.com/us/app/milkshake-mayhem/id556962979?mt=8
    https://itunes.apple.com/us/app/p.s.-snowflake-yourself/id571384475?mt=8
    In both of those cases I have content that is correct for half way between the ratio limits of 16:9 and 4:3 (or 9:16 and 3:4 for the portrait case). When the app runs on your device, some amount of the left and right, or the top and bottom, of the stage is cropped. I have enough background content for that to be ok, and all of the important content is within the middle 14:9 or 9:14 area of the screen. The stage size for the landscape app is 1680xx1080, exactly 14:9. This approach is better than the show_all one, in that the user doesn't feel like they are seeing a lot of blank space, as can be the case when viewing a 4:3 stage on a 16:9 screen.
    One last thing, even with either of those techniques the app won't fill the iPhone 5 screen. To get that to work you have to include a splash screen that is 640x1136, and name [email protected]. With that in place iOS knows to make your app use the full width or height of the iPhone 5.

  • Flash built app with in-app purchases using Adobe AIR

    I am working on building an app using flash which will run on desktop/ios/android, using adobe air to publish the final content. I am pretty proficient using flash, but not so much in actionscript.
    The idea for the app is one of a library where a user can read a free book (short story really) and then have the option to purchase other stories via in-app purchases.
    Does anyone know how this would work best? Should those short stories be located in separate movie clips within the app and are just locked and invisible until the user makes payment? Then when paid they are made visible for the user to read? Or should be be held somewhere externally? Maybe in PDF form, so when the user purchases then they can view the pdf within the app?
    Or what would people recommend?
    Thank you in advance for any help/advice!

    they can be within your app.
    that's easiest and i don't think anyone would bother de-compiling your app to access the paid content.

  • App that uses Adobe Air will not work

    I recently tried to install a widget from a greeting card company that uses Adobe Air.  The app will not load. I get a window for the license agreement for Adobe Air and when I click I agreee nothing happens.

    I use Windows 7.  I have tried all the compatibility settings in the app properties with the same result.  I left it set on Windows 7 compatiblility.  I tried downloading the app and then Adobe Air, uninstalled both and tried downloading Adobe Air first then the app.  I contacted the app vendor (Jacquie Lawson) and Andrew with their support sent me to the Adobe support site. Once the downloads completed and try to open the app this is what I see:
    I click on the I Agree button and it closes.....nothing else.  I appreciate your help.  Doing things is how I have learned so hopefully this will be  a learning experience.

  • Porting existing Android native app to Adobe AIR

    I indent to port a existing Android native app to Adobe AIR for android. Reasons: To use my existing AS3 skills, "cost" for native is too high and soon port it to iOS.
    Difficulties I face here:
    Existing app package, say "com.mygame.myapp" has to be retained. By using FB with AIR SDK, we get a "air." prefix to the package name. It becomes "air.com.mygame.myapp".
    Will this solution still solve the problem in AIR SDK removing "air." prefix from package name has any working solution!?.
    The help link http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html is dead now. iOS specific is found here Opt-out | Adobe AIR app analytics | iOS
    Please suggest me a Mac suitable solution.
    In Android, using a ".keystore" file, we need to export as the ".APK" file. In AIR, if we publish using a new ".p12" signature file would it be compatible with Google Play, and it rules.
    App's existing users should find difficulty in upgrading the app.
    Another unanswered thread Possible to remove "air." appended on package and target a .keystore rather than .p12?
    Thanks a lot.

    I was able to figure it out with the help of Jeff Ward Ooh, I just discovered how to easily remove the 'air.' prefix when packaging…
    Tested and works fine with AIR SDK 15, Mac OSX 10.10 Yosemite. actionscript 3 - Android App ID prefix problem - Stack Overflow
    java -jar /FULL_PATH_TO_AIR_SDK/lib/adt.jar -package -target apk-captive-runtime -storetype jks -keystore <DEVELOPER>.keystore -storepass <PASSWORD> Main.apk Main-app.xml Main.swf -extdir /PATH_TO_ANE_DIRECTORY

  • SQLite encrypted Database does not get attached Using Adobe Air,Why?

    Hi,
    Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code
                   databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
                   databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");
    dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);
    dbConnection.attach("db2",databaseFile2,null,secKey);
    got the following error.
    ERROR #3125 Unable to open the database file.

    And I would say more "this is the issue" !
    It should be possible as it is clearly stated in the doc :
    public function attach(name:String, reference:Object = null, responder:Responder = null, encryptionKey:ByteArray = null):void
    with 
    encryptionKey:ByteArray (default = null) — The encryption key for the database file. If the attach() call creates a database, the database is encrypted and the specified key is used as the encryption key for the database. If the call attaches an existing encrypted database, the value must match the database's encryption key or an error occurs. If the database being attached is not encrypted, or to create an unencrypted database, the value must be null (the default).
    so with a same encryptionkey, I (and this should be the same for FinalTarget) can open the encrypted db but not to attach it... quite strange.

  • Embedding HTML page into Flex using Adobe AIR

    Hi,
    This is Siva Kumar. Need help in embedding an HTML in Flex .
    We are using Adobe Air. To embed an HTML in Flex we used
    <mx:HTML> tag. Its working fine but whts the problem is its
    not allowing to download files / attachements. I tried to use
    google flex iframes to resolve this issue. I am able to download
    files/attachments if I open application as web / standalone. If I
    try to open same application using adobe air its giving error like
    " ExternalInterface is not available in this container.
    Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or
    other browsers that support NPRuntime are required"
    Later wht I found is at present ExternalInterface is not
    supporting adobe air.
    Could anybody help me to resolve this issue. If anybody has
    any idea on how to overcome this issue. Please suggest me to
    resolve this issue. Thanks in Advance.
    Thanks,
    Siva Kumar

    looks like your equipmentArray is empty. Put a breakpoint inside that method to see if there is any data.

  • Developing and using Adobe AIR native extensions for Android devices

    I was using this tutorial:
    "Developing and using Adobe AIR native extensions for Android devices"
    http://www.adobe.com/devnet/air/articles/ane-android-devices.html
    When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
    Error occurred while packaging the application:
    aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
    Does anyone know what the issue might be?

    Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.

  • To create a simulation tutorial of an iPad App using Adobe Captivate 08.

    To create a simulation tutorial of an iPad App using Adobe Captivate 08.
    The solution I got is to use Reflector App to mirror the iPad on to the PC and then record the screen. And to show user taps (essential for creating a simulation) through the reflector, NRTouchPoints, a UIWindow subclass that simulates user touches on the screen, has to be included in the application. Has anyone tried this out? Is this suggestion feasible?

    After developing the .swf, I'm creating a .apk (Android application
    package) file which includes the finished .swf file (at 720x1280), 3 icon
    files  (one of which is used as the button on the Android screen to start
    the app), the required .xml file (which holds the necessary info on how
    Android uses the .apk file).
    The finished .apk file is then uploaded to the Android device using the adb
    (Android Debug Bridge) commands in a command prompt.
    Gary Giurbino*
    eLearning Developer
    *Enterprise *Product Docs & Communication
    W: 650.214.2462
    [email protected]
    <http://www.google.com/>*
    1600 Amphitheatre Pkwy
    Mountain View, CA 94043

  • Has anyone implemented Facebook SSO on Android using Adobe AIR ANE?

    Has Anyone implemented Facebook SSO on Android using Adobe AIR ANE?
    All help would be appreciated

    Hi,
    We have two ANE's for this, one is a basic single sign on and the other is a full FB API implementation.
    Single sign on:
    http://distriqt.com/product/air-native-extensions/facebook-utils
    Full API:
    http://distriqt.com/product/air-native-extensions/facebookapi
    Cheers

  • Can you create an app using Adobe DPS, then pass the Folio to a programmer to add interactivity?

    I'd like to know if I can create an app using Adobe DPS, then pass the folio to a programmer to add advanced interactivity that DPS doesn't provide. I would like the programmer to use either XCode or Android SDK because it is a standard, but they can also use C#, JavaScript, and several other coding languages. The folio would serve the purpose of a tight digital comp for the programmer.

    Thanks for your help Bob! I found this article on the Adobe site. Figured I'd share it. http://helpx.adobe.com/digital-publishing-suite/help/import-html-articles.html

  • Play SWF file in Android using Adobe AIR.

    Hi All,
         I have a group of SWF files. I want to play these files in my Android Application using Adobe AIR. Is it possible? If yes, can anyone tell me how to do this.

    Is it a plain ActionScript3 project? if so, from memory, this should be enough:
    var loader:Loader = new Loader();
    loader.load(new URLRequest("yourswf.swf"));
    addChild(loader);
    Of course, you can get more control over the loading process, this may result in error if you paste down the code as is in a class that is not a subclass of DisplayObjectContainer, etc.

Maybe you are looking for