Download - Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

Transcript
Page 1: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

NOKIA ASHA WEB APP TOOLS 3.0

Bhanuprakash R Senior Test Development Engineer Nokia Asha Developer Platform [email protected]

Page 2: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

CONTENTS

1. What are Nokia Asha web apps • Nokia Asha web app tools and Java SDK

2. What’s New in Nokia Asha web apps 3.0 3. Nokia Push Notification 4. Image Quality 5. Localization Sample 6. GeoLocation Sample

Page 3: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

WHAT ARE NOKIA ASHA WEB APPS?

Page 4: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

JAVA AND WEB APPS

JAVA APPS

Sophisticated Games

Communication

Productivity Tools Multimedia

• Suited for highly interactive and graphics-intensive apps, offline processing

• Available as “native” platform

WEB APPS

News,Info, Guides & Reference

Brands, Products & Shopping

Social Networks Simple/Social

Games (e.g., quizzes)

• Suited to connected information and entertainment apps

• Easier to learn for new developers • Faster time to market & lower

development costs

Page 5: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

WHAT’S NEW

Support for Web-apps using Nokia Notification Support for configuring the quality of images New examples for Nokia Notification, Image Quality, Localisation , Geolocation

Page 6: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

NOKIA PUSH NOTIFICATION

Notification is a message

sent from the application notification service

to the web app on the phone

Page 7: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

NOKIA PUSH NOTIFICATION

What APIs to be used

to add Nokia Notification support to your application ?

Page 8: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

NOKIA PUSH NOTIFICATION

The two APIs are:

1) Nokia Notifications Service API (REST API)

2) Nokia Notifications JavaScript API

Page 9: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

NOKIA PUSH NOTIFICATION LIFE CYCLE

Page 10: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

IMAGE QUALITY

Nokia Xpress browser 3.1 allows the web app developer to set the quality of the image in their web app

We can do this be setting the data-img-quality attribute of the img tag

10

Page 11: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

LOCALIZATION SAMPLE

This example demonstrates how to

localize the web app

Page 12: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

GEOLOCATION SAMPLE

This example demonstrates how to

fetch Geolocation in the web app

Page 13: Nokia Asha webinar: Nokia Asha web app tools 3.0: New features, tips, and code samples

THANK YOU. For more information:

https://developer.nokia.com/Develop/asha/learning.xhtml