Nokia PowerPoint template 2005

1 / 23
About This Presentation
Title:

Nokia PowerPoint template 2005

Description:

Manager of the Boston Adobe Mobile and Devices User Group: ... Flash Lite 2.x: it uses the device video player within the Flash Lite content for playback ... – PowerPoint PPT presentation

Number of Views:1068
Avg rating:3.0/5.0
Slides: 24
Provided by: sra7

less

Transcript and Presenter's Notes

Title: Nokia PowerPoint template 2005


1
Flash Lite Tips and Tricks Alessandro
PaceMobile Architect
2
Biography
  • Mobile Architect, expertise Flash Lite since 2004
  • Forum Nokia Champion since 2006
  • Manager of the Boston Adobe Mobile and Devices
    User Group flashmobilegroup.org
  • Founder organizer of Mobile Monday Boston
  • Blogs at biskero.org, flashlite4nokia.com
  • Site at biskero.com

3
Goal
At the end of this session, you will
Learn some key points on Flash Lite content
development on the Nokia S60/S40 Platforms
4
Agenda for today
  • Understand the development cycle
  • Flash Lite which platform, what version?
  • Flash Lite content creation key points
  • Flash Lite and Media
  • Flash Lite and packaging
  • Flash Lite version detection
  • Flash Lite and OMA DRM

5
Understand the Flash Lite development cycle
Content type, IDE and Testing
  • Nokia Flash Lite content types
  • S60 standalone, screensaver and browser
  • S40 all the above wallpaper
  • Flash IDE Device Central emulator
  • Allows you to develop content for all Flash Lite
    versions and Flash Lite content types
  • Device Central 70-80 of work
  • Flash Lite testing
  • Remote Device Access (RDA), S60/S40 Nokia SDK
  • Tip get both S60 and S40 devices for testing all
    content types

6
Flash Lite which platform, what version ?
Nokia S60 and S40 support Flash Lite 1.1, 2.0,
2.1, 3.0
  • Nokia supports all the Flash Lite player versions
  • S60 3rd Edition
  • Flash Lite 1.1
  • S60 3rd Edition FP1
  • Flash Lite 2.0
  • S60 3rd Edition FP2 S60 5th Ed.
  • Flash Lite 3.0
  • S40 3rd Edition FP1
  • Flash Lite 1.1
  • S40 3rd Edition FP2
  • Flash Lite 2.0
  • S40 5th Edition and FP1
  • Flash Lite 2.1 3.0 (latest)
  • S40 6th Edition
  • Flash Lite 3.0
  • Tip 1 there some exceptions, i.e. E66, E71 have
    Flash Lite 3
  • Tip 2 no new Nokia handsets with Flash Lite
    1.1/2.0, but millions out there!

7
Flash Lite content creation key points
Memory, FSCommands and System.capabilities
  • Memory
  • Standalone up to 4 Mbytes, screensaver/wallpaper
    up to 1 Mbytes
  • Garbage Collector (GC) use memory, runs every 60
    seconds and for gt 20 memory increase
  • FSCommands API to create one SWF to fit ALL
  • FSCommand2("GetSoftKeyLocation")
  • -1 Not supported 0 Soft keys on top 1 Soft
    keys on left 2 Soft keys on bottom 3 Soft keys
    on right
  • Use System.capabilities
  • System.capabilities.audioMIMETypes
  • System.capabilities.imageMIMETypes
  • System.capabilities.videoMIMETypes

8
Flash Lite content creation key points cont.
How to architect more complex Flash Lite content
  • Optimize graphics to best render on specific
    mobile phone model
  • Color depth 16/24 bit
  • Use images for complex animations less CPU
    cycles
  • Use most common fonts or pixel fonts
  • Multiple SWF architecture for more complex
    content
  • Extend content features for example multi-level
    games
  • Memory optimization
  • Tip create Master SWF to load other SWFs

9
Flash Lite and Media sound
Different sound capabilities based on Flash Lite
version
  • Flash Lite 1.1
  • Device sound, midi sounds
  • Trick getURL() API to download/stream audio,
    i.e. .mp3/.aac
  • Flash Lite 2.x
  • Audio API local/remote (no streaming), in memory
    playback
  • Trick use video API to stream a .3gp file with
    audio and no video !
  • Flash Lite 3.0
  • mp3 streaming using Flash Media Server (rtmp//
    protocol)
  • Tip Nokia default streaming protocol is rtsp//

