© 2009 research in motion limited introduction to gps and wi-fi technology on blackberry...

23
© 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Post on 15-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited

Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Page 2: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited

Agenda

This course covers the following topics:

– Introduction to developing applications for mobile devices

– Methods of application development for mobile devices

– Introduction to GPS and Wi-Fi® technology on BlackBerry® smartphones

Page 3: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Agenda

– Introduction to push technology

– Data structures and memory management on mobile devices

– User interface design for mobile devices

– BlackBerry themes and animated graphics

– Security considerations for developing applications for mobile devices

Page 4: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Objectives:

– Define GPS.

– Describe the functionality of GPS on BlackBerry smartphones.

– Identify the limitations and benefits of using GPS on a BlackBerry smartphone.

– Define Wi-Fi for BlackBerry smartphones.

– Describe the functionality of Wi-Fi on BlackBerry smartphones.

– Identify the limitations and benefits of using Wi-Fi on a BlackBerry smartphone.

© 2009 Research In Motion Limited

GPS Global Positioning System

Page 5: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited

GPS technology

Page 6: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited

GPS technology

– Location information comes from satellites that continually transmit position information.

– BlackBerry smartphone applications can use GPS location information for the following:

• Turn-by-turn navigation

• Share current location with others

• Geotag photographs

• Provide users with targeted promotions and alerts based on their current location

Page 7: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology

To use GPS location data in a BlackBerry application, use the Location API for Java® ME in the javax.microedition.location package (JSR 179).

Page 8: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – JSR 179

Commonly used classes:

– LocationProvider is the engine.

– Criteria is passed to LocationProvider to define the type of GPS fix.

– Location is the set of location data (coordinates, direction, and speed) generated by LocationProvider.

Page 9: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – JSR 179

Commonly used interfaces:

– LocationListener

• Receives updated location data from LocationProvider at specified intervals

• Detects when GPS information is or becomes unavailable

– ProximityListener

• Detects proximity to a specified set of coordinates

Page 10: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – information sources

Three fix types:

– Cellsite

– Autonomous

– Assisted

Page 11: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – cellsite fix

– Gets location information of the cell tower the mobile device is currently using

– When possible, uses cell tower triangulation to provide more accurate information

– Gets location information from the cellular network, rather than from GPS satellites

Page 12: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – cellsite fix

Advantages:

– Fast TTFF

– Consumes very little power

Disadvantages:

– Least accurate of the fix types (accurate to within 100 meters)

– Typically available only on CDMA and i-DEN networks

– User can incur a cost for using the networkTTFF time to first fix

Page 13: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – autonomous fix

– Location information comes directly from orbiting GPS satellites.

Page 14: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – autonomous fix

Advantages:

– Accurate to within 30 meters

– Does not require network coverage

Disadvantages:

– Highest power consumption

– Slowest TTFF (up to two minutes), because the receiving device has to search for satellite signals

Page 15: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – assisted fix

– The BlackBerry smartphone communicates with the PDE server on the wireless network to determine GPS satellite locations.

– Location information comes from GPS satellites.

PDE position determining entity

Page 16: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – assisted fix

Advantages:

– Very accurate (within 30 meters)

– Much shorter TTFF than autonomous GPS

Disadvantages:

– Higher power consumption than cellsite fixes (but lower than autonomous fixes)

– Requires network coverage

– Users can incur some costs

Page 17: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

GPS technology – BlackBerry Maps

Integrate your application with BlackBerry® Maps:

–Open BlackBerry Maps from your application.

–Place a menu item in BlackBerry Maps that launches your application.

–Open BlackBerry Maps from the BlackBerry® Browser.

Page 18: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited

Wi-Fi technology

Page 19: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Wi-Fi technology

–Wi-Fi networks are not owned and operated by wireless service providers.

–To set up a Wi-Fi network, connect a wireless router to a broadband modem with Internet access.

–The area covered by the Wi-Fi network is called a hotspot.

Page 20: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Wi-Fi technology

– If the BlackBerry smartphone uses BlackBerry® Mobile Data System or BlackBerry® Internet Service to connect, it switches automatically to Wi-Fi when it enters a hotspot (least cost routing).

– You can configure your application to:

• Use Wi-Fi

• Detect the Wi-Fi capabilities of the BlackBerry smartphone

• Retrieve status information about the Wi-Fi connection

Page 21: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Wi-Fi technology – advantages

Advantages:

– No wireless network fees

– Very fast

– Less susceptible to interference

Disadvantages:

– Very limited range (up to 50 meters)

– Less secure than mobile networks

Page 22: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

Objectives review:

– Define GPS.

– Describe the functionality of GPS on BlackBerry smartphones.

– Identify the limitations and benefits of using GPS on a BlackBerry smartphone.

– Define Wi-Fi for BlackBerry smartphones.

– Describe the functionality of Wi-Fi on BlackBerry smartphones.

– Identify the limitations and benefits of using Wi-Fi on a

BlackBerry smartphone.

© 2009 Research In Motion Limited

Page 23: © 2009 Research In Motion Limited Introduction to GPS and Wi-Fi technology on BlackBerry smartphones

© 2009 Research In Motion Limited