Chapter 15Location and Social Services

  • Monitoring locations
  • Creating accounts
  • Managing contacts
  • Calendars, events, and tasks

The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionaltizen on the Download Code tab. The code is in the Chapter 15 download folder.

In this chapter you’ll be introduced to two features at the heart of any smart device: location and social services. Tizen’s location service enables you to track the location of the device and be notified if the user moves into or out of a particular region, or travels a certain distance. Of course, some users may not want you to access their location information, and users have full control over location privacy.

The second key feature is social services. The Social namespace is responsible for managing the address book and calendar on a device. You’ll write code to manage contacts and construct complex contact searches and then find out how to create calendars and add events and tasks. Throughout the chapter there are practical examples to help you master features such as recurring events and reminders, all designed to help you create your own applications.

THE LOCATION SERVICE

Positioning is a key function of a location-based service. The Tizen::Locations namespace provides the following services when used in conjunction with a location provider:

  • Retrieving the device location
  • Registering a region for location-based ...

Get Professional Tizen Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.