HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Write Text File to Internal Storage - Android Studio Tutorial

197,646 views November 9, 2018 11:05

Watch on YouTube
ChannelCoding in Flow

Description from the creator

In this video we will save a string to the internal storage of our device. We will use a FileOutputStream to save the data in bytes. Then we use a FileInputStream and a BufferedReader to read them back into our app and rebuild our string using a StringBuilder. We will also catch any IOExceptions.

Source code:
gist.github.com/codinginflow/6c13bd0d0841611579…

____________________
💻 Find the BEST programming tutorials on TutHub:
tuthub.io

⭐ Get my MVVM Caching Course now:
codinginflow.com/caching

❗ Subscribe to the channel:
youtube.com/c/codinginflo...

📨 Subscribe to the Coding in Flow newsletter:
codinginflow.com/newsletter

❓ Join our free developer community:
discord.gg/TSnMvmc

📣 Follow Coding in Flow on other sites:
Facebook: facebook.com/codinginflow
Instagram: instagram.com/codinginflow
TikTok: tiktok.com/@codinginflow
Twitter: twitter.com/codinginflow
Github: github.com/codinginflow

💰 Business requests, sponsoring, etc.: [email protected]

About this tutorial

Coding in Flow published this 11:05 video tutorial on November 9, 2018. It has been watched 197,646 times on YouTube.

Duration
11:05
Published
November 9, 2018
Views
197,646
Likes
2,509

Tags

Share

This tutorial in other languages