Appcan Hybrid Development tools use (II)

Source: Internet
Author: User

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)

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.