introduction

36
Bruce Scharlau, University of Aberdeen, 2009 Introduction CS5011/CS4032: Mobile Computing

Upload: peterbuck

Post on 19-Jun-2015

333 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Introduction

CS5011/CS4032:

Mobile Computing

Page 2: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reduce friction

Page 3: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications are becoming more popular

http

://m

obi

le7t

h.fu

ture

text

.com

/

Page 4: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile is 7th Mass Mediaht

tp:/

/mo

bile

7th.

futu

rete

xt.c

om/

Page 5: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reach the parts others don’t

http://en.wikipedia.org/wiki/GSM

Page 6: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Understanding web sites is fine for building mobile friendly sites

Page 7: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications for the phone are different

http://www.flickr.com/photos/mc/387159471/

Page 8: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile and desktop development differ

What differences are there?

Page 9: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Course is a mixture of lectures, practicals and discussions

Page 10: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Lectures introduce topics covered in practicals

Cover technical and context issuesCover technical and context issues

Page 11: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Discussions cover wider issues

Presentations for you to find what interests you on the topic

Presentations for you to find what interests you on the topic

Chance for others to disuss topic in detailChance for others to disuss topic in detail

Page 12: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Assessment will challenge youWrite a pub | cinema | restaurant | cafe |

museum, etc finding and reviewing tool.Use REST or some other means to gather a

sizable  list of appropriate places for Aberdeen, or some other city with details of name, address, and other appropriate attributes. This should include at least 40 or 50 items so that you can show the breadth of variety of places for your topic.

Use either Java ME or Google Android

Page 13: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Information from the net and books

http://www.csd.abdn.ac.uk/%7Ebscharla/teaching/CS5011/information/

Page 14: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reduce friction

Mobiles make it easier to do what you need to do when and where it’s convenient

Mobiles make it easier to do what you need to do when and where it’s convenient

Page 15: Introduction

Bruce Scharlau, University of Aberdeen, 2009

For example, if I want to book a flight…

http://sender11.typepad.com/sender11/2007/05/case_study_and_.html

http://www.branova.no/

http://www.flickr.com/photos/wili/140840576/

Page 16: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Design finished

http://sender11.typepad.com/sender11/2007/05/case_study_and_.html

http://www.braathensitsolutions.com/homenew

Page 17: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Number of steps on the web

Departure and arrival citiesDeparture and arrival cities

Number of passengersNumber of passengers

Which flightWhich flight

PaymentPayment

Etc, etc Etc, etc

Page 18: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile doesn’t have to be the same

Assume specific type of passengerAssume specific type of passenger

Assume payment is already determinedAssume payment is already determined

Assume specific type of flightsAssume specific type of flights

Page 19: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile development is challenging

Constraints on many aspects Constraints on many aspects

Page 20: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Variety of languages and platforms to choose from

http://en.wikipedia.org/wiki/Mobile_development

Page 21: Introduction

Bruce Scharlau, University of Aberdeen, 2009

We use Java for Java ME and Android

http://www.admob.com/s/solutions/metrics

Page 22: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Use Wireless Toolkit in addition to JDK for Java

Page 23: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Can also use an IDE with plugins

Page 24: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Netbeans offers graphic editing but locks the code

Eclipse offers unlocked generated code

Page 25: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Handset SDKs are also available

http://www.csd.abdn.ac.uk/%7Ebscharla/teaching/CS5010/information/

SDKs provide different emulators to see how your application works on that handset

Page 26: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Java ME Development

CodeCode

TestTest

PortPortNokiaNokia

Sony EricsonSony Ericson

Windows MobileWindows Mobile

PalmPalmSpecific modelsSpecific models

Specific modelsSpecific models

Specific modelsSpecific models

Specific modelsSpecific models

Page 27: Introduction

Bruce Scharlau, University of Aberdeen, 2009

There is still the fragmentation issue

http://www.comp.nus.edu.sg/%7Edamithch/df/device-fragmentation.htm

Page 28: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Java is horribly fragmented

http://mobilephonedevelopment.com/archives/713

Page 29: Introduction

Android offers faster development

Bruce Scharlau, University of Aberdeen, 2009

Design screens in xml or programmaticallyDesign screens in xml or programmatically

Ready to use librariesReady to use libraries

Code in JavaCode in Java

Page 30: Introduction

Bruce Scharlau, University of Aberdeen, 2009

851 different handsets used in the UK

You can’t test them allYou can’t test them all

What could you do?What could you do?

Page 31: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Aim for widest possible coverage

Know your target marketKnow your target market

Page 32: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Think small when using mobile

It’s not a desktopIt’s not a desktop

Smaller set of featuresSmaller set of features

Reduced memoryReduced memory

Tighter restrictionsTighter restrictions

Page 33: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Possibilities are still plentiful

Page 34: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Why have mobile versions?

Both have web based versions alreadyBoth have web based versions already

Page 35: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile application has better features

PersistencePersistence

AuthenticationAuthentication

APIs not in browserAPIs not in browser

Page 36: Introduction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reduce friction

They make life easierThey make life easier