140 likes | 299 Views
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
E N D
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 Chris Greenhalgh (cmg@cs.nott.ac.uk)
Start an emulator… • See the separate notes on starting an emulator • (or get a real Android phone) Chris Greenhalgh (cmg@cs.nott.ac.uk)
Using the emulator ID/Port number Unlock by dragging right Simulated hardware keys Power / lock “Enter” Cursor “Home” “Search” “Menu” “Back” Chris Greenhalgh (cmg@cs.nott.ac.uk)
The “home” screen Notifications:drag down to view Browser Touch (anywhere) and drag up/down to scroll System settings Touch to see all applications Chris Greenhalgh (cmg@cs.nott.ac.uk)
The browser URL (scroll up to view) Text cursor (tap to start entering text) Shift/lock Mode key(s) On-screen keyboardfor text entry Page view Chris Greenhalgh (cmg@cs.nott.ac.uk)
Zooming views • 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: Zoom controls Chris Greenhalgh (cmg@cs.nott.ac.uk)
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 Chris Greenhalgh (cmg@cs.nott.ac.uk)
Browser menu options Extended menu Main menu(6 options) More ... Force reload of page (e.g. if changed) Chris Greenhalgh (cmg@cs.nott.ac.uk)
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…. Chris Greenhalgh (cmg@cs.nott.ac.uk)
Using a real device (only!): Wireless Note: you cannot set up wireless access on an Emulator; it uses the host machine’s network • 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 Chris Greenhalgh (cmg@cs.nott.ac.uk)
Using a real device: Location Note: this should already be configured correctly in an Emulator • Check that GPS is enabled • Disabling use of wireless may give more consistent results in some situations Chris Greenhalgh (cmg@cs.nott.ac.uk)
Using a real device: development Note: this should already be configured correctly in an Emulator • 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” Chris Greenhalgh (cmg@cs.nott.ac.uk)
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 Chris Greenhalgh (cmg@cs.nott.ac.uk)