Introducing S40 Web Apps | CodeLabs

30
Introducing Series 40 Web Apps Mohamad Iqbal Nokia Developer Certified Trainer http://about.me/ciebal

description

Slide for CodeLabs internal training

Transcript of Introducing S40 Web Apps | CodeLabs

Page 1: Introducing S40 Web Apps | CodeLabs

Introducing Series 40 Web Apps

Mohamad IqbalNokia Developer Certified Trainer

http://about.me/ciebal

Page 2: Introducing S40 Web Apps | CodeLabs

The Developer Offering – Simplification

Framework

Qt

Java

WRT

Silverlight

XNA

Services

Nokia Mail

Nokia Store

Nokia Maps

Nokia Music

Etc

Platform

Meego

Symbian

Windows Phone

Series 40

Page 3: Introducing S40 Web Apps | CodeLabs

Why Nokia S40?

Low End

Middle End

High End

Page 4: Introducing S40 Web Apps | CodeLabs

Global Reach Statistics

Nokia Store attracts more than million downloads a day

411 developers have reached 1million downloadsThere are 120 million registered users choosing among 120000 apps in Nokia Store

15

Page 5: Introducing S40 Web Apps | CodeLabs

Global Reach Statistics

Nokia have over 675 million S40210 million Symbian180 million QTdevices in the market

Page 6: Introducing S40 Web Apps | CodeLabs

Connecting You With The Series 40 Opportunity

Page 7: Introducing S40 Web Apps | CodeLabs

Cloud-assisted web appsbeauty with efficiency

WWW

Nokia Browser for Series

40 Proxy Server

Nokia Browser for Series

40 Client(Phon

e)

HTML, CSS, Javascript, Images, XML, JSON, etc

Optimised content (HTML, CSS, compressed images)

Page 8: Introducing S40 Web Apps | CodeLabs

Series 40 Web AppsIngredients

Widget Properties

Application Icon

HTML backbone

Layout

Logic

Files, images, etc.

config.xml

Icon.png

[name].html

[name].css

[name].js

Resource (optional)

Package .wgt

Page 9: Introducing S40 Web Apps | CodeLabs

Platform Services

• Messaging• Location• Telephone

Page 10: Introducing S40 Web Apps | CodeLabs

Developer Kit

• Nokia Web Tools 1.0• Nokia Web Tools 1.5• Nokia Web Tools 2.0

Page 11: Introducing S40 Web Apps | CodeLabs

Comparison Nokia Web Tools

Feature Version 1.0 Version 1.5 Version 2.0

Symbian Applications Supported

Efficient proxy based web apps Supported Supported Supported

MWL support Supported Supported Supported

Modern UI with floating icons Supported Supported

Geolocation API support Supported Supported

Web app image caching Supported Supported

SMS URI support Supported Supported

Full Touch Simulator Supported

Page 12: Introducing S40 Web Apps | CodeLabs

Web Technologies

• HTML 4.0• CSS 2.1• Javascript 1.8• DOM Level 1 and 2

Page 13: Introducing S40 Web Apps | CodeLabs

Nokia Series 40 Web Apps DevelopmentBest-Practice

Mohammad IqbalNokia Certified Trainer

http://about.me/ciebal

Page 14: Introducing S40 Web Apps | CodeLabs

Series 40 Web App UX Guidelines

Page 15: Introducing S40 Web Apps | CodeLabs

Screen Orientation

240x320 pixels

320x240 pixels

Page 16: Introducing S40 Web Apps | CodeLabs

Screen OrientationFull Touch

240x400 pixels

Page 17: Introducing S40 Web Apps | CodeLabs

Navigation Controls

The app logo should always be in the top bar

Paging controls should be displayed directly below the app header.

The icon in the top right of the header can be contextual.

Page 18: Introducing S40 Web Apps | CodeLabs

Scrolling

Page 19: Introducing S40 Web Apps | CodeLabs

Focus on discrete tasks

Start the task Choose a category Choose a sub-category

Browse the results

Page 20: Introducing S40 Web Apps | CodeLabs

Align elements

Page 21: Introducing S40 Web Apps | CodeLabs

Use a common set of icons

Page 22: Introducing S40 Web Apps | CodeLabs

Accommodating Screen Orientation

if (screen.width > 240) { document.write('<link rel="stylesheet" href="../../basicLandscape.css" type="text/css" />'); } else { document.write('<link rel="stylesheet" href="../../basicPortrait.css" type="text/css"/>'); }

Page 23: Introducing S40 Web Apps | CodeLabs

SMS URI Scheme

<a href="sms:+62812345678">One number, no body text</a>

<a href="sms:+62812345678?body=hello%20world">One number with body text</a>

Page 24: Introducing S40 Web Apps | CodeLabs

SMS URI Scheme

Page 25: Introducing S40 Web Apps | CodeLabs

Telp URI Scheme

<a href="tel:+62812345678">Call Me</a>

Page 26: Introducing S40 Web Apps | CodeLabs

Image Caching

• All static images used in a web app are included in its .wgt file

• There are no unused images in a web app’s .wgt file

• All images in a .wgt file are scaled to the size used by the web app

Page 27: Introducing S40 Web Apps | CodeLabs

Remote Device Access

Page 28: Introducing S40 Web Apps | CodeLabs

Basic Skill

• HTML• CSS• Javascript• Server side scripting (PHP/ASP/JSP) (optional)

Page 29: Introducing S40 Web Apps | CodeLabs

The Next Billion

Page 30: Introducing S40 Web Apps | CodeLabs

Thank You!