Create powerful, marketable applications with Tizen for the
smartphone and beyond

Tizen is the only platform designed for multiple device
categories that is HTML5-centric and entirely open source. Written
by experts in the field, this comprehensive guide includes chapters
on both web and native application development, covering subjects
such as location and social features, advanced UIs, animations,
sensors and multimedia.

This book is a comprehensive resource for learning how to
develop Tizen web and native applications that are polished,
bug-free and ready to sell on a range of smart devices, beyond just
smartphones. Tizen is an open source platform that is housed within
the Linux Foundation and is fully supported by Intel, Samsung and
the Tizen Association.

Professional Tizen Application Development:

* Explains how web applications can combine HTML5 features
with Tizen device APIs to unleash the full potential of the Tizen
platform

* Provides detailed, practical explanations of the most
important Tizen native APIs

* Demonstrates best practices for adding key features like
location, contacts and calendars to your apps

* Shows you how to use advanced features such as
animations, face recognition and sensors to help you create
applications that stand out from the crowd

* Shares code on advanced topics including multi-threading
and hybrid applications

* Includes numerous fully functional code examples, for
both web and native applications, complete with hints and tips to
get the most out of the Tizen APIs

Hojun Jaygarl, Yoonsoo Kim, Eunyoung Choi are Samsung engineers
working on Tizen. Cheng Luo, Kevin Bradwick and Jon Lansdell are
experienced professional developers.



Professional Tizen Application Development prepares you
to start creating amazing apps for multiple devices with the Tizen
platform.



Autorentext

Hojun Jaygarl, Yoonsoo Kim, and Eunyoung Choi are Samsung engineers working on Tizen. Cheng Luo, Kevin Bradwick, and Jon Lansdell are experienced professional developers.



Zusammenfassung

Create powerful, marketable applications with Tizen for the smartphone and beyond

Tizen is the only platform designed for multiple device categories that is HTML5-centric and entirely open source. Written by experts in the field, this comprehensive guide includes chapters on both web and native application development, covering subjects such as location and social features, advanced UIs, animations, sensors and multimedia.

This book is a comprehensive resource for learning how to develop Tizen web and native applications that are polished, bug-free and ready to sell on a range of smart devices, beyond just smartphones. Tizen is an open source platform that is housed within the Linux Foundation and is fully supported by Intel, Samsung and the Tizen Association.

Professional Tizen Application Development:

• Explains how web applications can combine HTML5 features with Tizen device APIs to unleash the full potential of the Tizen platform

• Provides detailed, practical explanations of the most important Tizen native APIs

• Demonstrates best practices for adding key features like location, contacts and calendars to your apps

• Shows you how to use advanced features such as animations, face recognition and sensors to help you create applications that stand out from the crowd

• Shares code on advanced topics including multi-threading and hybrid applications

• Includes numerous fully functional code examples, for both web and native applications, complete with hints and tips to get the most out of the Tizen APIs

Hojun Jaygarl, Yoonsoo Kim, Eunyoung Choi are Samsung engineers working on Tizen. Cheng Luo, Kevin Bradwick and Jon Lansdell are experienced professional developers.


Professional Tizen Application Development prepares you to start creating amazing apps for multiple devices with the Tizen platform.



Inhalt

Introduction xxiii

Part I: Getting Started

Chapter 1: An Introduction to Tizen 3

Discovering Tizen 3

The Tizen Association and Tizen Project 4

The Tizen Ecosystem 4

Reasons for Programming in Tizen 5

Tizen Is Based on Standards 5

Tizen Is Open 5

Tizen Is Heterogeneous 6

Tizen Has Industry Support 6

Installing the Tizen SDK 6

Prerequisites 6

Installing the SDK 7

Creating the Tizen Hello World Web Application 9

Creating the Hello World Tizen Native Application 13

Signing the Hello World Application 17

Summary 19

Chapter 2: Tizen App lication Packages 21

Packaging a Web Application 21

Packaging a Native Application 25

Packaging a Hybrid Application 29

Using Optional Features 31

Using Privileged APIs 35

Signing a Package 38

Summary 40

Chapter 3: Tizen Development Tools 41

The Tizen IDE 41

Tizen Emulator 42

Enabling Hardware Acceleration 45

Using the Tizen Emulator 45

Tizen Web Simulator 48

Smart Development Bridge 50

Debugging and Testing 53

Designing the UI with the UI Builder 56

Summary 58

Part II: Tizen Web APIs

Chapter 4: Web Application Fundamentals 61

The Web Runtime 62

Tizen Device APIs 63

Tizen Web UI Framework 65

Overview of the Tizen Web UI Framework 66

The Basics of jQuery Mobile 68

Using the UI Builder 69

Choosing Your Widgets 70

Implementing Events in the UI Builder 71

Summary 75

Chapter 5: Location-Based Services 77

Displaying a Map 78

Detecting a User's Location 80

Monitoring the User's Position 83

A Word of Caution 84

Adding Markers to a Map 84

Geocoding and Reverse Geocoding 85

Summary 87

Chapter 6: Multimedia 89

Discovering Multimedia Content 89

Embedding HTML5 Audio and Video 95

Capturing Images 96

Creating a Simple Camera Application 97

Capturing an Image 99

Summary 102

Chapter 7: Sensors and Other Hardware 103

Device Orientation 103

A Working Example 105

Near Field Communication (NFC) 110

Using NFC in Your Web Applications 111

Peer-to-Peer Mode 114

Summary 116

Chapter 8: Messaging Services 117

Messaging Service 117

E-Mail Client Example 124

Summary 131

Chapter 9: Contacts and Calendars 133

Setting Privileges 133

The Contact API 134

Address Book 134

Contacts 136

Person Objects 144

The Calendar API 146

Calendar Events 149

Calendar Tasks 149

Adding Events 151

Getting Events 153

Updating Events 153

Creating Recurring Events 154

Setting Alarms 157

Converting Events to iCalendar Format 158

Summary 159

Part III: Tizen Native APIs

Chapter 10: Native UI Applications 163

UI Framework Architecture 163

Types of Native UI Applications 166

Native UI Application Life Cycle 167

State Transition Flow 168

Initialisation and Termination 169

Application and Frame States 170

Creating a Form and Handling Events 171

Handling UI Events 175

Handling Hardware Keys 177

Handling Gestures 179

Summary 182

Chapter 11: Native Application fundamentals 183

Basic Idioms and Styles 184

Error Handling 184

Debugging Macro Functions 189

Two-Phase Construction 192

The RAII Idiom 193

Transferring Object Ownership 199

Titel
Professional Tizen Application Development
EAN
9781118809259
ISBN
978-1-118-80925-9
Format
E-Book (epub)
Hersteller
Herausgeber
Veröffentlichung
07.04.2014
Dateigrösse
17.08 MB
Anzahl Seiten
528
Jahr
2014
Untertitel
Englisch