Adding Android Licensing with Flash Professional and AIR 3.0

I have done the overlay AIR 3 stuff, but I still can't find an answer on how to get Android Licensing Service implemented after days and days of searching. It is pretty poitless to package a paid Android app without the licensing check as it would just easily hand the app to unauthorized users to install it without a fight.
Do not post this absurd unhelpful link: http://www.adobe.com/devnet/air/articles/android-licensing-native-extensions.html
It is only instructions for the bizzare FlashBuilder tool, and is quite long winded and excessive as well
Android Licesnsing Service is listed as a feature of AIR 3. How do I enable or install it onto my app in Flash Professional.

Hi, thanks for responding, Joe.
Yes, I do plan on customizing the implementation the best I can.
I am fine with using command line to build my project if needed, I just need it to work and need to know how to do it. I am very eager to get this finished up and published. It is very frustrating to have an app all ready for android after months upon months of working on it nonstop, but then get stuck on this.
I have been trying to get this all figured out the past several days. It is very confusing and there is barely any info out there on it.
I am using Eclipse to try and build this Java extension, as I have Flash Pro and not builder.
I have gotten the Jar created from the "Creating the Java project" step.
Now on the "Developing the ActionScript library."
It says to make a project and copy files form frameworks\projects\air\Licensing\Android\AndroidLicensingJavaProject\src\ which are java files, and do some stuff, then create a SWC from them.
I sort of suspect it was a typo in the article and is supposed to be frameworks\projects\air\Licensing\Android\AndroidLicensingLib\src\
seeing as it shows .as files in the project not .java.
Also it refers to what I think it means to be ExtensionContext as "ExternalContext," which does not appear to exist in flash.external on step 4 of 'Developing the ActionScript Library.'
So the article has some flaws, and should probably be rewritten and include instructions for the proper flash editor, Flash Professional.
Anyhow, I came up with a hack to build I SWC from Flash Pro which I hope will work.
I am trying to hack together a solution to get this all to work. It is very unpleasant having to guess and figure allot of things out myself. Is there going to be a proper solution in the future? If so, roughly how long will it be? I really need to get my projects published now or very soon, not a year or 6 months from now.
I tried to complie my project to build the SWF I need for packaging with the native extension and I get this error:
"Unexpected or unknown element or attribute in the application descriptor file.
/path-to-my-app/myappname-app.xml(49): error 103: application.android.extensions is an unexpected element/attribute"
I am also getting "Missing implementation for platform: Android-ARM" when I try to build the Native Extension. The person who has commented on the article ( http://www.adobe.com/devnet/air/articles/android-licensing-native-extensions.html , comments at the bottom of the page) has this very same problem.

Similar Messages

  • Building Android Applications with Flash Professional CS5.5 | ADC Presents | Adobe TV

    In this video, Ryan Stewart demonstrates how easy it is to build Android applications using Flash Professional CS5.5.
    http://adobe.ly/zEO3pR

    This feature is really awesome, it's great how you can embed other files such as XML with the application you want to publish.

  • Starling with Flash Professional CS6?

    Hi - Quick question to somone who knows.
    Can you use Starling with Flash CS6 professional, or do you need to use Flash Builder?
    I have an animation for IOS developed with Flash Professional and the audio goes out of sync on the iPad. Someone recommended trying Starling and I am struggling. I have found loads of downloads, but no FLA downloads to demonstrate it.

    You can use Starling with CS6, I've done some testing with it, but not much more. I just know it works fine in CS6. All you should need to do is download the classes and then follow any of the examples. Here's a barebones example that will initialize Starling and show the stats monitor:
    Document Class:
    package
              import flash.display.MovieClip;
              import flash.display.Sprite;
              import starling.core.Starling;
              public class StarlingTest extends MovieClip
                        private var starling:Starling;
                        public function StarlingTest()
                                  starling = new Starling(Game, stage);
                                  starling.start();
                                  starling.showStats = true;
    And then you need the Game class:
    package
              import flash.display.BitmapData;
              import starling.display.Sprite;
              import starling.events.EnterFrameEvent;
              import starling.text.TextField;
              import starling.display.Image;
              import starling.textures.Texture;
              import com.greensock.TweenMax;
              import flash.events.* ;
              public class Game extends Sprite
                        private var textField:TextField;
                         public function Game()
                                  addEventListener(EnterFrameEvent.ENTER_FRAME, update);
                        private function update(e:EnterFrameEvent):void
    I took out the code inside update that added Sprites to the stage... but this should at least get Starling up and running for you.

  • Flash builder and air app Help

    Hi everyone
    I am new to flash builder I have many adobe products ie master collection, and have an Idea for a small application. But need it to do a few things. I have only looked into fash builder a little but want to know a few things before getting started by getting the trial and then purchasing the real deal.
    With flash builder and air can I make a app that will detect the top most window on the clients computer and return the name of the program ie photoshop etc and then give me the name of the active window, tab etc.
    How much scope is there for interaction with other adobe products in the master collection.
    I have written a few little script before in java. vb, applescript and actionscipt but I want to know if flash builder and air combo has the functionality I need before I bother getting into it to deep.
    Thankyou for your time in advance.
    Regards Daniel

    You can run the AIR app separately, it should still be on your system (Applications > Adobe > Adobe Help or the root of your Start menu on windows).
    If for some reason the app isn't there, reinstall it from http://www.adobe.com/support/chc/. There's a preference under Edit > Preferences > General Settings for "Accessibility Mode". If you select "Open Help in browser", your Adobe applications will open a browser instead of launching CHC.
    Jason San Jose
    Software Engineer, Flash Builder

  • Using Away3D with Flash Professional

    Hi guys,
    Flash Rookie here.
    I am simply trying to get up and running with flash professional and Away3D.
    I tried following this guide: https://docs.google.com/document/pub?id=1K3L4JajVRPmsQ_v0RgYNQhRmgIcA4WvknwLIRKjPUyI
    But even then I couldn't get it running.
    Could somone please explain an obvious step by step process of (downloading, installing, linking to then running simple example in Away 3D.) Really clearly written as if talking to a child.
    Thanks very much.
    MrB

    Here are the errors:
    Scene 1, Layer 'Layer 1', Frame 1, Line 1
    1172: Definition away3d.cameras:Camera3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 3
    1172: Definition away3d.containers:Scene3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 5
    1172: Definition away3d.containers:View3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 7
    1172: Definition away3d.core.math:Number3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 9
    1172: Definition away3d.core.render:Renderer could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 11
    1172: Definition away3d.primitives:WireCube could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 1
    1172: Definition away3d.cameras:Camera3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 3
    1172: Definition away3d.containers:Scene3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 5
    1172: Definition away3d.containers:View3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 7
    1172: Definition away3d.core.math:Number3D could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 9
    1172: Definition away3d.core.render:Renderer could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 11
    1172: Definition away3d.primitives:WireCube could not be found.
    Scene 1, Layer 'Layer 1', Frame 1, Line 15
    1046: Type was not found or was not a compile-time constant: Scene3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 21
    1046: Type was not found or was not a compile-time constant: View3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 25
    1046: Type was not found or was not a compile-time constant: Camera3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 27
    1046: Type was not found or was not a compile-time constant: WireCube.
    Scene 1, Layer 'Layer 1', Frame 1, Line 41
    1180: Call to a possibly undefined method WireCube.
    Scene 1, Layer 'Layer 1', Frame 1, Line 57
    1046: Type was not found or was not a compile-time constant: Number3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 57
    1180: Call to a possibly undefined method Number3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 61
    1180: Call to a possibly undefined method Scene3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 65
    1180: Call to a possibly undefined method Camera3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 77
    1180: Call to a possibly undefined method View3D.
    Scene 1, Layer 'Layer 1', Frame 1, Line 85
    1120: Access of undefined property Renderer.

  • Installing and using Adobe Air SDK 2.5 with Flash Professional CS4

    Hi,
    I am trying to install the Air SDK 2.5 with Flash Professional CS4 with the intention of creating a program to use Actionscript 3 to communicate with the UDP interface using datagrams. (The server is the IL2 device link interface) As I am very new to this development environment I was wondering if anyone could answer a few questions.
    1) Can I use datagram sockets with Air 2.5 with Actionscript 3 and Flash CS4?
    2) Is there special procedure for installing the AIR SDK 2.5 or do I use the instructions layout in "How to Overlay the Adobe Air 2 SDK for Use with Flash Professional - Flash professional CS4"?
    3) If I do use those instructions, when I edit the namespace for my application do I set it to 2.0 or 2.5?
    4) As a stepping stone to building my program I was trying to try to build the Actionscript 3  DatagramSocketExample program that is published by Adobe. Unfortunately I am getting a '1046: Type was not found or was not a compile-time constant: DatagramSocketDataEvent'.
    Is there a step by step tutorial on how to get the example code up and running?
    Thankyou for your time and patience with my noob questions
    Ian

    This was part of the AIR 2.0 beta release note, but I used this for 2.5 and it works nice.
    You can try it too an make sure you use 2.5 wherever the not says 2.0beta2.
    Goodluck.
    How to Update Flash CS4 to Use the AIR 2 Beta SDK
    If you use Flash CS4 Professional to build Adobe AIR applications, please follow the instructions below to manually update the version of the AIR SDK to use version 2.0.
    Update Flash CS4 Professional to version 10.0.2 at http://www.adobe.com/support/flash/downloads.html or select "Help > Updates... " from within Flash CS4.
    Quit Flash CS4 Professional if it is open.
    Navigate to the Flash CS4 installation folder. The default location on Windows is "C:\Program Files\Adobe\Adobe Flash CS4\" and on Mac OS "/Applications/Adobe Flash CS4/"
    Within the "Adobe Flash CS4" folder you should see a folder called "AIK1.5". If this folder is not present repeat step #1.
    Rename the folder "AIK1.5" to "AIK1.5 OLD" or delete it if you do not need to save a copy of it.
    Make a new folder called "AIK1.5"
    Download the Adobe AIR 2 SDK from the labs website and uncompress the contents of the folder to the new "AIK1.5" folder you just created.
    Copy the "airglobal.swc" file located within the "Adobe Flash CS4/AIK1.5/frameworks/libs/air/" folder into the "Adobe Flash CS4/Common/Configuration/ActionScript 3.0/AIR1.5/" folder.
    Flash CS4 is now configured to use the AIR 2 beta 2 SDK.
    In order to take advantage of the new AIR 2 beta 2 features, you will need to update your application descriptor file to use the "2.0beta2" namespace.

  • The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5

    The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5
    This is happening for most of the pupils and staff at our school and they are unable to complete their work.
    This also happens on a fresh copy of windows and CS5.5 without any updates and also with all latest updates.
    I have tried it on 32-bit and 64-bit CS5, Windows, Air and Java with the same error every time.
    There are a small minority of users where this works fine for them with no issue.
    I have tried re-setting user profiles.
    I have tried a local admin and domain admin account with the same issue
    I have noticed however that if the file is moved to the shared area it will compile. If it is on their documents area it will not compile. The users have full control in both locations. This is fine for staff but we are unable to give full control or modify access to the shared area for the pupil's
    I have been through the online support section and it directed me to phone Adobe Customer care who informed me that all support has been discontinued for CS5, CS5.5 and CS6 and they will only support creative cloud.
    Any ideas what to try next? There is no other information about this error and I cannot work out what is causing it.

    I have tried and  able to package an apk using your XML file.Could you please make sure your XML file starting from line 1 and coloumn 0.Any space will results in the error (Application Descriptor file cannot be parsed)
    -Pranali

  • Adding advertising to app made with Flash Professional

    Hi,
    can someone help me with how to add advertising, like Google Mobile Ads, to an app made with Flash Professional?
    Many thanks in advance!

    You can try this Using the AdMob Adobe AIR native extension for Android | Adobe Developer Connection

  • How to add norwegian language to my ipa-file in Adobe Flash Professional and Settings for AIR

    Hi,
    How to add Norwegian languages to my ipa-file in Adobe Flash Professional and Settings for AIR?
    The Norwegian users get my apps in english instead of Norweigan. Desperate for help!
    Regards Ylva

    Sorry but you will not get help here for that problem. This forum is about AIR Help, an online help format produced using AIR, it is not about AIR itself.
    I'll see if I can move it.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • To whom this may concern, I'm having troubles with uploading Flash Files Online throught Adobe Flash Professional and I would to correct the Error Messages I've received as an indication that I need to correct them in order to test a Flash and Shockwave F

    To whom this may concern, I'm having troubles with uploading Flash Files Online throught Adobe Flash Professional and I would to correct the Error Messages I've received as an indication that I need to correct them in order to test a Flash and Shockwave Files I have stored into the Software of Flash!. Could you please help me get this matter resolved? Gerard Hargrove.

    what exactly are you trying to do and attach a screenshot of the error message, if it's in english.

  • Trying to understand capabilities of Flash Professional and Flash Builder 4

    I recently purchased the CS5 Master Collection and am struggling to understand the uses for Flash Professional and Flash Builder 4.  I was inspired by Jay Pavlina's Super Mario Crossover game and wish to make similar applications. 
    However, I am confused about whether I should be using Flash Professional or Flash Builder 4 or both?  I purchased the two books that Jay Pavlina recommended "ActionScript 3.0 Animation Making Things Move!" and "Essential ActionScript 3.0".  I've been trying to find resources that will help me understand exactly the purpose of each of these applications. 
    It appears to me that ActionScript 3.0 is used in both?  So which one should I be using?  Or both?  Or is one more design oriented and the other more development oriented?  Can one make flash game like Jay's using just one or the other?  Any help would be greatly appreciated.

    I thought about it a bit more. I think you should take my advice with a grain of salt. I am still standing behind what I said but there are some circumstances that we are not in control of.
    If your task is to be the beginning and the end of your code - don't bother with Flash IDE. BUT, if you plan to monetize on your Flash/ActionScript skills, you may not have choice but be familiar with as many environments as possible.
    Here is my personal experiense that illustrates this point.
    I always prayed to gods, chanted to mandalas and made offerings to spirits to avoid a single thing - not ever deal with custom Flash components. Rightly or wrongly I perceive them as one of the lamest Macromedia creations. I am not talking about SWCs but about this thing that you create with preview and all other crap. Above all, it did not (and still doesn't) make much sense to me from functionality standpoint.
    Anyway, as, I guess, a karmic retribution, I was dealt this card. I got involved in a project(s) where I was not told that my main task would be to, you are right, write and reverse engineer Flash custom components. If I did not know Flash IDE I would be totally lost. Custom components are so counter-intuitive that only people without programming background can view them as a convenience. Well, it is a convenience if they are written correctly.
    The point is that, if you want to make a career out of it, you should gradually get involved with Flash IDE for now. The truth is that there are tons of agencies out there that do not have resources to hire high level developers and they employ "drag n' drop, cut n' paste" individuals. And this is a real market segment. Even well seasoned development houses have to succumb to this reality and cater to such entities.
    It is your choice, of course, but I thought it wouldn't be fare to you to be very fascist about pushing my one-sided views.

  • Develop Apps for Android & iOS with Flash Pro CS6 ?

    I just want to start create Apps and Games for Android.
    1. Is able to me to build an Application or Games with Flash Pro CS6 and Publish it to Android phone? also same with iOS?
    2. Whats different in developing Apps with Flash Pro and Flash Builder?
    Thankyou

    1 yes and yes.
    2. flash pro is more suitable for animators (and therefore game creators) whereas flash builder is more suitable for developers (coders): http://forums.adobe.com/thread/791165

  • Adobe Flash Editor by default opens with Flash Professional CS4 when I have CS5 Installed ?

    How can I change with which Flash Professional to open the fla files in Flash Builder? My Fla files are saved as CS5 version, they open by default with CS5 when I double click them, but still Flash Builder tries to open them with CS4 ??? I couldn't find any simple switch setting for that, anyone ?
    Also is there a quick way to publish a specific fla file in Flash Builder which I want published just once not every time I save, or I have to open it in Flash Professional and publish it from there ?

    I'm not certain - I haven't done that. But I found this link...
    http://help.adobe.com/en_US/flash/cs/using/WSFD77A256-0DE1-46c7-86FB-CC4A8AE2EAA6.html
    Part way through the page, it mentions this:
    To perform testing or debugging in Flash Pro with a file you are editing in Flash Builder 4:
    From the Flash Builder development perspective, choose Run > Test Movie or Run > Debug Movie. Note that each menu item has a Flash Pro icon next to it. Once the SWF window or debug session is closed, focus will return to Flash Builder unless there are compiler errors in frame scripts inside the FLA file associated with the project. Information about all errors is sent to the Errors panel in Flash Builder.
    To publish the FLA file associated with the current project in Flash Builder:
    From the Flash Builder development perspective, choose Project > Publish Movie. Note the Flash Pro icon next to the menu command.
    Good luck!

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

Maybe you are looking for