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 phon
Today, I want to build a new phonegap environment, using eclipse + phonegap, using corvada1.7.0 and ADT 17. The first build based on android2.2 failed. It's strange that I don't know where the error occurred, it always fails to run normally. The official documents cannot be fully written. It's in a hurry. I just finish
, and all versions of phonegap have the same operation.
Create a project in eclipse
Follow these steps to create an android project in Eclipse:
Select New> Android project (see figure 1 ).
Figure 1. Create a new Android project.
After creating a new standard Android project, the project will be updated to use phonegap.
In the new Android project dialog box, type the project name and select create new
1. Create and edit the project using PhoneGap (Cordova)(1) Create a folder to hold the Android program created later, here we create a folder on the E-Androidproject, the appropriate CD command to enter the directory, the next applicable phonegap command to create the corresponding Android project.PhoneGap Creation Instructions:PhoneGap Create Hello Com.example.hello HelloWorldHello: your project folder nam
1. Requirements
Eclipse 3.4 +
This tutorial also has another version that does not use eclipse. For details, refer to here.
2. Install SDK + phonegapDownload and install eclipse classic.Download and install the android SDK.Download and install ADT plugin.Download the latest version of phonegap and decompress it. We will use the android directory.
3. New Project Settings
Start eclipse and sel
library of different platforms, we want to create an iOS platform, now, we want to go through the terminal terminal into the Bin folder, that is, the PhoneGap folder under the lib/ios/ The bin directory.Creating a project from CreateThe command structure for Create is as followsUsage:./create [--shared] [--arc] We create a helloworld that can be as follows./create/volumes/data/dworks/phonegap/helloworld co
location of your banner ad, in which case we place the ad at the bottom of the app.You can also change the second parameter of AdMob. Position.top_app placed at the top of your app, you can use the following code to place banner ads:4. Show in-stream adsIt's also easy to trigger interstitial ads:Admob.isinterstitialready (function (isReady) {if (IsReady) {Admob.showinterstitial ();}});Further this tutorial covers the basics of this AdMob plugin and i
Detailed steps can be http://blog.csdn.net/jdfkldjlkjdl/article/details/9883995 to my blog.
First, download PhoneGap
Download Address: http://phonegap.com/install/I am downloading the latest PhoneGap 2.9.1
Will download the good PhoneGap decompression, can see inside has a example
Second, build the environment
1. Refer
use the NPM module management tool in nodejs. 2. Install phonegap. Open CMD and run: NPM install-G phonegap. If you want to uninstall phonegap, run: NPM uninstall-G phonegap.
If you want to update, run NPM Update-G phonegap.
If you want to install a specific version, run: N
IntelliJ IDEA build a PhoneGap for Android Development Environment
We all know that the PhoneGap cross-platform mobile framework supports IOS, Android, Windows 8, and so on /...... And other mainstream mobile operating systems!
Now let's build the HelloWorld program for Android development using
The plugin can be used to configure the plug-in in config. phonegap build service for each application, you need to have a config. ins file in your root folder.According to Cordova, the Cordova registry is obsolete and all plugins have been moved to NPM and renamed "Cordova-plugin-xxx".In your CONFIG. config file:Use that plugin logo?Please note that there are some subtle differences between the two plugins
http://blog.csdn.net/klx502/article/details/40617497The link already shows how to create a phonegap project from the command lineThe theme is based on the previous "PhoneGap Learning notes-----phone3.4 android Build" extension.1. Create the project:2. Add platform support for the created directory:3.build This project,
ADT Integrated Environment + PhoneGap 2.9.0 build HTML5 development APP environment, phonegaphtml5
I.Environment Construction
1. build and develop the Android environment, which is not described here. You can use the ADT integrated environment or Eclipse + Android SDK + ADT Plugin.
ADT integrated environment: http://developer.android.com/sdk/index.html
2. Confi
1 first need to install node. JS, official address https://nodejs.org/.2 mentioned here is to download the corresponding node. JS installation package on the official website, the solution that can't be installed on Mac, I tried the node-v0.12.6.pkg, and changed a few old version still can't install normally, then we try another kind of installation method.3 First install Homebrew: Open terminal and type on Mac, enter:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/maste
A. Environment Construction1. Build a development Android environment, no longer described here, you can use the ADT integration environment, you can also use Eclipse + Android SDK + ADT Plugin.ADT Integration Environment: http://developer.android.com/sdk/index.html2. Configure PhoneGapphonegap:http://phonegap.com/install/This document is not suitable for versions above phonegap-2.9.0, and is suitable for
After two days, the android development environment has been basically set up and phonegap has been configured. After referring to a lot of materials, I feel that I cannot rely on other people's materials, so I have to learn to make changes. The android development environment can be explained in a few words, but the actual operation is the most troublesome. The trouble is the download of various tools. I downloaded many versions and tried them many t
1. Introduction:
The Microsoft app Hub website announced the addition of nitobi, enabling phonegap to support WP7 mango. Phonegap is an open-source mobile framework that allows developers to build Web applications on multiple mobile platforms and use standard HTML5, CSS, and JavaScript.
Phonegap has just provided HTM
This article describes how to use xcode to build a phonegap application on the Apple system.ProgramEnvironment and workflow steps.
1. First, make sure your computer has xcode.
2. Install phonegap
I installed the phonegap-1.8 version now,Browse to the LIB/IOS/folder of the unzipped file and double-click the Cordov
This paper is the official HTML5 training course for Brother Lian it education organization, mainly introduces: HTML5 Mobile Development Road (--PHONEGAP) building of Android development environmentFor the construction of the JDK and Android development environment See my previous blog post: http://blog.csdn.net/dawanganban/article/details/9748497First, download PhoneGap
: http://phonegap.com/insta
Recently, we are developing apps, HTML5 + PHP.
Use phonegap for packaging
The front-end framework uses jquery mobile
Here, phonegap can be used to create an android project in three ways:
1. phonegap
2. Cordova
3. manually generate eclipse and copy the downloaded files from the official website to the corresponding Android directory.
1, 2 Portal
3. Po
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.