10
Flash Lite and Media video
Different video capabilities based on Flash Lite
version
  • Flash Lite 1.1
  • Trick getURL() API to download/stream video
    (i.e. .3gp/.mp4)
  • Flash Lite 2.x it uses the device video player
    within the Flash Lite content for playback
  • Video API, local/embedded/streaming (rtsp//)
  • Trick use loadMovie API to load (http) an
    embedded .3gp video into a .swf. In memory
    playback!
  • Flash Lite 3.0
  • Flash Video (.flv) local/progressive
    download/embedded/streaming
  • Streaming via Flash Media Server (rtmp//
    protocol)
  • Tip some of the latest Nokia S60 devices support
    FLV video playback

11
Flash Lite audio, video API
Sample code to playback local media
// Load and Play FLV Video var nokiaVideoNetConne
ction new NetConnection() nokiaVideo.connect(nu
ll) var videoFLVNetStream new
NetStream(nokiaVideo) videoFLV.play("nseriesad.fl
v") NokiaFLV.attachVideo(videoFLV)
  • // Load and Play Audio track
  • var audiotrackSound new Sound()
  • audiotrack.onLoad function(success)
  • if (success true)
  • audiotrack.start()
  • trace("audio track loaded")
  • else
  • trace("Error loading audiotrack")
  • // Load Audio Track Object
  • audiotrack.loadSound("nokiabrandmusic.aac",false)

// Load and Play 3GP Video video3gp.play("nseriesa
d.3gp")
12
DEMO
Flash Lite and Audio/Video
13
Flash Lite and Firmware update
Get newer version of the Flash Lite player
  • Latest firmware introduce Flash Lite 3 and WRT
  • Nokia N95
  • Nokia N95 8GB
  • Nokia N95 NAM
  • Nokia E90
  • Nokia N82

Tip these phones are Flash Lite 2.0 enabled
14
Flash Lite and Packaging
Setup web server for OMA DRM content delivery
  • Nokia Packaging and Flash Lite
  • x-epoc/x-sisx-app .sis
  • x-epoc/x-sisx-app .sisx
  • application/java-archive .jar
  • application/x-nokia-widgets .wgz
  • application/vnd.nokia.flashlite-archive .nfl
  • Third Party packaging lib extension tools
  • KuneryLite/SWFPack - .sis packaging lib
    extension for S60
  • SWF2Go - .sis packaging for S60
  • Janus - .sis packaging for S60 (Open Source)
  • Flyer Framework - .sis packaging lib extension
    (PyS60) for S60 (Open Source)
  • Jarpa - .jar packaging lib extension (J2ME) for
    S60/S40 (Open Source)
  • SWF2NFL - .nfl (AIR packaging tool) for S40 5th
    Ed FP1
  • W-d-get-it - .nfl and .wgz packaging OMA DRM
    1.0 FLock

15
Flash Lite version detection for delivery
Set up a mobile site to distribute Flash Lite
content
  • WURFL (Wireless Universal Resource File) is an
    XML configuration file which contains information
    about capabilities and features of many mobile
    devices
  • WURFL is based on User Agent Profile information
  • API JAVA, PHP, Perl, Ruby, Python, .Net, XSLT,
    C
  • It includes Flash Lite capabilities
  • WURFL-Flash Lite discussion group
    http//tech.groups.yahoo.com/group/wurflflashlite/

Source http//wurfl.sourceforge.net
16
Flash Lite and WURFL cont.
Compare UA string from mobile site to the one in
WURFL
  • Nokia N95 firmware 21.0.016
  • Mozilla/5.0 (SymbianOS/9.2 U Series60/3.1
    NokiaN95/21.0.016 Profile/MIDP-2.0
    Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML,
    like Gecko) Safari/413
  • ltgroup id"flash_lite"gt
  • ltcapability name"flash_lite_version"
    value3_0"/gt
  • ltcapability name"fl_wallpaper"
    value"false"/gt
  • ltcapability name"fl_screensaver"
    value"true"/gt
  • ltcapability name"fl_standalone"
    value"true"/gt
  • ltcapability name"fl_browser"
    value"true"/gt
  • ltcapability name"fl_sub_lcd"
    value"false"/gt
  • lt/groupgt
  • Nokia N95 firmware 10.0.014
  • Mozilla/5.0 (Symbianos/9.2 U Series60/3.1
    NokiaN95/10.0.014 Profile/MIDP-2.0
    Configuration/CLDC-1.1) AppleWebKit/413 (KHTML,
    like Gecko) Safari/413
  • ltgroup id"flash_lite"gt
  • ltcapability name"flash_lite_version"
    value"2_0"/gt
  • ltcapability name"fl_wallpaper"
    value"false"/gt
  • ltcapability name"fl_screensaver"
    value"true"/gt
  • ltcapability name"fl_standalone"
    value"true"/gt
  • ltcapability name"fl_browser"
    value"true"/gt
  • ltcapability name"fl_sub_lcd"
    value"false"/gt
  • lt/groupgt

Source http//wurfl.sourceforge.net
17
Flash Lite and OMA DRM 1.0
Flash Lite is considered passive content, like a
jpeg or mp3
  • Symbian Signed defines Passive Content (PC) as
    any SIS file that does not contain any executable
    (active) components.
  • OMA DRM 1.0
  • Forward lock
  • Combined Delivery
  • Separate Delivery
  • Use Nokia Multimedia Internet ToolKit 4.1 tool to
    apply OMA DRM 1.0
  • application/x-shockwave-flash

18
Flash Lite and OMA DRM 1.0 cont.
Nokia Multimedia Internet Toolkit 4.1
19
Flash Lite and OMA DRM 1.0 cont.
Setup web server for OMA DRM content delivery
  • MIME types to be defined on the web server
  • application/vnd.oma.drm.rightsxml .dr
  • application/vnd.oma.drm.rightswbxml .drc
  • application/vnd.oma.drm.content .dcf
  • application/vnd.oma.drm.message .dm
  • application/vnd.oma.drm.ddxml .dd
  • Tip Nokia mobile phone browser support Flash
    Lite content

20
DEMO
OMA DRM 1.0 Flash Lite protected
content http//www.biskero.org/nokia/drm/
21
Call for Action
Utilize global intelligence visit
community.forum.nokia.com
22
For More Information
  • Forum Nokia resources
  • Forum Nokia developer information
    http//www.forum.nokia.com
  • Community page http//community.forum.nokia.com
  • Forum Nokia Flash Lite Wiki and Discussions
  • Adobe Mobile and Devices http//www.adobe.com/mobi
    le
  • My blogs
  • www.biskero.org
  • www.flashlite4nokia.com
  • Tip Join the Boston Adobe Mobile and Devices
    User Group www.flashmobilegroup.org it FREE !!!

23
Forum NokiaThank YouAlessandro
Pacebiskero_at_gmail.comwww.biskero.orgwww.bisker
o.com
Write a Comment
User Comments (0)