Introduction

Preview:

Citation preview

Bruce Scharlau, University of Aberdeen, 2009

Introduction

CS5011/CS4032:

Mobile Computing

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reduce friction

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications are becoming more popular

http

://m

obi

le7t

h.fu

ture

text

.com

/

Bruce Scharlau, University of Aberdeen, 2009

Mobile is 7th Mass Mediaht

tp:/

/mo

bile

7th.

futu

rete

xt.c

om/

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reach the parts others don’t

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

Bruce Scharlau, University of Aberdeen, 2009

Understanding web sites is fine for building mobile friendly sites

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications for the phone are different

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

Bruce Scharlau, University of Aberdeen, 2009

Mobile and desktop development differ

What differences are there?

Bruce Scharlau, University of Aberdeen, 2009

Course is a mixture of lectures, practicals and discussions

Bruce Scharlau, University of Aberdeen, 2009

Lectures introduce topics covered in practicals

Cover technical and context issuesCover technical and context issues

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

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

Bruce Scharlau, University of Aberdeen, 2009

Information from the net and books

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

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

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/

Bruce Scharlau, University of Aberdeen, 2009

Design finished

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

http://www.braathensitsolutions.com/homenew

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

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

Bruce Scharlau, University of Aberdeen, 2009

Mobile development is challenging

Constraints on many aspects Constraints on many aspects

Bruce Scharlau, University of Aberdeen, 2009

Variety of languages and platforms to choose from

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

Bruce Scharlau, University of Aberdeen, 2009

We use Java for Java ME and Android

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

Bruce Scharlau, University of Aberdeen, 2009

Use Wireless Toolkit in addition to JDK for Java

Bruce Scharlau, University of Aberdeen, 2009

Can also use an IDE with plugins

Bruce Scharlau, University of Aberdeen, 2009

Netbeans offers graphic editing but locks the code

Eclipse offers unlocked generated code

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

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

Bruce Scharlau, University of Aberdeen, 2009

There is still the fragmentation issue

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

Bruce Scharlau, University of Aberdeen, 2009

Java is horribly fragmented

http://mobilephonedevelopment.com/archives/713

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

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?

Bruce Scharlau, University of Aberdeen, 2009

Aim for widest possible coverage

Know your target marketKnow your target market

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

Bruce Scharlau, University of Aberdeen, 2009

Possibilities are still plentiful

Bruce Scharlau, University of Aberdeen, 2009

Why have mobile versions?

Both have web based versions alreadyBoth have web based versions already

Bruce Scharlau, University of Aberdeen, 2009

Mobile application has better features

PersistencePersistence

AuthenticationAuthentication

APIs not in browserAPIs not in browser

Bruce Scharlau, University of Aberdeen, 2009

Mobile applications reduce friction

They make life easierThey make life easier

Recommended