These instructions are for using Appoxee SDK with Adobe Air applications. The ANE was created on FB 4.7 using Air Compiler 19. The code samples are in ActionScript under an ActionScript Mobile Project.
- Download the ANE+SWC files from the Appoxee Download Page.
- Create a new ActionScript Mobile Project, as shown in the image.
- Name your project , as shown in the image.
- In the new project's dialog under Mobile Settings tab, mark the following permissions : INTERNET , WRITE_EXTERNAL_STORAGE, WAKE_LOCK, ACCESS_NETWORK_STATE , as shown in the image. Make sure that "Google Android" is ticked under "Target Platforms"
- in the new project's dialog under Build Paths tab, in the Library Path tab, Add the Appoxee SWC. add other SWC files if you use other 3rd party libs.
- in the new project's dialog under Build Paths tab, in the Native Extensions tab, Add the Appoxee ANE. add other ANE files if you use other 3rd party libs.
- After the project is generated, go into it's properties, into ActionScript Build Package ->Google Android and tick all the checkboxes of the ANE, including Appoxee's . Press OK.
- In your app's XML file , inside the Android tag you will find the Android Additions. Add the following code before the </manifest> tag :
- In your app's main .as file , add the following code :
- This conclude the basic integration of the ANE.