PhoneGap and phonegap

Source: Internet
Author: User

PhoneGap and phonegap
Reprinted please indicate the source: CodingAlarm's blog
Introduction: PhoneGap is a quick APP development platform that converts pages you write into apps (both Android and IOS). It can also call the core function interfaces of mobile phones, contacts, geography, sound, and vibration. With its front-end staff, you can also quickly develop apps. However, the developed APP depends on html, which is different from the native APP written in Object-c or Android, as shown below:
1. If the APP on your hybrid page does not load the CSS style when the network is poor, the page will become as follows, and the Native will not.
2. the animation performance will be better native, and it can be very gorgeous and stable.
The first case cannot be avoided, but the second case can still be compensated by technology, such as jQuery Mobile.
JQuery Mobile is a powerful assistant to PhoneGap. Although JQM is not essential for developing PhoneGap programs, it is also possible to write common pages using html + css. However, with JQM, your "APP" can be more like a real APP (hybrid apps should note that your page should look more like APP native ).
JQM is a bunch of style sets and events, such as a button. The mobile phone has a display style of the mobile phone, and Android and IOS are different, html is often used to make other mobile phone users do not feel good. Front-end personnel must make buttons and other components closer to the style of the mobile phone platform. JQM provides encapsulation of styles in this aspect. Through simple attribute settings, you can make buttons similar to those on the mobile phone platform, which is very convenient.

Package the page into an APP through the PhoneGap Platform
Failed. Otherwise, phoneGap fails to pass the upload.
2. Package the created site into a zip file, right-click your site folder, select "add to compressed file", and select the compressed file type in the pop-up dialog box.

3. Use PhoneGap to publish the installation package (create application) of various mobile platforms a. log on to the https://build.phonegap.com/log on with Adobe account or GitHub account, if you do not have these two accounts select Sign up to register
Sign in

Sign up
You can publish an app in the free version. If you want to publish multiple apps that need to be upgraded, click free.

After clicking "free", the system prompts you to log on, but you do not have an account. What should I do? Click "Get an Adobe ID" under sign in to register

The registration successful page is as follows:




B. Upload the packaged zip package and Click Upload a. zip file to find your zip package.

Waiting for upload

Uploaded successfully. Click ready to build.


The following page appears. Click the Android icon to generate the apk installation package for the Android platform for phoneGap. You can also choose IOS and win

After you click Android, the apk will be downloaded to the local device and installed on the mobile phone to see if your mobile phone has an additional APP? In this way, your website becomes an application. Are you satisfied with the APP generated by PhoneGap ?.
If you use the 360 browser and the 360 Mobile Phone Manager, it will be like this. Install it with one click.

End

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.