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
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
PhoneGap created the project default start interface is the PhoneGap icon, want to remove this icon, there are two methods, the first is to resourece below the splash file below the image to the start page you want, the name is the same, replace its default several start pictures. The second is to modify the build setting in the general inside the app icons and launch images, inside of the launch images sou
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/
have Chinese, spaceAdd installation root to path when installation is completeReferenceC:\Sencha_cmd2\Sencha\Cmd\5.1.0.267, this article to build the Android environment as an example to install the SDKHttp://developer.android.com/sdk/index.htmlI downloaded the Android Studio development tool (for future development), the installation process will prompt you to install the SDK, you can also find in the page only download the SDK link;My SDK installation path is:D:\androidstudio\sdkAfter the ins
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
With the recent PhoneGap build changes, we can now use all the plugins listed in Plugins.cordova.io, as well as plugins on the https://github.com/website. This means that we have now entered AdMob plugins, which will allow us to integrate AdMob with the PhoneGap build application.AdMob will allow ads to appear on users ' mobile apps, show them and earn revenue – how AdSense works like a website. This is a v
the path variable (existing without new):D:\phonegap\adt-bundle-windows-x86_64-20140702\sdk\tools (fill in according to your own storage path)D:\phonegap\adt-bundle-windows-x86_64-20140702\sdk\platform-toolsD:\phonegap\adt-bundle-windows-x86_64-20140702\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\bin7. Update your Android SDK to the latest (otherwise buil
Tags: phonegap, mobile development, mobile applications, cross-platform HTML5
Building a cross-platform app: phonegap mobile app practice launched by Tsinghua University Press
No threshold for app development
From scratch
Step by step
More than 20 Sample Apps
Three project apps
Platform-wide, cross-terminal, and mobile development
Perfect Life Cycle: build an environment; call API; create a product;
Recently, we are developing apps, HTML5 + PHP.
Use phonegap for packaging
The front-end framework uses jquery mobile
Here, phonegap can be used to create an android project in three ways:
1. phonegap
2. Cordova
3. manually generate eclipse and copy the downloaded files from the official website to the corresponding Android directory.
1, 2 Portal
3. Po
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
HTML5 Development Framework PhoneGap actual combat (JQuery mobile Development, API parsing, 3 Classic project combat)Suitable for people: Beginner classQuantity: 40 hoursUsing technology: HTML5, JQuery Mobile, PhoneGapProjects involved: I want maps, watercress music, Xiao Qiang runConsulting qq:1840215592First, the course is suitable for the object:Java developers want to go to app development technology, mobile app developers, HTML and JS based front
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
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.