Your application can store data using several different techniques depending on the size of the data, its structure, its lifetime, and whether it will be shared with other programs. In this chapter, we’ll take a look at three simple methods to keep local data: the preferences API, instance state bundles, and flash memory files.
转载于:https://www.cnblogs.com/zhtf2014/archive/2010/01/18/1650918.html