Appcan Development Application Platform: a description of the custom engine mechanism

Source: Internet
Author: User

Appcan Development Service Platform Application engine has been open source, iOS or Android developers can get the Appcan Development Service Platform Application engine all the code, according to their own needs to develop a suitable application engine, This note is used to instruct developers to upload their application engine to the Appcan platform and use their own modified application engine on the Appcan Development Service platform.

To re-modify the application engine requires a native environment, that is, the iOS application engine requires OS X system and Xcode environment, Android application engine needs to have an Android development environment.

  Customizing the iOS app Engine:

1. Get the iOS App engine source code, there is a appcanengine directory in the source directory, through Xcode import application engine engineering, according to their own needs to modify the application engine, Compile build Static library file Libappcanengine.a, the newly generated libappcanengine.a file overwrites the Appcanplugin/appcanplugin/engine/libappcanengine.a file

2. Compress the Appcanplugin directory using the 7z compression tool and note that the compression format is 7z

3. Edit the Iosengine.xml file with the following contents:

4. The generated 7z compressed file (before compressing this 7z file recommended need to remove the file suffix name) and edited Iosengine.xml file compressed into a ZIP file

After creating the Appcan platform Custom iOS app engine, you can upload to the appcan.cn platform and use your own defined iOS engine on the appcan.cn platform.

 iOS directory structure:

  custom Android App Engine:

1. Get the Android application engine source code, have the engine directory in the source directory, import the application engine project through the Android development environment, modify the application engine according to your own needs, compile and build the application engine Appcanengine.jar file.

2. Overwrite the source directory with the newly generated application engine Appcanengine.jar file

En_baseengineproject/webkitcorepalm/libs/appcanengine.jar file

3. Compress the Webkitcorepalm directory in the en_baseengineproject using the 7z compression tool, noting that the compression format is 7z

4. Edit the Androidengine.xml with the following contents:

5. Compress the resulting 7z compressed file (before compressing the 7z file, it is recommended to remove the file suffix name) and edit the Androidengine.xml file into a zip file

After creating the Appcan platform custom Android application engine, you can upload to the appcan.cn platform and use your own defined Android engine on the appcan.cn platform.

  Android directory structure:


more Appcan Development Application Platform Documentation:http://newdocx.appcan.cn/index.html Click here to view.

Appcan Development Application Platform: a description of the custom engine mechanism

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.