PhoneGap: Build a cross-platform APP: phoneGap mobile APP practice, serialization 1 (API in PhoneGap ),
Previously, Benbo serialized the book "Building a cross-platform APP: jQuery Mobile APP practice", which is favored by beginners of Mobile development.
From now on, the book phoneGap, its twin sister book, has become
Web multi-terminal development and learning series (II)-hardware interaction framework Phonegap learning and framework phonegap
Currently, mobile and desktop platforms have their own development languages and tools. If we want to develop a system that is compatible with multiple terminals, we need to use their own platform tools to develop their respective applic
World Wide Web Consortium device API standards, as they try to let web developers feel and appreciate the future now. Today, there is no platform to treat Web applications as a citizen, but Mozilla's promising boot to gecko platform has the opportunity to change the situation. Microsoft's Windows 8 is also making progress in prioritizing access to Web applications through the API, and it's worth watching. But the purpose of PhoneGap is to get a small
Previous blog post using PHONEGAP development based on HTML5 application one: phonegap introduction I introduced how to download the source code from the PHONEGAP official website and launch the first application, today we put the application of phonegap a little change, Let him achieve several features that compare th
PhoneGap, building a cross-platform APP: phoneGap mobile APP practice, is serialized for four times (using a program to load events ),
After learning about the events in PhoneGap, This section describes the usage of these events in detail. This section describes program loading events, that is, deviceready, pause, and resume events.
[Example 4-2 how to use the pr
PhoneGap introduction and simple deployment, and phonegap deployment
1. What is PhoneGap:
PhoneGap is a free and open source development tool and framework that allows you to develop programs on multiple mobile platforms using the powerful functions of HTML + JavaScript + CSS, developed programs are compiled on their r
Previously said
Sencha phonegap init com. pushsoft. myapp MyApp
The package installation package is named "“myapp.apk". The program name displayed on the mobile phone desktop (text under the icon) is also "MyApp"
If you want to change to another name, modify the MyApp \ config. xml file and set"
MyApp
"Change the name of MyApp in the middle to the desired name. Note: If the xml content contains Chinese c
1 who is Cordova? PhoneGapthe official documentationthat's very clear. Cordovais aPhoneGapengine, the relationship between the two is similar toWebKitwith theChromethe browser's relationship. So some core basic operations areCordovawith thePhoneGapare interlinked. Sometimes usePhoneGapCreate the project will appear some inexplicable problems, recommend the use ofCordova created . 2 Downloads phonegap and Cordova a little. See "Installation Configurati
Before this blog has been "building cross-platform App:jquery mobile app Combat" book, by the mobile development of the Novice's favorite.From now on, the serial of its twin sister book PhoneGap Mobile application of a book, Hope once was small white you, has become the great white.What the API in 3.6 PhoneGap can doThis chapter mainly introduces the preparation before
Before this blog has been "building cross-platform App:jquery mobile app Combat" book, by the mobile development of the Novice's favorite.From now on, the serial of its twin sister book PhoneGap Mobile application of a book, Hope once was small white you, has become the great white.What the API in 3.6 PhoneGap can doThis chapter mainly introduces the preparation before
Said beforeSencha phonegap Init com.pushsoft.myapp MyAppAfter the packaged program install package APK name is "myapp.apk", the program name displayed on the phone desktop (the text below the icon) is also "MyApp"If you want to change to a different name, change the Myapp\config.xml file, and change the top "Note that the assumption of XML content in Chinese, to be changed to UTF-8 encoding, note that the t
Before this blog has been "building cross-platform App:jquery mobile app Combat" book, by the mobile development of the Novice's favorite.From now on, the serial of its twin sister book PhoneGap Mobile application of a book, Hope once was small white you, has become the great white.What the API in 3.6 PhoneGap can doThis chapter mainly introduces the preparation before
It should be known that Phonegap/cordova (Android) just added a shell to WebApp, that is WebApp run on WebView. Android's WebView is a webkit kernel, but there is a difference between the WebView and the mobile chrome kernel. People who have used the mobile version of Chrome can obviously feel that performance is much smoother than their own browser (or WebView). Android 4.4 and above with the webview is already the chromium kernel, and below 4.4 is
1, phonegap configuration description:
Download PhoneGap source code, and then unzip directly. The version I downloaded is the PhoneGap2.9.0 version, and the following steps are made in this version, which may be slightly different for other versions.
Create a new folder under the Android project directory asserts www,. Then copy the Cordova1.js (the downloaded
Loading and using the phonegap plug-in and the phonegap plug-in
Some friends asked if they could send UDP data in the apps developed by CanTK and AppBuilder. HTML5 can only use HTTPS/HTTP/WebSocket communication methods, to use UDP, You need to package it into an installation package for a specific platform such as APK through phonegap. For this reason, I wrote
How to add the barcodescaner and PhoneGap plug-ins to develop phonegap applications on Mac
After two days, I finally realized the relationship between PhoneGap and Cordova. Some people say it is the relationship between WebKit and Chrome, but I personally understand that two things will do one more thing, in addition, PhoneG
In addition to being able to package HTML pages into an app that can be run directly, PhoneGap has one of the biggest advantages of using JavaScript to invoke devices to access hardware information on the device, which can be achieved only by relying on the native SDK. Sample 5-1 shows an example of using an API to get device information."Example 5-1 using PhoneGap for device information"After compiling wit
PhoneGap plug-in development process and phonegap plug-in process
I wrote a PhoneGap plug-in a few days ago. This plug-in provides a simple function, that is, to enable the viewport settings. However, compared with other plug-ins, there are several interesting points. Read the source code of PhoneGap carefully. Here w
PhoneGap and phonegapReprinted please indicate the source: CodingAlarm's blogIntroduction: 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
. JavaScript is ultimately not as efficient as the native program, which can be apparent when you want to do some animated effects.
Of course, the advantages of PhoneGap is also obvious, if you are doing books, query classes, gadget applications, these application UI interaction is not complex, and does not occupy a high CPU resources, PHONEGAP will play its advantages. For this type of application:
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.