How to build an iOS platform PhoneGap development environment (PHONEGAP2.5)(2013-03-13 14:44:51)
Label:C=blogq=itby=tag "target=" _blank ">it
Because in the near future in the HTML5-based cross-platform transplant, set up a good development environment, it really cost a lot of effort. Now spare down by the way to tidy up, for everyone to share. First introduce the
");
AddImport com. phonegap .*;
RemoveImport Android. App. activity;
Here you may encounter errors where eclipse cannot find the phonegap-1.0.0.jar. In this case, right-click the/libs folder and find build paths/> Configure build paths. Then add the
display to the content of the page, add three buttons To footer to draw points, lines, and faces. The Code is as follows:
After the interface design is complete, import the arcgisjavascript API on the page to complete the corresponding initialization and functional code, and then complete a simple GIS application.
4. Build a cross-platform native app.
Phonegap can be us
Currently the latest version of Cordova is 5.1.1, and the steps to build a development environment under Mac are as follows:1) First install the NODEJS environmentAccess official website: http://nodejs.org/, current version: v0.12.7Click "Install", will download the Mac's installation package, double-click the installation.2) Enter the terminal command line, using NPM to install Cordova, the command is as follows:$ sudo npm install - G Cordova3) Creat
PhoneGap a summary of usage problems in MAC environment1, question one: in the execution command PhoneGap run iOS appears "Cordova needs Ios-sim version 1.7 or greater, you have version"Workaround: Run sudo npm install-g ios-sim under Commands2, question two: in the execution command PhoneGap build android appears "Err
See here: Android App development using PhoneGap for location escalation The previous article, using IntelliJ idea to build phonegap Android development environment, simply introduced the PhoneGap Android development environment, and developed the Hello World application, this article, We continue to study the use of
HTML5 has been the reverse of mobile development, recently fortunate to decorate PHONEGAP environment equipped. In fact, I do not html and JS or jquery, in order to comply with the HTML5 storm, or a little bit of a spin.CS5.5 Building relative CS6.0 is more humane. The latter is based on the new model, just started to get a bit of a difficulty, but, today we come to understand how the CS6.0 on the smooth play phonegap.The development environment for
1. Preface
In "using phonegap + jquerymobile to develop Android Application Instances", we will discuss how to build a phonegap (Cordova) development environment, and how to integrate a basic Android Application Framework (and provides examples ).Code). As a result, we began to work day and night to build our first m
Recently, the company sorted out some documents for the phonegap project.
Versions earlier than phonegap 3.0 can be downloaded on the official website. Versions later than PHP 3.0 need to be installed using nodejs. It takes two hours to avoid detours.
At present, phonegap has released version 3.5, which integrates various plug-ins. If you want to try it out, try
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
-text/biography. Simon Snow Mobile development is becoming more and more popular, we want to dabble in mobile development have to choose a suitable platform, such as Android, IOS, WP, etc., as a web programmer to learn these mobile platforms will certainly spend a lot of time and energy, Even if we learn Android and develop an app under Android, customers need apps under the iOS platform. If you go directly to learn the development of each mobile platform is not realistic for us, but we can use
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
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
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:\Progr
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
PhoneGap2.7.0Extract it and find the Lib/android directory.2. Create a new Andriod project under Eclipse, just like a regular project.3. Create a new folder "www" under the assets DirectoryCopy the cordova-2.6.0.js from the Lib/android directory to this directory. Copy the Cordova-2.6.0.jar to the Libs directory.4. Create a new HTML file index.html in the WWW directory. Our interface is going to be built here.The code for index is as follows:The code is as follows:5. Copy the XML folder under t
Prerequisites: The Android SDK and ADT have been installed in eclipse.1. Download PhoneGap, unzip.2. Create a new Android project with Eclipse.3. Copy the Phonegap-1.0.0.js from the Android folder in the PhoneGap unzip package to the/assets/www/directory of the Android project.4. Copy the Phonegap-1.0.0.jar from the An
face. The image mainly uses svg images, which are small in size and not distorted in scaling. The external link download of images is mainly hosted on the github server. If you want to build your own image server, no money no talk. Having said so much, I feel that I haven't talked about the point yet. Ah, my language skills are getting worse and worse...Technology Selection
PhoneGap mainly depends on webki
Phonegap is an application development platform that allows you to use HTML5 to easily call local APIs and publish applications to stores. The official saying is that there are advantages such as low cost, low development cycle, and lightweight, which cannot be proved temporarily. However, there is a cross-platform architecture, but it has obvious advantages. Because it adopts the HTML5 + JavaScript mode to develop applications.
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.