Chapter 17I/O and Internationalisation

  • Working with files
  • Mastering database features
  • Supporting text encoding
  • Locales, dates, and numbers

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 17 download and named according to the names throughout the chapter. After decompressing the downloaded Zip file you will have a tizen-io-i18n directory that contains the finished application.

This chapter focuses on two very important subjects: how to store your data, whether it’s in a simple file or a database, and how your application can use Tizen’s internalisation features to adapt to different languages, text encodings, and number and date formats. With a little work, you can make sure that your application is accessible to as many potential markets as possible by ensuring that it works worldwide — no matter the country, language, or character set.

With the popularity of cloud computing, the importance of storing files on a local device can sometimes be forgotten. Even web applications should support working offline and saving data locally. That’s why the features of Tizen’s Io namespace are so important. In this chapter, you’ll learn about some basic features, such as creating files and reading from and writing to files using the Io::File class; and some more complex features, such as using file locking to control access ...

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.