3/27/2023 0 Comments Adobe air testingThis step will be a bit cumbersome the first time because all Adobe Air application code must be digitally signed. Once you have tested your application, or are ready to show your friends, or just want see how your icon looks in the Dock you are ready to packing your Air Application. If that is the case then simply append the full path to your SDK bin to the command, for example: c:\air\bin\adl application.xml Step 6 - Package Your Application There is a good chance however that you ignored my suggestion to add the airsdk/bin directory to your system environment path, in which case you got something like adl not found. If all goes well your application should launch. Open up a command prompt, or shell and navigate to /appname/source/ then run the following command: adl application.xml You are probably getting pretty anxious to test your new Adobe AIR application, to do that it's pretty simple. If you want to add CSS, JavaScript, or images, you can create subfolders in your /appname/source/ folder for those assets, and use them just like you would in a normal web application. The next step can be as detailed as you like, but really all you need to do is create an index.html file. There are a lot more optional tags you can add, check out the templates/descriptor-template.xml file in the Air SDK. It should be pretty obvious what to put for all the values, the icon values will be used as your application icon, you can omit these if you don't really want to create the PNG's, but it's kind of cool to see your own icons. Let's call this file application.xml and place it in /appname/source/ Your application descriptor is an XML file that sets some properties for your application. Step 3 - Create an Application Descriptor ![]() Next we need to create some directories for our code, create the following directories: When you install the Adobe AIR SDK, you will want to add it's bin/ directory to your environment path. If you haven't done so already, head over to Adobe to download and install the Adobe AIR Runtime, and the Adobe AIR SDK. Run through this quick tutorial and you will be unstoppable! Step 1 - Install Adobe AIR
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |