Documentation API PhoneGap. Documentation API PhoneGap. Permet d'accéder aux fonctionnalités de capture audio, image, et vidéo du mobile. Objects Méthodes Portée de la variable L'objet capture est attaché à l'objet navigator.device, il a donc une portée globale. // L'objet capture, à portée globalevar capture = navigator.device.capture; Propriétés supportedAudioModes: Les formats d'enregistrement audio supportés par le mobile. Capture.captureAudio: Lancer l'application magnétophone du mobile afin d'enregistrer une ou des séquences audio.capture.captureImage: Lancer l'application appareil photo du mobile afin de prendre une ou des photos.capture.captureVideo: Lancer l'application caméscope du mobile afin d'enregistrer une ou des séquences vidéo. Plateformes supportées AndroidBlackBerry WebWorks (OS 5.0 et plus récent)iOSWindows Phone 7 ( Mango ) Démarrer l'application magnétophone et retourner des informations sur le ou les fichier(s) audio ainsi créé(s).
Description Exemple rapide Exemple complet <! Singularités BlackBerry WebWorks Singularités iOS <! <! Andrew Trice » Blog Archive » PhoneGap Native Plugins. In PhoneGap 1.5, the naming conventions were changed to use the Apache Cordova naming conventions. EX: PGPlugin is now CDVPlugin, phonegap.js is now cordova.js, etc… If you are running into issues, please be sure to check the PhoneGap version and appropriate naming conventions. Last night I attended a great Baltimore JavaScript Users Group meetup to engage with the community and to speak about PhoneGap native plugins. Many thanks to @bmorejs for having me, and great job to my fellow presenters Mike Wolf, who presented “PhoneGap: Blood and Guts” and Mike McKay, who presented on PhoneGap + CouchDB. As promised, here are my slides, and I’ll also try to provide a bit more detail since there isn’t much of an explanation within the slide content: PhoneGap Native Plugins.pdf PhoneGap Native Plugins Presentation Here’s a brief synopsis of my presentation… PhoneGap allows you to create natively installed mobile applications using web technologies (HTML, JS, CSS).
iOS Android. Phonegap/phonegap-plugins. PhoneGap. Ajax Sample.