Programming Advanced Nokia Features with Flash Lite
Upcoming SlideShare
Loading in...5
×
 

Programming Advanced Nokia Features with Flash Lite

on

  • 11,002 views

Programming Advanced Nokia Features with Flash Lite

Programming Advanced Nokia Features with Flash Lite
October 10, 2008
Forum Nokia Flash Lite Technology Day (Boston)

Statistics

Views

Total Views
11,002
Slideshare-icon Views on SlideShare
10,942
Embed Views
60

Actions

Likes
18
Downloads
4
Comments
1

5 Embeds 60

http://www.slideshare.net 35
http://flashmobile.scottjanousek.com 20
http://www.techgig.com 3
http://translate.googleusercontent.com 1
http://cyview.blogspot.hk 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • hukuhkj
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Programming Advanced Nokia Features with Flash Lite Programming Advanced Nokia Features with Flash Lite Presentation Transcript

    • Programming Advanced Nokia Features with Flash Lite Scott Janousek October 10, 2008
    • Agenda • Intro • S60 and Flash Lite Overview (Quick) • Extending Flash Lite on S60 3rd Edition • Walkthrough/Demo • S60 Platform Services • Summary • Q&A © 2008 Nokia Slide 2 Company Confidential
    • Goal At the end of this session, you will … Learn ways to tap advanced Nokia Features from Flash Lite on the Nokia S60 Platform. © 2008 Nokia Slide 3 Company Confidential
    • Stuff about me … INTRO © 2008 Nokia Slide 4 Company Confidential
    • About Scott Janousek • Professional • Founder/Technical Director, Hooken Mobile • Creating Flash Experiences (games, UI’s, applications, etc) on “Non-PC devices” (i.e. mobile, embedded) • Some of my Community Efforts • Forum Nokia Champion • Adobe Community Expert and Evangelist for Flash Mobile and Devices • Certified Flash Lite Instructor (1.1/2.x/3.x) • Co-Manager, Boston Adobe Mobile & Devices User Group • Author, Foundation Flash Apps for Mobile Devices: www.flashmobilebook.com • Frame27 – http://frame27.blogspot.com © 2008 Nokia Slide 5 Company Confidential
    • Some Recent (Community) Flash Lite Content • Recent content outside of NDAs, etc Flash Lite Casual Game Flash Lite Screen Saver Flash Lite Mobile Guide © 2008 Nokia Slide 6 Company Confidential
    • Upcoming Flash Book! • “Solutions to Mobile & Device Development with Flash Lite” • AdvancED Book: Friends of Ed • Covers advanced topics: • Flash Lite 2.x, 3.x features • Flash Mobile Application Development • Tools & Frameworks • Popular Mobile Platforms/Flash integration • Device APIs and Flash • … and more • Targets both existing Mobile and Flash (Lite) Developers © 2008 Nokia Slide 7 Company Confidential
    • Stuff you may, or may not, already know … S60 AND FLASH LITE OVERVIEW (QUICK) © 2008 Nokia Slide 8 Company Confidential
    • Nokia Series 60 Platform (Quick Recap) • Series 60, or “S60” S60 Platform (formerly Series 60 User Interface) is a software platform for mobile phones that runs on Symbian OS. S60 is currently amongst the leading smartphone platforms in the world. It is developed primarily by Nokia and licensed by them to other manufacturers. • Nokia 3rd Edition S60 devices support Flash Lite • S60 3rd Edition FP2, or “Feature Pack 2” is newest © 2008 Nokia Slide 9 Company Confidential
    • Relevant Nokia S60 Stats • S60 Devices Shipped = +150 Million • S60 3rd Edition devices = +80 Million • All 3rd Edition = Flash Lite support • Kuneri Lite runs under S60 3rd edition So, +80 million = target market Note: Nokia S60 statistics are from January 2008 © 2008 Nokia Slide 10 Company Confidential
    • Some of my Nokia S60 3rd Edition devices • Nokia N95, Nokia N95 8GB, Nokia E90 • Favorites for Flash Lite development on Nokia S60 © 2008 Nokia Slide 11 Company Confidential
    • What is Flash Lite (Quick overview) • “An optimized Adobe Flash run-time player for mobile and other non-pc devices” • Versions: 1.0→ 1.1→ 2.0→ 2.1→ 3.0→ 3.1 • +800,000,000 devices worldwide support Flash • Nokia S40 and S60 = Flash Lite support • +90 Nokia devices support Flash Lite! • Nokia supports Flash Lite content types: • S60 Web Browser, WRT, Standalone Apps, Wallpapers, Screensavers © 2008 Nokia Slide 12 Company Confidential
    • Flash Lite Architecture (Version 3.0) © 2008 Nokia Slide 13 Company Confidential
    • Flash Lite – Strengths and Weaknesses • Strengths • Media Capabilities • Graphics, Sound, Video, Text • Cross Platform/Portability across devices • Extensive Toolset (i.e. Adobe CS4, Adobe Device Central) • Weaknesses • Performance on low-end devices (given Memory & CPU) • Not immune to fragmentation issues • Low-level device integration can be perceived as limited © 2008 Nokia Slide 14 Company Confidential
    • The Fun Stuff … EXTENDING FLASH LITE ON S60 3RD EDITION © 2008 Nokia Slide 15 Company Confidential
    • Size =~ Addressable Market S60 Platform Development EXPERIENCE Flash Lite Kuneri Lite /3rd Party JAVA S60 ADVANCED © 2008 Nokia Slide 16 Company Confidential
    • Size =~ Addressable Market S60 Development Costs Development Cost Kuneri Lite/ 3rdParty Flash Lite Java S60 Attractive © 2008 Nokia Slide 17 Company Confidential
    • Symbian/S60 Development Realities • Native Symbian Development Challenges • More $$$ • More Time • More Product Management/Lifecycle • More Highly skilled Developers … ANSWER to these problems? Flash Lite + 3rd Party Software Extender © 2008 Nokia Slide 18 Company Confidential
    • How to “Extend” Flash Lite • By using 3rd party products ... Janus • All are supported under S60 platform • All are available TODAY • We will focus on Kuneri Lite in this presentation: • Was the 1st product to market • Plug-in architecture makes it easy to use and talk about • Minimal ActionScript = Maximum results with Kuneri Lite! © 2008 Nokia Slide 19 Company Confidential
    • Extending S60 Flash Lite: Pros vs Cons • Some Pros • Reach “outside the box” of current functionality • Tap really low-level, powerful device API capabilities • Create really cool and innovative applications • No need to learn Symbian S60 Programming , just use the products! • Saves Development Time! • Some Cons • Platform Fragmentation (outside of S60) • More Rigid Target Areas for Deployment • Company Support reliance • Symbian Signing (for some Device APIs) • Inflexible compared to custom S60 solutions © 2008 Nokia Slide 20 Company Confidential
    • Kuneri Lite – One Line Product Explanation • “Rapid Application Development Toolkit for Flash Lite” What? Why? KuneriLite is an innovative KuneriLite helps you to create Rapid Application Development great-looking S60 applications toolkit to extend Flash Lite faster, easier and cheaper. capabilities and create great- KuneriLite provides a common, looking S60 applications reusable and user friendly without any Symbian platform for you. knowledge. How much? For Whom? KuneriLite is created with You have rocking ideas? Need creativity, innovation and to develop advanced mobile diversity in mind. If your applications? Is S60 application is non-commercial, challenging and Flash Lite KuneriLite is completely free lacking some cool features? for you. © 2008 Nokia Slide 21 Company Confidential
    • Kuneri Lite Platform “Stack” Flash Lite User Interface & Logic Kuneri Lite Communication via Plugins Features and Device API © 2008 Nokia Slide 22 Company Confidential
    • Kuneri Lite Features • Fast • Powerful • Transparent to end-user • Small Footprint • 12 Plug-ins (growing) • Easy Packaging (.sis) • Time saving Device Emulator • Ease to use Step Wizard © 2008 Nokia Slide 23 Company Confidential
    • Kuneri Lite – Plug-ins • Accelerometer • Protect Read Sensor Values Very Simple SWF Security Protection • Camera • Ringtone Access the devices camera (if supported) Animated SWF ringtones • Connect • Rotate Send text/binary via Bluetooth Detect physical rotation of device • DTMF • System DTMF tone support (for checking vmail, etc) Launcher for applications • File • Timer Persistent data via file system Countdown to event • GPS • Upload/Download Location Based Services Upload content via HTTP © 2008 Nokia Slide 24 Company Confidential
    • Kuneri Lite Products • 3 versions that offer same feature set • Developer → Professional → Commercial FREE Developer Version Professional (Non Commercial) Commercial $99 per app package © 2008 Nokia Slide 25 Company Confidential
    • Kuneri-ized Apps – Path to Market • Path to Market FREE Developer Version Commercial/Professional Nokia S60 Device Markets TESTING & DEVELOPMENT DEPLOY (TO MARKET) © 2008 Nokia Slide 26 Company Confidential
    • Kuneri Lite – Product Wizard Walkthrough © 2008 Nokia Slide 27 Company Confidential
    • Kuneri Lite Architecture/Development Architecture Development Flash Lite (1.1/2.x/3.x) Adobe Flash 8/CS3/CS4 ActionScript (Commercial) Local HTTP calls Kuneri Lite Server Symbian C++ Kuneri Lite Wizard Native (FREE) Kuneri Lite Plug-ins (GPS, Camera, etc) .sis Native Nokia S60 SDK S60 on device (FREE) © 2008 Nokia Slide 28 Company Confidential
    • Kuneri Lite – Testing Work Flow Testing Work Flow Develop Flash Content CS3/CS4 Kuneri Lite Simulator/Emulator On-Device S60 Testing Kuneri Lite Emulator © 2008 Nokia Slide 29 Company Confidential
    • Demo & Walkthrough Two Simple examples using Kuneri Lite Plug-ins KISS 60 ScreenSaver Catalog “Gravity” – Accelerometer Example
    • Polling Methods for Kuneri Lite Flash Lite 1.1 Flash Lite 2.x/3.x •Off Stage MovieClip •setInterval() pID_num = setInterval( poll, 500 ); function poll():Void { //-- keep pinging KL plugin . . . . } //-- cleanup clearInterval( pID_num ); © 2008 Nokia Slide 31 Company Confidential
    • Kuneri Lite Communication via ActionScript • Flash Lite 1.1 • “Flash 4 syntax” - Create and off stage movieclip and target it with ActionScript loadVariables( quot;http://127.0.0.1:1001/Basic/accelerometer?klCommand=startsensorquot;, kl_mc ); • Flash Lite 2.x/3.x • ActionScript 2.0 and “polling” this.createEmptyMovieClip( “kl_mc”, this.getNextHighestDepth() ); loadVariables( quot;http://127.0.0.1:1001/Basic/accelerometer?klCommand=startsensorquot;, kl_mc ); © 2008 Nokia Slide 32 Company Confidential
    • What’s new and upcoming with Flash Lite on Nokia devices? S60 PLATFORM SERVICES © 2008 Nokia Slide 33 Company Confidential
    • Programming Nokia S60 System Features • Features / APIs not accessible (by default) in Flash Lite • Camera • Messaging • Landmarks • Location • Contacts • Calendar • Logging • Application Manager • System Info • Sensors • Etc. © 2008 Nokia Slide 34 Company Confidential
    • S60 Platform Services • Language and runtime neutral interface to platform service APIs • Available with S60 5th Edition devices • No plans for S60 3rd Edition Feature Pack 1 • Maybe S60 3rd Edition Feature Pack 2 © 2008 Nokia Slide 35 Company Confidential
    • S60 Platform Services API Support • The first release of S60 Platform Services for Flash Lite supports these APIs • ApplicationManager • Calendar • Contacts • Landmarks • Location • Logging • MediaManagement • Messaging • Sensor • SysInfo © 2008 Nokia Slide 36 Company Confidential
    • ActionScript Class Library • S60 Platform Services interfaces implemented as a new ActionScript class library • Bindings from Flash Lite to platform service APIs come in 2 flavors 1. Generic bindings var locationService = new Service(quot;Service.Locationquot;, quot;ILocationquot;); … 2. Concrete bindings var location = new LocationService(); … • Synchronous and asynchronous versions available © 2008 Nokia Slide 37 Company Confidential
    • Code Sample – Location API import com.nokia.lib.*; var locationUpdateParams = new Object(); var locationUpdateCallback = new Object(); //Create the location service provider (generic binding) var locationService = new Service(quot;Service.Locationquot;, quot;ILocationquot;); locationService.Trace(locationUpdateParams,locationUpdateCallback); locationUpdateCallback.onLoad = function(transactionID:String,eventID:String,locUpdateOutput){ var locationOutput = locUpdateOutput.ReturnValue; var lat = locationOutput.Latitude; var lon = locationOutput.Longitude; }; © 2008 Nokia Slide 38 Company Confidential
    • All (good) things must come to an end … SUMMARY © 2008 Nokia Slide 39 Company Confidential
    • Summary • Flash Lite is very good at what it does ... • Use 3rd Party Extenders for S60 apps under 3rd Edition • Consider S60 Platforms for newer S60 5TH Edition © 2008 Nokia Slide 40 Company Confidential
    • Call for Action Build more POWERFUL Flash Lite content – visit: www.kunerilite.net www.s60.com/life/thisiss60/s60indetail/softwareversions/5thedition © 2008 Nokia Slide 41 Company Confidential
    • For More Information Adobe Flash Lite • www.adobe.com/mobile • www.adobe.com/go/4it 3rd Party Products • Kuneri Lite: www.kunerilite.com • Janus: www.janus-flash.com • Flyer: code.google.com/p/flyer • SWF2GO: www.swf2go.com Forum Nokia resources • Flash Lite: www.forum.nokia.com/main/resources/technologies/flash • Forum Nokia developer information: www.forum.nokia.com • S60 Platform Services: http://www.forum.nokia.com/main/resources/technologies/technology_in_the_spotligh t.html © 2008 Nokia Slide 42 Company Confidential
    • Thank You! • Email Addresses: • scott@scottjanousek.com • scottjanousek@hookenmobile.com • URLs: • flashmobile.scottjanousek.com • www.hookenmobile.com • blogs.forum.nokia.com/blog/scott-janouseks-forum-nokia-blog • Other • Skype: scottajanousek • Twitter: scottjanousek • Facebook: scottjanousek © 2008 Nokia Slide 43 Company Confidential
    • Questions? Q&A © 2008 Nokia Slide 44 Company Confidential