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 bo
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
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 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 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
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
Both PhoneGap and Appcelerator Titanium are a very popular open source JavaScript framework for encapsulating and configuring mobile applications. This article is a comprehensive comparison of PhoneGap and Appcelerator Titanium by Kevin Whinnery, the Appcelerator developer.The following are all translations:I've often been asked a question at various events and conferences for developers: how titanium compa
1, what is PhoneGap?
PhoneGAP (http://phonegap.com), officially, is the HTML5 mobile application platform, which includes two parts:
1 Application Development Framework: The use of WEB/HTML5 technology to write applications, support equipment capabilities (such as GPS, gravity sensors, etc.) calls, support capacity plug-ins flexible expansion.
Figu
The mobile development Community's "Swiss Army Knife" PhoneGap released today in 1.3, bringing many new features (tools, controls) and improvements to this release, most notably the completion of support for Windows Phone. This also means that PHONEGAP has fully implemented support for all major mobile platforms.PhoneGap is an open-source, cross-platform mobile a
ESRI provides APIs for iOS, Android, and Windows phones. GIS developers need to use different ArcGIS mobile APIs to develop the same Mobile GIS application for different platforms, this not only increases development costs, increases development difficulty, but also wastes resources and manpower.
So can applications be applied to various mobile terminals at one time? Although mobile Web applications have not yet emerged, the answer is yes:HTML5 + jquery + phonegapTo achieve cross-
After you understand what's going on in PhoneGap, this section will begin to describe in detail the usage of these events. This sectionto describes the program load events, which are the 3 events of Deviceready, pause, and resume."Example 4-2 use of program load events"01After the program is run, the system automatically loads the script in the PhoneGap and then pops up the interface shown in 4-7 to indicat
:\apache-ant-1.9.6\bin to the environment variable path.5. Open cmd command line tool, execute D:\phonegap-2.9.1\lib\android\bin\create.bat D:\mycode\HelloPG com.gm.hellopg HELLOPG under Windows System, This creates the project HELLOPG under D:\mycode.(where D:\phonegap-2.9.1\lib\android\bin\create.bat is the command statement, after the space, D:\mycode\HelloPG is the path of the project, after the space,
Adobe phonegap team recently officially released version 2.0 on the annual phonegap day in Portland, USA.PhonegapIs a free and open-source development framework that allows web developers to familiarize themselvesHtml,CSSAndJavascriptBuild a cross-platform mobile local application.
Provided by the phonegap frameworkJav
PHONEGAP Cross-platform applications: healthworking (1)Healthworking is a cross-platform application based on the HTML5 standard, the advantage of cross-platform can be developed once, deployed on many different platforms, such as iOS, Android, WP and so on. Healthworking's main function is a fitness app that records m
finally calls the Ondestory method to end the current activity.Figure 4-1 Life cycle of activityAfter some explanation, I believe the reader can already understand the contents of figure 4-1, but why do you do so?As we all know, the intelligent machine relative to the non-smart phone is an important feature is that the smart machine has "backstage", can run multiple programs at the same time. For example, you can hang QQ while listening to music while browsing the content of Weibo, and if someo
threshold, shallow reading, the most suitable for mobile app startup small white. This release of the 3rd to 5th chapter as the basis for readers to learn, interested in the Welcome to buy this book! Welcome Dabigatran: 348632872, direct questions to the author to communicate!650) this.width=650; "Src=" http://img.blog.csdn.net/20141023110212434?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvym9va3poyw9waw4=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" font-f
Resolving cross-domain resource sharingFirst, Webapi solve cross-domain resource sharing.In the development of selecting WEBAPI as the data interface of the server, because of the use of phonegap, it is necessary to obtain data from remote remote data servers via JS, which involves cross-domain resource sharing due to the restriction of homologous policies.Start by creating a simple Webapi project,Use Microsoft's Cors solution, and then download micro
phone side.Modify source file Pushnotification.javaModify the Sendpushinfo method,To modify the Pushnotification.js file and to increase the method of receiving channel_id and user_id, please refer to the Official document or Device.js plugin.ResultsService-Side ErectionOpen download Baidu Cloud push service side (the current version of C #, to PHP and JSP, Python friends from here to download http://developer.baidu.com/wiki/index.php?title=docs/cplat/push/ SDK/SERVERSDK).C # version Https://gi
BKJIA Translation]
1,Requirements
◆ Windows, Mac OS X, or Linux
Of course, you also need the Symbian guide For Qt For Symbian and Sony Ericsson.
2,Install SDK + PhoneGap
Download and install cygwin (Windows only ). Make sure you select "make" because it is not built in by default.
Download the latest version of PhoneGap and decompress it.
3. Create a new project
◆ In cygwin, go to the location where you pre
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.