9. HTML5 Features
•The canvas element for immediate mode 2D drawing.
•Geolocation
•Offline storage database (offline web applications)
•Drag-and-drop
•Cross-document messaging. HTML5 Web Messaging
•Ability to use inline SVG and MathML
•New elements: article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure,
footer, header, hgroup, keygen, mark, meter, nav, output, progress, rp, rt, ruby, section, source,
summary, time, video
•New types of form controls: dates and times, email, url, search, color
•WebGL
sábado 25 de septiembre de 2010
14. Geolocation
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
var lat = position.coords.latitude;
var lng = position.coords.longitude;
map.setCenter(new GLatLng(lat, lng), 13);
map.addOverlay(new GMarker(new GLatLng(lat, lng)));
});
}
sábado 25 de septiembre de 2010
18. Android 2.2 - Froyo
Magnetometer and accelerometer
• Camera
• API for voice recognition and speech
• Javascript perfomance 2x - 3x
• File Uploads
sábado 25 de septiembre de 2010