Thank you @ gangzi for providing such a community communication platform, and I am especially grateful to gangzi for providing the upload permission. Haha, I am also sending a simple Demo today to contribute a little bit to the community.Recently, I have been paying attention to mobile web development. I am more interested in the effects of web development programs. There may be a lot of people who need to know before using it. Here is a simple Demo, including the packaging of
[Phonegap + Sencha Touch] mobile development 29 Android navigator. camera. getPicture gets the true path of the image,
The phonegap photo plug-in selects the image in the Image Library. The Code is as follows:
Navigator. camera. getPicture (function (uri) {console. log (uri); // uri of the image obtained here}, function (err) {console. log (err) ;},{ quality: 70, destinationType: navigator. camera. destina
], [email protected], [email protected], cord[email protected ], [email protected], [email protected], [email protected], [email protected], [email protected])Also hint of the ". [email protected] The corresponding node version is too high. Let's go.$cordova-V5.3.1Installation of a DMG installation package that is directly used phonegapdesktop this wayAttached: https://github.com/phonegap/phonegap-app-desk
This essay records the installation of the PhoneGap plugin via Plugman.1th Step: Install PlugmanNPM install-g PlugmanQiaodemacbook-pro:myapp root#NPM Install- g Plugmannpm WARN engine [email protected]1.3.4: Wanted: {"node":">=0.6","NPM":"1"} (current: {"node":"0.12.2","NPM":"2.7.4"}) npm WARN Installmany normalize-package-data is bundled with [email protected]1.3.4, but the bundled package wasn'T found in unpacked treeNPM WARN engine [email protected
The installation was a little bit different from the earlier phonegap.Cordova supports the following mobile operating systems: IOS, Android,ubuntu phone OS, Blackberry, Windows phone, Palm WebOS, Bada and Symbian.Cordova is the core code extracted from the PHONEGAP, the project that contributes to Apache , is the core engine that drives phonegap. Download to Apache.Installation Instructions:1. Download node
4.1 What is life cycleTo truly understand the connotation of phonegap application development, you first need to understand what life cycle is. This is literally very easy to understand, and the process of an app being loaded from the beginning of the run to the app being exited is called a life cycle. To make it easier for readers to understand, this section combines the life cycle of activity classes in the Android native SDK with the Logcat debuggi
4.1 What is life cycleTo truly understand the connotation of phonegap application development, you first need to understand what life cycle is. This is literally very easy to understand, and the process of an app being loaded from the beginning of the run to the app being exited is called a life cycle. To make it easier for readers to understand, this section combines the life cycle of activity classes in the Android native SDK with the Logcat debuggi
A lot of people have already discovered that by ordering "gem install compass" To install compass, the following exception will be reported when compiling scss using "Compass compile":"File to import not found or unreadable:blueprint/typography"Google a bit, said the new compass has not included compass-bluprint.So I tried to execute the command "gem install Compass-blueprint" and manually install Compass-blueprint myself. Although it was loaded, the "Compass Compile" was compiled scss with an e
A etimeout issue occurs in the command line of node. JS (node. JS commands prompt) to perform the NPM install-g phonegap command installation phonegap3.0.I set the proxy to access the external network, and the command line does not set the proxy, so the command line can not connect to the network, the installation can not succeed. This situation requires the proxy to be set on the command line. under Windows command line set up the network proxy, unde
Phonegap Resolving errors:Alert[ERROR] Error initializing Cordova:class not foundFind the cause of the bug after the online said that because the Res/xml folder is not found in the config file;But I have this config.I thought about it because I didn't find the feature configuration in the specified config.I finally found it because the device information I called the system was not tagged. --feature name="Device" > paramname="Android-package"Value="Or
Recently, in the WAP site project, I decided to perform static processing on all pages, and achieve dynamic login verification and price data through ajax. Currently, this plan aims to improve the website loading speed and SEO. Recently, I saw a message about the official release of phonegap build, and then I tried several pages myself, the general effect is very good. I personally feel that static pages and Phone
PhoneGap Photo Plugin Select the image in the library, the code is as follows:Navigator.camera.getPicture (function (URI) {console.log (URI);//Get the URI of the picture here}, function (err) {Console.log (err);}, { quality:70, DestinationType:navigator.camera.DestinationType.FILE_URI, sourcetype: Navigator.camera.PictureSourceType.PHOTOLIBRARY, savetophotoalbum:true});The path to the picture returned is this:Before Android 4.4: CONTENT://
1. Hyperlinks:A tag link is divided into internal chain and outside chain;If the page is on the same page, jump directly href= "#idname" can;If it is multiple pages, the inner chain is unable to reload the PhoneGap, need to add rel= "external" to reload (full reload) a new page to clear the URL of the Ajax hash. rel="external" > Login >>Phonegap + jquerymobile FAQs
Simply sum up a few processes if you have a developer account1. Create identifiers AppID (apply on Apple website) 2. Request a request file using your Mac or Windows, and then create a distribution certificate (apply on Apple website)3. Create a provisioning profile (apply on Apple website)4. Export the P12 file (using Windows or Mac)5. PhoneGap build upload p12 file and Provisioning file, build apk (PHONEGAP
Tags: http sp strong on html bs htm application TTBuilding a cross-platform app: phonegap mobile app practice launched by Tsinghua University PressNo threshold for app developmentFrom scratchStep by stepMore than 20 Sample AppsThree project appsPlatform-wide, cross-terminal, and mobile developmentPerfect Life Cycle: build an environment; call API; create a product; design interaction; publish an application; PromoteAll provided are wonderful cases of
The Phonegap intercepts the menu button event menubutton, which is used to process the menu interception event in html5.
This event is triggered when the user presses the menu
document.addEventListener("menubutton", yourCallbackFunction, false);
Supported platforms:
Amazon Fire OSAndroidBlackBerry 10
Simple Example:
document.addEventListener("menubutton", onMenuKeyDown, false);function onMenuKeyDown() { // Handle the back button}
Comple
PhoneGap Toss processInstalling the JDKInstalling the Android SDKConfiguring Environment variablesInstall node. jsUse Nodejs npm to install phonegap3.4 command NPM install-g CordovaWell, build is a hint that I want to install the 23 Android SDK and the latest tools. Then I update ...I continue to build ... And then download me a wave of this stuff what a ghost. (‘——’)Waited 11 minutes, finally compiles the good ... Cry.On this goods, installed on the
The first, we can lead how to get the device Infomation! It's very convenient by Phonegap! At least, I think so!
[Html]
The second, we can check the network state:
[Html]
The third, the cases of four kinds of communications:
[Html]
PhoneGap Android When the page content is more, when the form is outside the screen, click Enter, the Input method will cover the form box, and cannot swipe up.The test results show that the full-screen setting of fullscreen is set in CONFIG. Just addRes/xml/config.xml
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.