Chapter 11Native Application Fundamentals

  • Handling errors and exceptions
  • Debugging macros and logging
  • Native programming idioms
  • Smart pointers for smarter code
  • Strings and collections

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 11 download and named according to the names throughout the chapter. After decompressing the downloaded Zip file, you will have a tizen-fundamentals directory that contains the sample code.

This chapter explains the essential idioms and programming styles used by the Tizen native APIs that you should follow in your own code. Time spent becoming familiar with these concepts now will pay off later in your development efforts; so while these may not be the most glamorous topics, they’re arguably the most important.

If you design your code with proper error handling, log information to help with debugging, and understand the object ownership rules, your code will be easier to maintain and debug. By becoming familiar with manipulating Tizen’s core data types, such as strings, collections, and date and time, you can spend more of your development time on the details of your applications. This chapter will help you start to master these Tizen development essentials.

BASIC IDIOMS AND STYLES

In this section, you’ll learn how the Tizen approach to error handling compares with standard C++ exceptions ...

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.