Skip navigation

Work with files in internal storage

Work with files in internal storage: Android Development Essential Training: Local Data Storage
Work with files in internal storage: Android Development Essential Training: Local Data Storage

You can store information persistently on an Android device in simple files, either text-based or binary. For the examples in this chapter, I’ll focus on simple text, since it’ll be easier to see the results, but binary files work pretty much the same way as in any other Java-based platform. Android distinguishes between internal and external storage areas. Files saved to internal storage are hidden from the device user, and are tightly associated with the app. When an app is uninstalled, any files in its internal storage area are deleted automatically. Many files that are created by parts of the Android SDK, such as SQLite databases and shared preference files, are always created in this internal storage area, but you can create your own arbitrary files there as well.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 9m
Duration
90,314
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now