Technology can be achieved, it will definitely happen, now it's the Web IDE.Monaca is a web-based IDE that runs on the web, and its functionality is well enough to make eclipse and Xcode blush. It is rumored that JavaScript is not far from the unified, because control of the UI, you control the world.Let's take a look at how to use it:1, login Http://monaca.mobi after opening "DashBoard" in the upper left corner2, Monoca is worthy of conscience works, provides a lot of introductory sample, where
1 Installing the JDK a little.2 installing Eclipse and installing the ADT plugin Android 's website offers Eclipse with integrated Android plugin Development environment . Currently not access, try Baidu a bit other resources. 3 Installing the latest version of the Android SDK Currently the latest version is API.4 Installing node. js Download and install node. json the node. js website . 5 Installing PhoneGap,Cordoba after the node. JS in
At present, for mobile, desktop-based native development platforms have their own development language, development tools and so on. If we are going to develop a system that fits multiple terminals, we need to develop separate applications using our own platform tools, which is very demanding and time-consuming for a team or a developer. The bootstrap framework was studied in the previous article, and there was a solution for multi-terminal interface adaptation. But in addition to interacting wi
First, phonegap can use HTML5 + js to develop apps on Android and iPhone. Today, I just started to use the simplest method: dreamweaver5.5 + Android SDK + phonegap. There seems to be a lot of reference materials for online tutorials, but it won't be successful if you do it based on the materials.
For more information, see the Tutorial: use Dreamweaver 5.5 + jquery + ph
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
-related information and save it as shown in the figure After completing, click "Manage AVD", in the pop-up Android Virtual Device Manager dialog box, select the DW_AVD in the list and click on the "Start->launch" on the right to start the Android VM. The first time it is slow to open until the following image appears: (Note: I don't know why. Click "Admin AvD" to eject the Android SDK Manager dialog box, which I actually opened manually in the Android SDK installation directory) develop the fi
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
After I installed and configured all the dependencies on the PhoneGap project, I tried to execute
$ Cordova Run Android
command, the following error occurred.
Error:/home/sam/front/redwine/platforms/android/cordova/run:command failed with exit code 8At Childprocess.whendone (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js : 135:23)At ChildProcess.EventEmitter.emit (events.js:98:17)At Maybeclose (child_process.js:743
First, create the project// folder name, Boundleid, project name $ cordova Create Hello Com.example.hello HelloWorldSecond, add the platform// The following commands are all operating under the project folder $ cd Hello // can be used in the MAC environment $ Cordova Platform Add ios$ Cordova Platform add Amazon-fireos$ Cordova Platform add android$ Cordova platfor M add blackberry10$ Cordova Platform Add Firefoxos// Windows environment can use $ Cordova Platform Add wp7$ C Ordova platform Add
-22_r02.zip, then create a new folder Android-22 (corresponding version), and then extract to the folder.5. Configure Android SimulatorWhen creating the AVD, if the Cpu/abi option is not selectable and the "No system images installed for this target" is displayed, that is, there is no suitable systems image to install via SDM Manager (requires Fanqiang) , or http://mirrors.neusoft.edu.cn/android/repository/(domestic).Then create a new System-images folder in the SDK directory and download the pa
For a standalone web app, the URL that is loaded does not guarantee its security. So how to deal with the problem of URL security?Let's take a look at how PhoneGap is doing.PhoneGap takes the form of a whitelist, thinking that URLs in the whitelist are considered safe, and URLs that are not whitelisted are unsafe. For secure Url,phonegap, the Web app opens directly and opens in a browser for unsafe URLs.So
Interface
HTML5
PhoneGap
Difference
Geo-positioningGeolocation
One-time positioning:Navigator.geolocation.getCurrentPosition (Success, [error],[options]);Repeatability positioning:Navigator.geolocation.watchPosition (Success, [error],[options]);
Call interface with Left
Both methods are called consistentIn the PhoneGap location, due to device differences, resultin
A few days ago, when compiling GAMEBUILDER+CANTK with PhoneGap, the viewport in HTML was found to be invalid. The CANTK detects the DPI of the device according to the Devicepixelratio and then sets the correct resolution with viewport. If viewport is not valid, CANTK can only run at the lowest resolution. Check on the Internet, also did not find the system information, but I know webview must have the corresponding settings to enable viewport, combine
Open eclipse and create an android project ......)
Create two new folders under the project root directory:
/Libs
/Assets/WWW
Copy phonegap. js from the downloaded phonegap package to/assets/WWW
Copy phonegap. jar from the downloaded phonegap package to/libs.
Copy the XML folder in the downloade
Solution: PhoneGap does not support viewport.
When you used phonegap to compile GameBuilder + CanTK a few days ago, the viewport in HTML is invalid. CanTK detects the DPI of the device based on devicePixelRatio and uses viewport to set the correct resolution. If viewport is invalid, CanTK can only run at the lowest resolution. I checked it online and did not find the system information. However, I know tha
After two days, finally realize the relationship between PhoneGap and Cordova, some say is webkit and Chrome relationship, but I personally understand, two things to do one more thing, another PHONEGAP was acquired by Apache, it seems there will not be PhoneGap, All are collectively referred to as Cordova.I used the command line of
1. Download and install NodeJS.2, install PHONEGAP. Open Terminal execution:
1
$ sudonpm install-g phonegap
3. PhoneGap 3 does not need to be created in Xcode, but is created in the terminal with commands:
123
$ phonegap create my-app$ cdmy-app$
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.