november 2006mobile prototyping workshop flash lite 2.0 dean eckles greg cuellar

22
November 2006 Mobile Prototyping Workshop Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg

Upload: ronald-burke

Post on 06-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

November 2006Mobile Prototyping Workshop About the Instructor Dean Eckles mobile designer and researcher Designed and built prototypes at Stanford, Yahoo! Prototype Design, and Yahoo! Research Berkeley M.S. student in Symbolic Systems Program B.S. Symbolic Systems, B.A. Philosophy Persuasive Technology Lab ZoneTag -- a context-aware mobile photo sharing application from Yahoo! Research Berkeley Changing mobile location disclosure behaviour using persuasive technology

TRANSCRIPT

Page 1: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Mobile Prototyping Workshop

Flash Lite 2.0

Dean Eckles

Greg Cuellar

Page 2: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Flash Lite Development Environment Setup

• http://mobpro.pbwiki.com/Install

Page 3: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

About the Instructor

Dean Ecklesmobile designer and researcher• Designed and built prototypes at Stanford, Yahoo!

Prototype Design, and Yahoo! Research Berkeley• M.S. student in Symbolic Systems Program• B.S. Symbolic Systems, B.A. Philosophy• Persuasive Technology Lab• ZoneTag -- a context-aware mobile photo sharing

application from Yahoo! Research Berkeley• Changing mobile location disclosure behaviour using

persuasive technology

Page 4: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

A Survey of Mobile Development

Dean Eckles

Greg Cuellar

Page 5: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Why Mobile Development is Hard

• Targeting multiple devices– Intra- and inter-device UI consistency– Varying device capabilities– Completely different platforms

• Limited device capabilities– Traditionally great OOP not always the best

route• more...

Page 6: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Some Mobile Development Options

• Python• J2ME• Symbian C++• BREW• Flash Lite• Windows

Mobile

• WAP/XHTML• SMS• MMS• Palm• Linux• SVG• more...

Page 7: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Key Platform Considerations

• Deployment– Will this prototype be deployed at all?– What devices do our users have?

• Development time• Device access

– Using e.g. camera, bluetooth, contacts list?• UI

– Creating entirely new UI elements?

Page 8: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Python for S60Rapid concept prototyping

• Pros– Very rapid prototyping– Clean syntax, OOP potential– Built-in UI widgets– Access to device– Extensible with Symbian C++

• Cons– Slow to prototype new UI– Can be slow at runtime– Very limited deployment– S60 3rd edition security?

Page 9: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Java Micro Edition (J2ME)"Write once run anywhere" -- sometimes

• Pros– Java goodness– Huge deployment– Built-in widgets and powerful

drawing capabilities– JSRs add new APIs (e.g. camera)

• Cons– Heavy development overhead– Abstract UI or build your own– Finding the "perfect storm" of JSRs

Page 10: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Symbian C++Very powerful, difficult

• Pros– Access to (almost) everything

the phone has to offer– Large development, especially

in Europe• Cons

– Large development and learning overhead

– Lots of asynchronous calls – Symbian signing and 3rd

edition security

Page 11: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

BREW• Pros

– Good install process for users– Owned by Qualcomm, so all

issues can be brought up with them

• Cons– CDMA phones only (Verizon)– Limited development tools– Severe memory limitations

• ?– Complete Qualcomm control

Page 12: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

WAP/XHTML• Pros

– Easy to create (just markup)– No install for users– Huge deployment– Make incremental changes– WAP Push

• Cons– Very limited UI options– Latency can make each round

trip painful– No access to device

Page 13: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Flash LiteEngaging interactions, with limits

• Pros– Very fast prototyping of

engaging UI– Browse, install, or mixed model– Make incremental changes– Quickly growing deployment

• Cons– Limited deployed outside

Japan– Little access to device– Memory limits

Page 14: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Prototypingvs.

Development

Page 15: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Flash Lite Abilitieson its own

What Flash Can Do:• HTTP/HTTPS

connections• Parse XML• Play video and sound• SMS• Some file access

What Flash Can't Do:• Full file system

access• Camera access• Bluetooth• Location info• Socket connections

Note: Flash can interface with other technologies (such as Symbian C++) to do some things under "Can't"

Page 17: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Quick Flash Introduction

• Timeline– “organizes and controls a document's content

over time in layers and frames. Like films, Flash documents divide lengths of time into frames.”

• Movie clips– “autonomous objects that can respond to

events, send messages to other movie clip objects, maintain their state, and manage their child clips.”

Page 18: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Quick Flash Introduction, cont.

• ActionScript– EMCAScript– similar to JavaScript

• Important Distinctions– Author-time vs. runtime– Timeline vs. external AS files

Page 19: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Flash Lite History

• Flash Lite 1.0, 1.1– based on Flash 4– widely deployed only in Japan (imode)– installed on some S60 phones

• Flash Lite 2.0– based on Flash 7– just deployed by Verizon, more coming

Page 20: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

Let’s Get Started!

• Example 1 – Text fields

Page 21: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

More examples… 2

• Example 2 – Key presses and tweens

Page 22: November 2006Mobile Prototyping Workshop Flash Lite 2.0 Dean Eckles Greg Cuellar

November 2006 Mobile Prototyping Workshop

More examples… 3

• Example 3 – Screen switching