明壁幕府忍法帳 > Aptana Index > Home > Titanium SDK > Titanium SDK How-tos > Working with Local Data Sources

2011.12.05 Ver.3 (2018.3.3)

Working with Local Data Sources

Even the most rudimentary applications usually have some data storage requirements. Perhaps you want to save a user's name or preferences. Your app could download product information so that it's available when the network is not available. Or, maybe users snap photos which you save as files for later use within your application. In any of these cases, storing data on the user's device is a critical feature. In this chapter, you'll explore Titanium's uniform, cross-platform methods for accessing local data stores.

Sections in this chapter

Choosing a Persistence Strategy for your Application

In this chapter, you'll examine the various ways you can store data locally on the user's device and decide when it's best to use each technique.

Lightweight Persistence with the Properties API

Next, you'll learn how to store both simple and complex data in app properties and retrieve that data later.

Working with a SQLite Database

In this chapter, you will learn how to interact with the built-in SQLite3 RDMS with the Titanium.Database module.

Filesystem Access and Storage

Finally, you'll learn how to manipulate files and directories by using the Titanium.Filesystem module.


  • ラベルなし