Save any files on internal storage and rewrite any exist file of internal storage

Hiii developer’s this post help you to create .txt or any extension file and save it to internal storage and also edit exist file and saved in same file.

Create text file and save on storage

for example i create a .txt extension file.

  • First create a string named file and set text on this string.
  • than create new string and set file path were you want save.
  • this is last block write string block add set first value file variable and in second valve set path variable.

see picture given below

Edit saved text file and rewrite

  • it’s similar but last block are different.
  • in the last block write string block add two join block.
  • in Frist value of join block add read file block.
  • and in the read file value add file path which you wanted to edit.
  • in second value write string you want to add.
  • and in the last add path variable.

see picture given below

if any doubts please contact from contact page.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.