SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
/ DEVELOPER DAY
New Features in
Nokia Asha Web App Tools 3.0
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
CONTENTS
• Web app on new Asha and S40 Devices
• New Nokia Asha Skin
• HardwareBack buttonSupportin web apps
• MediaCapturevia web app
• Improvementsin Templatesand Samples
• OptimizationTechniques
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
WEB APP ON NEW ASHA AND S40 DEVICES
• Will my web app built on Nokia Asha Platform1.0 work on S40 devices?
Yes. It will work with older devices. Web apps are dependenton the browserclient
that is runningon the device and not on the platform.
• What featuresfrom my web app will be missingon older S40 devices?
As long as the user is using the appropriatebrowserclientwhich supportsthe web
app featurethen the web app will behavein the same way in S40 devicesas in new
NokiaAsha devices
(exceptfor lack of hardware,like back key presentin new Asha device and not
presentin S40 devices)
3
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
NEW NOKIA ASHA SKIN
4
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
NEW NOKIA ASHA SKIN – FEATURES
5
Swipe from left
or right edge
to exit the web
app
Swipe from
bottom to
bring in the
options menu
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
HARDWARE BACK BUTTON SUPPORT
Template
mwl.addNavBackListener(<nodeID>, <JS / non-JSfunctions>);
Example.:
Only MWL calls:
mwl.addNavBackListener('#page2',"mwl.show('#page1');mwl.hide('#page2');");
Mix Of MWL and Js calls:
mwl.addNavBackListener('#page2',
"mwl.show('#page1');mwl.hide('#page2');updatePage1();");
Only JS call:
mwl.addNavBackListener('#page2',"UpdatePage2();");
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
HARDWARE BACK BUTTON SUPPORT
Points to be noted
• If there are no listeners for the visible view/page, on pressing the back
button user will be prompted to exit the web app
• On multiple listeners for the visible view/page, first visible id’s listener
callback is executed
• The call to add listeners should be present in the script tag of the
index.html
7
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
HARDWARE BACK BUTTON SUPPORT
Templates/Samples with Hardware Back button implementation
• BackKeySample
• RSS Feed
• Accordion
• NewsReader
• News project
• Multi-ViewProject
Accordiontemplateis a good exampleto note that the implementationis developerspecific.
In accordiontemplate,on pressingback key,it closes the currentopen fold instead of
requestingthe user to close the web app
8
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
USB DEPLOYMENT
• In Deployment settings you can choose on which device you want to
deploy the web app and via which option
• S40 Device – Both bluetooth and USB support are present
• No changein the deploymentbehavior
• Nokia Asha Platform 1.0 – USB support is available
• If the USB Launcheris not runningon the device,the tool will provideyou with a shorturl
fromwhich you can downloadthe USB Launcheron the device
• If the USB Launcheris runningon the device,then the tool will deploywith web app on the
devicesimilar to S40 devices
9
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
MEDIA CAPTURE
HTML code changeonly
ImageCapture
<inputtype="file"name="camera_image"accept="image/*"
capture="camera"size="20"/>
VideoCapture
<inputtype="file"name="camera_video" accept=“video/*"
capture="camera"size="20"/>
Samplefor MediaCapture
• MediaCaptureSample
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
IMPROVED TEMPLATE AND SAMPLE
Improved Template / Sample
Template/Sam
ple with
quicker initial
loading for
better user
experience
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
IMPROVED TEMPLATE AND SAMPLE
12
• Instead of loading title, image, description during the initial load, load them
on demand
• In the sample (News Reader) that has been provided, only the feed titles are
loaded initially, the description and images are deferred for later
• When the user selects a particular title, then we update the html to include
the image and description on showing the detailed page of the feed
• Server detects the change in the html and depending on the size and number
of changes in the html, it will send a partial page update or full page update
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
OPTIMIZATION TECHNIQUES
• Whyshouldthe user wait to use the Web App?
•  Redesignto have quickfirst look experience.
• Whereverpossible use mwl calls insteadof JavaScript
• ApplicationJavaScriptshould be fast (e.g. is your Contentserversendingtoo much data to
be digestedby JavaScript?)
• Makesure you have optimizedyour server’soutput(XML, JSON etc. API responses)
• For betteruser experienceof your web app try PartialPage update and avoid full page
changes.
• See the News Readersample.
• Third-partyJavaScriptlibrariesfor interactiveUI elements is not a good idea, as non-MWL
JavaScriptcode executeson the server,not on the phone.Therefore,each librarycall
requiresround-tripcommunicationbetweenthe Nokia Xpress client and server.
/ DEVELOPER DAYNokia Asha Web App Tools 3.0
Want to learn more?
Go to: http://www.developer.nokia.com/Develop/asha/web/
Or via Web Developer Channel (WDC) present in the tool itself.
THANK YOU!

Más contenido relacionado

Destacado

Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuNokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuMicrosoft Mobile Developer
 
Nokia Asha webinar: Add VoIP services to your Nokia Asha apps
Nokia Asha webinar: Add VoIP services to your Nokia Asha appsNokia Asha webinar: Add VoIP services to your Nokia Asha apps
Nokia Asha webinar: Add VoIP services to your Nokia Asha appsMicrosoft Mobile Developer
 
Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto
 Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto
Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progettoMicrosoft Mobile Developer
 
Deep dive into Nokia Asha UI design: Designing apps
Deep dive into Nokia Asha UI design: Designing appsDeep dive into Nokia Asha UI design: Designing apps
Deep dive into Nokia Asha UI design: Designing appsMicrosoft Mobile Developer
 
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Microsoft Mobile Developer
 
Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Microsoft Mobile Developer
 
Deep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsDeep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsMicrosoft Mobile Developer
 
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesNokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesMicrosoft Mobile Developer
 
Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsMicrosoft Mobile Developer
 

Destacado (10)

Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuNokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
 
Nokia Asha webinar: Add VoIP services to your Nokia Asha apps
Nokia Asha webinar: Add VoIP services to your Nokia Asha appsNokia Asha webinar: Add VoIP services to your Nokia Asha apps
Nokia Asha webinar: Add VoIP services to your Nokia Asha apps
 
Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto
 Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto
Le basi per lo sviluppo su Windows Phone tool, SDK, il primo progetto
 
Deep dive into Nokia Asha UI design: Designing apps
Deep dive into Nokia Asha UI design: Designing appsDeep dive into Nokia Asha UI design: Designing apps
Deep dive into Nokia Asha UI design: Designing apps
 
Lumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK betaLumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK beta
 
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
 
Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0
 
Deep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsDeep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: Fundamentals
 
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesNokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
 
Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and tools
 

Más de Microsoft Mobile Developer

Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagMicrosoft Mobile Developer
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appMicrosoft Mobile Developer
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeMicrosoft Mobile Developer
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoMicrosoft Mobile Developer
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraMicrosoft Mobile Developer
 
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0Microsoft Mobile Developer
 
Sviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenSviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenMicrosoft Mobile Developer
 
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingAccesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingMicrosoft Mobile Developer
 

Más de Microsoft Mobile Developer (19)

Healthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia AshaHealthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia Asha
 
Lessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviewsLessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviews
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tag
 
HERE Maps for the Nokia X platform
HERE Maps for the Nokia X platformHERE Maps for the Nokia X platform
HERE Maps for the Nokia X platform
 
Nokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerationsNokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerations
 
UX considerations when porting to Nokia X
UX considerations when porting to Nokia XUX considerations when porting to Nokia X
UX considerations when porting to Nokia X
 
Kids' games and educational app design
Kids' games and educational app designKids' games and educational app design
Kids' games and educational app design
 
Nokia X: opportunities for developers
Nokia X: opportunities for developersNokia X: opportunities for developers
Nokia X: opportunities for developers
 
Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1
 
Intro to Nokia X software platform and tools
Intro to Nokia X software platform and toolsIntro to Nokia X software platform and tools
Intro to Nokia X software platform and tools
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra app
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo store
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progetto
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocamera
 
NFC, Bluetooth e comunicazione tra app
NFC, Bluetooth e comunicazione tra appNFC, Bluetooth e comunicazione tra app
NFC, Bluetooth e comunicazione tra app
 
Connettersi al Cloud Azure Mobile Services
Connettersi al Cloud Azure Mobile ServicesConnettersi al Cloud Azure Mobile Services
Connettersi al Cloud Azure Mobile Services
 
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
 
Sviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenSviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screen
 
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingAccesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
 

Último

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Último (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

New features in Nokia Asha web app tools 3 0 (beta)

  • 1. / DEVELOPER DAY New Features in Nokia Asha Web App Tools 3.0
  • 2. / DEVELOPER DAYNokia Asha Web App Tools 3.0 CONTENTS • Web app on new Asha and S40 Devices • New Nokia Asha Skin • HardwareBack buttonSupportin web apps • MediaCapturevia web app • Improvementsin Templatesand Samples • OptimizationTechniques
  • 3. / DEVELOPER DAYNokia Asha Web App Tools 3.0 WEB APP ON NEW ASHA AND S40 DEVICES • Will my web app built on Nokia Asha Platform1.0 work on S40 devices? Yes. It will work with older devices. Web apps are dependenton the browserclient that is runningon the device and not on the platform. • What featuresfrom my web app will be missingon older S40 devices? As long as the user is using the appropriatebrowserclientwhich supportsthe web app featurethen the web app will behavein the same way in S40 devicesas in new NokiaAsha devices (exceptfor lack of hardware,like back key presentin new Asha device and not presentin S40 devices) 3
  • 4. / DEVELOPER DAYNokia Asha Web App Tools 3.0 NEW NOKIA ASHA SKIN 4
  • 5. / DEVELOPER DAYNokia Asha Web App Tools 3.0 NEW NOKIA ASHA SKIN – FEATURES 5 Swipe from left or right edge to exit the web app Swipe from bottom to bring in the options menu
  • 6. / DEVELOPER DAYNokia Asha Web App Tools 3.0 HARDWARE BACK BUTTON SUPPORT Template mwl.addNavBackListener(<nodeID>, <JS / non-JSfunctions>); Example.: Only MWL calls: mwl.addNavBackListener('#page2',"mwl.show('#page1');mwl.hide('#page2');"); Mix Of MWL and Js calls: mwl.addNavBackListener('#page2', "mwl.show('#page1');mwl.hide('#page2');updatePage1();"); Only JS call: mwl.addNavBackListener('#page2',"UpdatePage2();");
  • 7. / DEVELOPER DAYNokia Asha Web App Tools 3.0 HARDWARE BACK BUTTON SUPPORT Points to be noted • If there are no listeners for the visible view/page, on pressing the back button user will be prompted to exit the web app • On multiple listeners for the visible view/page, first visible id’s listener callback is executed • The call to add listeners should be present in the script tag of the index.html 7
  • 8. / DEVELOPER DAYNokia Asha Web App Tools 3.0 HARDWARE BACK BUTTON SUPPORT Templates/Samples with Hardware Back button implementation • BackKeySample • RSS Feed • Accordion • NewsReader • News project • Multi-ViewProject Accordiontemplateis a good exampleto note that the implementationis developerspecific. In accordiontemplate,on pressingback key,it closes the currentopen fold instead of requestingthe user to close the web app 8
  • 9. / DEVELOPER DAYNokia Asha Web App Tools 3.0 USB DEPLOYMENT • In Deployment settings you can choose on which device you want to deploy the web app and via which option • S40 Device – Both bluetooth and USB support are present • No changein the deploymentbehavior • Nokia Asha Platform 1.0 – USB support is available • If the USB Launcheris not runningon the device,the tool will provideyou with a shorturl fromwhich you can downloadthe USB Launcheron the device • If the USB Launcheris runningon the device,then the tool will deploywith web app on the devicesimilar to S40 devices 9
  • 10. / DEVELOPER DAYNokia Asha Web App Tools 3.0 MEDIA CAPTURE HTML code changeonly ImageCapture <inputtype="file"name="camera_image"accept="image/*" capture="camera"size="20"/> VideoCapture <inputtype="file"name="camera_video" accept=“video/*" capture="camera"size="20"/> Samplefor MediaCapture • MediaCaptureSample
  • 11. / DEVELOPER DAYNokia Asha Web App Tools 3.0 IMPROVED TEMPLATE AND SAMPLE Improved Template / Sample Template/Sam ple with quicker initial loading for better user experience
  • 12. / DEVELOPER DAYNokia Asha Web App Tools 3.0 IMPROVED TEMPLATE AND SAMPLE 12 • Instead of loading title, image, description during the initial load, load them on demand • In the sample (News Reader) that has been provided, only the feed titles are loaded initially, the description and images are deferred for later • When the user selects a particular title, then we update the html to include the image and description on showing the detailed page of the feed • Server detects the change in the html and depending on the size and number of changes in the html, it will send a partial page update or full page update
  • 13. / DEVELOPER DAYNokia Asha Web App Tools 3.0 OPTIMIZATION TECHNIQUES • Whyshouldthe user wait to use the Web App? •  Redesignto have quickfirst look experience. • Whereverpossible use mwl calls insteadof JavaScript • ApplicationJavaScriptshould be fast (e.g. is your Contentserversendingtoo much data to be digestedby JavaScript?) • Makesure you have optimizedyour server’soutput(XML, JSON etc. API responses) • For betteruser experienceof your web app try PartialPage update and avoid full page changes. • See the News Readersample. • Third-partyJavaScriptlibrariesfor interactiveUI elements is not a good idea, as non-MWL JavaScriptcode executeson the server,not on the phone.Therefore,each librarycall requiresround-tripcommunicationbetweenthe Nokia Xpress client and server.
  • 14. / DEVELOPER DAYNokia Asha Web App Tools 3.0 Want to learn more? Go to: http://www.developer.nokia.com/Develop/asha/web/ Or via Web Developer Channel (WDC) present in the tool itself. THANK YOU!