© Ted Hagos 2018
Ted HagosLearn Android Studio 3 with Kotlinhttps://doi.org/10.1007/978-1-4842-3907-0_18

18. Internal Storage

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 
What we’ll cover:
  • Introduction to file I/O of Android

  • Internal vs External storage

  • How to use internal storage

We learned how to use the preferences file in the previous chapter. SharedPreferences use a dictionary-like structure, you can save rows of data in key-value format; but you can only save basic types in it. When you need to work with file structures that are not limited to key-value pair and basic types, you can use the good ole file classes from Java I/O (input/output). That’s the topic of this chapter.

Overview of File Storage

When you need to work with video, ...

Get Learn Android Studio 3 with Kotlin: Efficient Android App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.