Professional Documents
Culture Documents
Sebastian Lopienski
CERN IT
1
Developing for
• Language: Objective-C
• Development:
– IDE: Xcode
– OS: Intel-based Macs only
– developer’s fee required for testing on a device
• Distribution:
– via App Store only
– prior review and approval by Apple
2
Developing for
• Language: Java
• Development:
– IDE: Eclipse
• Distribution:
– via Google Play (called Android Market before)
3
Developing for (mobile) Web
• Language
– server side (if needed): whatever you want
– client side: HTML5, CSS, JavaScript
• Development:
– IDE: whatever you want
– OS: whatever you want
• Distribution:
– deploy on a web server, and just advertise the URL
4
Web – accessing native features
× Accelerometer Media
~ Camera × Notification
× Contacts Phone
× File Storage
– http://phonegap.com
– supported by Adobe
– aka Apache Cordova:
http://incubator.apache.org/cordova
6
Single code – multiple devices
Hybrid applications:
developed as web,
packaged as native
7
Supported platforms
8
Accessing native features
Accelerometer Media
Camera Notification
Contacts Phone
File Storage
Geolocation/GPS Offline
9
A demo
10
Commands
cd ~/Projects; rm -rf pg_Timer
11
Timer HTML5 app
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div data-role="page" id="home">