M
M
mississippi2019-03-21 11:49:41
Android
mississippi, 2019-03-21 11:49:41

How to save a file to your phone?

I am getting an array of bytes and a filename. From this you need to generate a file and save it on the device. What is the best way to do this? I kind of learned how to save the file, but I can’t find the file itself along the prescribed path
( Environment.SpecialFolder.LocalApplicationData ), and Exist gives true, that is, as I understand it, the file exists and lies somewhere, but I can find this path on the phone I can not. I would like to save the file to a simpler place, for example, to the Download folder.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Zolotov, 2019-03-21
@SZolotov

See how it's done in Java. Plus, docs.microsoft.com has good documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question