Skip to content

JasonWeathersby/cordovasample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Firefox OS App that uses the following external libraries
Brick.js https://developer.mozilla.org/en-US/Apps/Developing/Web_components
Three.js http://threejs.org/
A modified version of the Google Globe.js WebGl Experiment - https://github.com/dataarts/webgl-globe/tree/master/globe
and Cordova http://cordova.apache.org/

If you want to run this you will need to have Cordova installed and a project created

$ cordova create test com.example.test TestApp  

cd to the test directory and delete the www folder
checkout the code into this directory.

git clone https://github.com/JasonWeathersby/cordovasample www     

The Geolocation example uses Three.js and Globe.js and functions better on later versions of Firefox OS 1.2 or greater

See Hacks Blog Post for more details
https://hacks.mozilla.org/2014/02/building-cordova-apps-for-firefox-os/

Make sure to use the cordova plugin add command to add the following plugins:
'org.apache.cordova.camera',
'org.apache.cordova.contacts',
'org.apache.cordova.device',
'org.apache.cordova.device-motion',
'org.apache.cordova.device-orientation',
'org.apache.cordova.dialogs',
'org.apache.cordova.geolocation',
'org.apache.cordova.vibration'

Currently you Currently you will need to take the manifest.webapp file in the source and copy it to the merges/firefoxos directory

About

Cordova Sample Firefox OS App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages