coursework 2: getting started (2) – using the phone emulator and browser

14
Coursework 2: getting started (2) – using the phone emulator and browser Chris Greenhalgh G54UBI / 2011-02-21

Upload: glynn

Post on 06-Jan-2016

47 views

Category:

Documents


0 download

DESCRIPTION

Coursework 2: getting started (2) – using the phone emulator and browser. Chris Greenhalgh G54UBI / 2011-02-21. Contents. An introduction to Android General The browser Some important settings. Start an emulator…. See the separate notes on starting an emulator - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Coursework 2: getting started (2) – using the phone emulator and browser

Coursework 2: getting started (2) – using the phone emulator and browser

Chris GreenhalghG54UBI / 2011-02-21

Page 2: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 2

Contents

• An introduction to Android– General– The browser– Some important settings

Page 3: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 3

Start an emulator…

• See the separate notes on starting an emulator – (or get a real Android phone)

Page 4: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 4

Using the emulatorID/Port number

Unlock by dragging

right

Simulated hardware

keys

“Home”“Menu” “Back” “Search”

Power / lock

“Enter”Cursor

Page 5: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 5

The “home” screen

Touch to see all applications

Browser

Touch (anywhere)

and drag up/down to

scroll

System settings

Notifications:drag down to view

Page 6: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 6

The browserURL

(scroll up to view)

Page view

On-screen keyboardfor text entry

Mode key(s)

Shift/lock

Text cursor (tap to start entering text)

Page 7: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 7

Zooming views

Zoom controls

• Touching (clicking on) the view or dragging it slightly should show the zoom controls– Alternatively double tap / click

to zoom in and out alternately– On a real device use the “pinch”

zoom gesture:

Page 8: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 8

Check/Exercise

• View the Computer Science home page in the browser (“http://www.cs.nott.ac.uk”)– Unlock the phone, open the browser,

scroll to see the URL box, tap it and enter the URL, press Go and check that the School homepage appears

• Try the same for an external site, e.g. “http://www.google.com”– If you can’t access this from an

emulator in the University refer to notes starting an emulator, in particular proxy settings

Page 9: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 9

Browser menu options

Main menu

(6 options)

More ... Force reload

of page (e.g. if changed)

Extended menu

Page 10: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 10

Setting the input Language (AppInventor emulator)

• If the on-screen keyboard does not appear as a standard English one then check the Language and keyboard settings….

Page 11: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 11

Using a real device (only!): Wireless

• Setting up WiFi access in the University: see– http://www.nottingham.ac.uk/is/connect/wireless

/index.aspx– Note that UoN-secure will NOT allow access to

external web sites (e.g. google maps) from Android because a proxy cannot be set on a real device

Note: you cannot set up wireless access on an Emulator; it uses the host machine’s network

Page 12: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 12

Using a real device: Location

• Check that GPS is enabled– Disabling use of wireless may give more consistent

results in some situations

Note: this should already be configured correctly in an Emulator

Page 13: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 13

Using a real device: development• To install applications: – allow “Unknown sources”

• To allow debug/logging over USB: – allow “USB debugging”

• To allow “faking” of GPS position (inc. emulator):– Allow “Allow mock locations”

Note: this should already be configured correctly in an Emulator

Page 14: Coursework 2: getting started (2) – using the phone emulator and browser

Chris Greenhalgh ([email protected]) 14

Conclusions

• You should now be able to– Use an Android device, in particular– Navigate the home screen– Use the built-in browser– Check standard settings