# Android Mode saving and loading txt file

**URL:** <https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504>\
**Category:** Processing for Android\
**Created:** [November 13, 2018, 5:37pm UTC](https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504 "2018-11-13T17:37:07Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![John56](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/john56/32/4192_2.png) [@John56](https://discourse.processing.org/u/John56)\
**Post date:** [March 18, 2019, 9:06pm UTC](https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504/9 "2019-03-18T21:06:22Z")

</div>

> [@imaginativeCODE](#):
>
> String ExampleText = new String[1]; void setup() { fullScreen(); ExampleImage= loadImage(“TestImage.png”); ExampleText = loadStrings(“TestStrings.txt”); } void draw() { image(ExampleImage, 0, 0, width, height); fill(0); textSize(33); text(ExampleText [0], width/2 - textWidth(ExampleText [0])/2, height/2); }

Thank you “imaginativeCODE”, this was a very useful information for me. I was unaware of the fact that in android mode absolute paths for data files are not allowed and I have to admit that I still do not really understand the philosophy behind. However, Thanks to you I now know how to create an androide app using input and output files. I presume, saveStrings follows the same way?

---

_[View the full topic](https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504)._
