building and debugging Apache Cordova apps
- sponsored by IBM
by:
@pmuellr
http://muellerware.org/
by:
@pmuellr
http://muellerware.org/
canonical links to presentation
other mobile development presentations by me
slide template
last modified
Patrick Mueller:
This presentation will cover:



iOS (iPhone, iPad, i*):
Android:
Windows Phone:
Blackberry:
...:

Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript




This release is based on the same code that powers our Android application – an advantage of basing our app on Apache Cordova
This enables us to reach the most number of platforms with the least amount of code.
Fully embracing HTML5, CSS3, & Javascript commits us to the open Web technologies of the future.
see also:
more than 1200 apps listed


or add your own device access with our plugin APIs
or use one of the hundreds of other plugins at:
github.com/phonegap/phonegap-plugins
hint: see IBM Worklight
main web site, link to downloads, doc, etc
user mailing list - ~50 posts/day
information about IBM Worklight
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width"/>
<link rel="stylesheet" href="css/index.css" />
<script src="cordova-2.4.0.js"></script>
<script src="js/jquery.js"></script>
<script src="js/index.js"></script>
<title>WhoDey</title>
</head>
<body>
<img src="img/hu-dey.jpeg" width="100%">
<button id="playSong-button">play</button>
</body>
</html>
button {
font-size: 200%;
}
document.addEventListener('deviceready', deviceReady, false)
function deviceReady() {
song = new Media("audio/who-dey.mp3")
$("#playSong-button").click(function() {
song.play()
})
}
on a desktop, you debug web apps with:
what do you use for mobile web?
ios 6: use built-in Web Inspector
Blackberry: use built-in Web Inspector
for anything else, try weinre, WEb INspector REmote
or try Apache Ripple, a mobile simulator for Chrome, so you can use Chrome Dev Tools
also see some of my other papers for additional debugging tools