After successfully uploading the video with PhoneGap, I need to display the uploaded video in the JSP page, and I can click to play it.
At first, I'm going to use Phonega directly to call Android's player, which requires the video to play JS and its corresponding Java class. If this is implemented, it is estimated that PhoneGap's plug-in development is generally familiar. Look at the next phonegap in the JS
PhoneGap is a fast-developing platform for creating mobile cross-platform mobile applications using HTML,CSS and JavaScript. It enables developers to take advantage of the core features of a variety of smartphones such as iphone,android,wp7, including geolocation, accelerators, contacts, sounds and vibrations, and PhoneGap has a rich plug-in that can extend unlimited functionality.
Droid returns "voles ".
IPhone exception:Obtain the custom name of the device, not the device model name.
Custom names are customized by the owner in iTunes.
Device. phonegapObtain the running PhoneGap version on the device.Var string = device. phonegap;Copy codeNote:Device. phonegap returns the version number of the running
Next, we will study the implementation of phonegap on other platforms. Let's take a look at Windows Phone (WP) today ).
It is relatively simple to connect JS and OS on WP, because the built-in webbrowser provides a better interaction mechanism with JS, including JS debugging and callback Js. Next let's take a look at the architecture diagram, similar to Android:
Next we will focus on the interconnection between JS and wp OS.
1) JS end calls WP end
WP
PHONEGAP Cross-platform applications: healthworking (1)Healthworking is a cross-platform application based on the HTML5 standard, the advantage of cross-platform can be developed once, deployed on many different platforms, such as iOS, Android, WP and so on. Healthworking's main function is a fitness app that records motion tracks and shares it with social networks.First, prepare the development environment. Ax1. Installing Nodejs: https://nodejs.org/
PhoneGap is a fast-developing platform for creating mobile cross-platform mobile applications using HTML,CSS and JavaScript. It enables developers to take advantage of the core features of a variety of smartphones such as iphone,android,wp7, including geolocation, accelerators, contacts, sounds and vibrations, and PhoneGap has a rich plug-in that can extend unlimited functionality.PhoneGap was originally de
Learning Essentials:
1. Phonegap Whitelist Security mechanism
2. Navigator.app Object loading external page return to parent page
I. PHONEGAP Whitelist security mechanismPhoneGap app pages are mostly local, but sometimes need to load external Web pages into the app's built-in browser view to complete specific app functionality, for security reasons, PH
First, IntroductionThis API is based on the web SQL Database specification and Web Storage API specification.Some devices already provide implementations of this specification, with built-in implementations instead of using PHONEGAP implementations for these devices.For devices that do not have storage support, the PHONEGAP implementation should be fully compatible with the specifications.Second, OpenDataba
PhoneGap installation road Twists and turns, the first to be based on a variety of procedures, halfway also to solve a variety of problems, the following is the PHONEGAP needs of the program1, NodeJs2, Phonegap3, Jdk,jre4. Apache Ant5, ANDROIDSDKSteps:1. Install the Nodejs.2. After successful in Cmd in the NPM install-g phonegap, automatically download the instal
Absrtact: Baidu Map API is a set of JavaScript programming interface, supposedly it should run on the browser. Now, with PhoneGap, we can develop apps that can be used on mobile platforms!---------------------------------------------First, installation platformPHONEGAP supports 5 platforms, IOS, Android, BlackBerry, WebOS, Symbian.Let's take iOS, for example, to develop a targeted app.1. Download XcodeNote that the lion system and the Snow Leopard Sys
Jquery Mobile:
1.Official introduction
A uniied, HTML5-based User Interface System for all popular mobile device platforms, built on the rock-solid jquery and jquery UI Foundation. its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.
Address: http://jquerymobile.com
2.Supports the following smartphone platforms
3. Building phonegap apps with jquery mobile
Phonegapis an HTML5 app platfor
I. Introduction of PHONEGAPPhoneGap is a fast-developing platform for creating mobile cross-platform mobile applications using HTML,CSS and JavaScript. It enables developers to take advantage of the core features of Iphone,android,palm,symbian,wp7,bada and BlackBerry smartphones-including geolocation, accelerators, contacts, sounds and vibrations, and PhoneGap has a rich plug-in, can be called.Second, PHONEGAP
First, a list of methods to obtain the device information (if there is no or can not detect the display undefined)1, device.name equipment name (some domestic machine is not detected) 2.Device.model: Returns the model or product name of the device3. Device.cordova PhoneGap Version4. Device.platform Equipment Platform5, Device.uuid UUID code (this encoding is the device's unique encoding equivalent to each cell phone ID, more commonly used, the projec
Phonegap file upload (Java, PHP) phpnegap file Upload FileTransfer object in phonegap introduction: docs.phonegap.comen1.6.1cordova_file_file.md.html # FileTransfer? Today's code is organized by students. Write down here for future reference? FileTra phonegap file upload (Java, PHP)
Introduction to the FileTransfer object in
I spent a lot of time researching phonegap, hoping to find a push method that can replace round robin. After trying pushwoosh, I found two problems. One is that the mobile phone must be integrated with the andriod apis component, secondly, I don't know why there is always an account failure error. There is really no way to solve it. Even if you solve it, the first problem is still hard to solve.Later, at the recommendation of jiangge, he found a
Original: Phonegap+html5+jquerymobile developing Android-date controlsSource code: Http://www.zuidaima.com/share/1550463778802688.htmDate control under Android is not normal to call Android keyboard, need to use PhoneGap to the Android native control to call, but still not achieve the best results, find a temporary solution, to share with you, if you have a better solution everyone can share, One drawback o
Qt also began to support android and ios. Unfortunately, qwebkit cannot be used on android and ios, and we hope to add qwebkit 5.3. To implement cross-mobile platforms, select phonegap for development. For the installation of phonegap, refer to www.phonegap.com. The latest version is 2.91, and I use 2.90. Here we will briefly describe how to add a plug-in under phonegap
First, the use of Baidu Map API1, Address: http://developer.baidu.com/map/2. Get the demo of anti-address resolution in JS Demo 3, modify the demo key, to create the application can create the key, and then copy the key to this page4. Use PhoneGap geolocation to obtain the latitude and longitude assigned to pointDOCTYPE HTML> HTML>Head>MetaCharSet= "Utf-8">title>Phonegap_device_network_notification01title>Linkhref=".. /jquery.mobile-1.3.2.css "rel=
The Ionic frame seems to have the following two combinations inside. This sentence is to be determined.Cordova This sentence is the best explanation:When using the Cordova APIs, a app can be built without any native code (Java, Objective-c, etc) from the app developer. Instead, Web technologies is used, and they is hosted in the app itself locally (generally no on a remote HTTP server).PhoneGapPhoneGap is an open-source development framework designed to enable developers to develop cross-platfor
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.