Appcan's development tools are primarily developed using HTML5, and web developers who do not have mobile development-native development experience are fully ready to get started.
Get Appcan tool, do the first application, is very simple, is the company has a WAP station, add a shell.
Open the development tool and create a new project, such as:
After the new project, you will find the project directory structure, the phone folder, there are CSS, JS and image directory, there are some HTML files, these HTML files are divided into two parts, the main page and the content page.
Open index_content.html
This page has a load function by default,
Appcan.ready (function () {
});
When the page is initialized, add a jump
Appcan.openwinwithurl (' index ', ' http://www.baidu.com ');
Very simple, just a jump code, the next thing to do is to package, build the APK installation package and the IPA installation package.
Appcan Hybrid Development tools use (II)