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 select "New> Android project" under "File ".
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. Configure PhoneGap
First create a PhoneGap project on the command line
Copy Code code as follows:
PHONEGAP Create. "Jspdf.sample" "Jspdf App"
PhoneGap Local plugin Add Org.apache.cordova.file
PhoneGap Local plugin Add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
Then, download the jspdf
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
For a single Web app, the loaded url generally does not guarantee its security. So how to deal with url security issues.
Let's take a look at how PhoneGap works.
PhoneGap uses a whitelist. The url in the whitelist is considered safe, and the url not in the whitelist is insecure. For secure URLs, the Web app of PhoneGap will open directly. For insecure URLs, It wi
1, installation Nodejs
Purpose: node. JS is a platform built on the chrome JavaScript runtime to easily build fast, easy-to-scale Web applications. With event-driven, node. js, the non-blocking I/O model becomes lightweight and efficient, making it ideal for data-intensive, real-time applications running on distributed devices.Version: v0.12.0After the installation is complete, the environment variables are configured and added in path. C:\Program files\nodejs\;After configuration is compl
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 phonega
This phenomenon only occurs in the wp8.1 program of the sencha touch package in phonegap (only wp8.1, wp8 is normal). I tested several other js frameworks (app framework, jquery mobile ), it seems that there is no such problem.
Let me describe this phenomenon:
1. Run the wp8 program packaged by phonegap to open an interface with an input box, such:
2. Click the input box to bring up the keyboard. The int
BKJIA Translation]
1,Requirements
◆ Windows XP (32-bit) or Windows 7 (32-bit and 64-bit)
◆ For a 4.x device, see this guide.
2,Install SDK + PhoneGap
Download and install Sun JDK 32-bit ). Add it to your PATH variable.
Download and decompress Apache Ant. Add it to your PATH variable.
Download the BlackBerry WebWorks SDK and install it in C: \ BBWP.
Download the latest version of PhoneGap and decompress it t
This phenomenon only appears in PhoneGap packaging Sencha Touch wp8.1 program will appear ( only WP8.1,WP8 normal ), other JS framework I tested several (app framework, jquery Mobile), It seems that there is no problem.Let me describe this phenomenon:1, run PhoneGap package WP8 program, open an interface with input box, such as:2. Click the input box to eject the soft keyboard, the interface will move up, s
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:Cordova-plugin-admobpro, it uses the default
1. Download sencha-touch-2-pr3 and phonegap-1.3.0;
2. Create WWW under assets (Java ee ide) and then create a JS folder under WWW, as shown below:
3. Copy the sencha-touch-all.js and phonegap-1.3.0.js to the JS folder;
4. Create libs in the project directory and copy the phonegap-1.3.0.jar to/libs;
5, the phonegap
After successful video uploading with PhoneGap, I need to display the uploaded video in the JSP page and be able to click play.
At first, I was going to call the Android player directly with Phonega, which would require the implementation of JS and its corresponding Java class for playing video. If this is achieved, it is estimated that phonegap plug-in development is generally familiar. Looking at the JS c
Micro-expression APP based on technologies such as phonegap, html5, ratchet, and handlebars, and phonegaphtml5
This app is composed of many interesting micro-expressions, supports 40 types of expressions, and each type of expression has a different status, mainly including search expressions, sharing expressions, shake your face and change your emoticons. Currently, only the Android version is supported. From the preliminary conception, to the technic
Original address: http://www.cnblogs.com/yansi/archive/2013/05/14/3078222.html?In the increasingly intense mobile development situation, I have to bite the bullet to try out the fresh HTML5 app (for me this kind of chicken is still very fresh). A very important problem is to configure Phonegap,phonegap introduction online A search a lot of, younger brother will not repeat, now the latest
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 frameworkJavascriptThe API can call the core functions of
In the previous blog post, I reproduced the compiling method of phonegap written by others. Let's take a look at it briefly:
Cordova has the Plugin class, and the written plug-ins inherit from this class. The exec method is used to determine the action to be executed based on the command of the second parameter. All plug-ins must override this exec method. Then, add the record of the plug-in by modifying plugin. xml. Then I wrote JavaScript. Js uses t
chrome.txt, you only need to add a parameter when you start chrome.exe. Chrome.exe-Disable-web-Security
4. phonegap real-time debugging tool: cloud window DebuggerIn essence, the cloud window debugger is a mobile browser that supports the phonegap JavaScript interface. Https://play.google.com/store/apps/details? Id = com. Sina. CWD
5. online packaging tool: phonegap
The latest version on the internet is phonegap1.1.0. When I use this version of Android, the program will stop and quit unexpectedly. There is no way to release this version of phonegap 0.95.
The problem is gone. This is the phonegap entry-level program and I hope it will be useful to you.
Decompress the phonegap folder, copy the
Phonegap provides a solution for cross-device application development. If an application only has js and html, you can use the online build tool of Phonegap to compile the app installation packages for multiple platforms. Of course, the js provided by Phonegap can access resources of some devices, such as connections, cameras, files, and Storage, for more informa
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.