Skip navigation

Read text files from assets

Read text files from assets: Java Design Patterns and APIs for Android
Read text files from assets: Java Design Patterns and APIs for Android

There are many times when you need to combine Java’s original packages with tools that are unique to Android. For example, when you want to read a file from persistent storage, you can use Java’s io and nio packages to actually read the file, but you’ll also need to use Android’s unique classes and methods to work with the local file system or application package. In this example I’ll show you how to include a text file in an app’s assets folder, and then open and read its contents at runtime.

Resume Transcript Auto-Scroll
Skill Level Beginner
2h 48m
Duration
45,478
Views
Show More Show Less
Skills covered in this course
Developer Mobile Apps Programming Languages Java

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