A Phonegap Build simplified example for the Cordova ‘Camera’ plugin using
The app uses the Cordova ‘Camera’ plugin.
NOTE: There are security notes in the
README and in the code – specifically with with
A Phonegap Build simple example for the
cordova-plugin-texttospeech plugin using
As of Oct 20, 2018, a new version is available that has an input box. You can input any text you like so you can play with the
text-to-speech service. The feedback interface has been improved since the T2S is a cloud-based service and is prone to delays.
This example may be removed with notice.
A Phonegap Build simplified example for the Cordova ‘Media’ plugin using
The app uses the ‘Media’ plugin, as well as BOM (Browser Object Model) Objects available on Android’s Webview. The plugins
cordova-plugin-compat are automatically loaded by Phonegap Build.
When the app starts, it plays an
ogg audio clip. A
wav audio clip is available testing. It expects everything to work. If you are having issues, use pgb-example-core-media – which has more feedback and error messages.
There are security notes in the
README and in the code – specifically with
http-equiv="Content-Security-Policy". This app does not address audio clips not the mobile device. Doing so will require the use of the Cordova white-list – which this example does not address.
The app uses the WebAPI ‘Audio’ object, as well as BOM (Browser Object Model) Objects.
The example expects everything to work.
- When the app starts, it plays a trumpet “fanfare” an
ogg audio clip.
- The “Play Other” is the “ice cream truck” song – a
wav audio clip.
- The “Play Buddy Holly” is Buddy Holly’s song entitled “Everyday”.
There are security notes in the Repository and in the code, specifically with
http-equiv="Content-Security-Policy". This app does not address audio clips not the mobile device. Doing so will require setting CORS (Cross Origin Resource Sharing)wikipedia, which is still buggy.
Feel free to bookmark the wiki that maintains this version map; see right side of screen for the link.
To maintain code for clients I have to answer an important question:
Which versions (code names) of Android will be supported when you are done?
This map/table outline the different version and how they relate. For instance, for the latest Phonegap Build release (
cli-8.0.0) the top row of the table shows:
- Phonegap Build
- supports Cordova
- which supports Android API-Levels
19 - 27
- and is equivalent to Android Version
4.4 - 8.1
- and the related Code Names are
Oreo, Nougat, Marshmallow, Lollipop, KitKat
In future, a much more detailed table will be available – which will include releae dates. If you need more detailed information, the page has footnotes and sources.
Note: At this point, I no longer develop or support Apple and iOS. If in the future I do, I will update this table.
Phonegap Build Map/Table
Setup github so you can use this code.
- How to install git on Debian Linux, Ubuntu, Mint, & Debian-based systems
- How to use github.com for your projects.
- Setting Up SSH for github.com