# Exporting picture with Android App

**URL:** <https://discourse.processing.org/t/exporting-picture-with-android-app/31277>\
**Category:** Processing for Android\
**Created:** [July 16, 2021, 12:27pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277 "2021-07-16T12:27:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [July 16, 2021, 12:27pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/1 "2021-07-16T12:27:10Z")

</div>

Hi there! I am using processing android app, can you please tell me how to export a the images that I create with the code? Thanks!

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [July 16, 2021, 7:19pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/2 "2021-07-16T19:19:27Z")

</div>

Please search the forum there are lots of sketches on this.

---

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [July 17, 2021, 12:29am UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/3 "2021-07-17T00:29:16Z")

</div>

I really did not find them, could you give me a link please?

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [July 17, 2021, 12:50am UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/4 "2021-07-17T00:50:47Z")

</div>

[https://discourse.processing.org/search?q=Android%20save%20image](https://discourse.processing.org/search?q=Android%20save%20image)

---

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [July 17, 2021, 1:14pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/5 "2021-07-17T13:14:42Z")

</div>

These topics are more about adding images to android sketches and things like that, but I don’t find anything about exporting your image. My pc does that automatically, but I can not find them on my phone although I can open my sketchbook

 ![Screenshot_2021-07-17-09-14-15-035_com.mi.android.globalFileexplorer](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/268ffebb4cb4897ad542bcc5341c5b58ba63dcee.jpeg)

I have tried with save(); but it doesn’t work.

```auto
void setup() {
  
  size(1000, 1000);
  background(255,255,255);
  
  float x1 = random(0, 1000);
  float y1 = (0);
  float x2 = random(0, 1000);
  float y2 = random(0, 1000); 
  float x3 = random(0, 1000);
  float y3 = random(0, 1000);
  float x4 = random(0, 1000);
  float y4 = random(0, 1000);
  float x5 = (1200);
  float y5 = random(0, 1000);
  float x6 = (1200);
  float y6 = random(0, 1000);  
  float x7 = random(0, 1000);
  float y7 = (1200);
  float x8 = random(0, 1000);
  float y8 = random(0, 1000);
  float x9 = random(0, 1000);
  float y9 = random(0, 1000);
  float x10 = (0);
  float y10 = random(0, 1000);
  float x11 = random(0, 1000);
  float y11 = random(0, 1000);
  float x12 = (0);
  float y12 = random(0, 1000);
  float x13 = random(0, 1000);
  float y13 = (0);
 
  
  stroke(0, 0, 0);
  strokeWeight(3);
  
  //a
  line(x1, y1, x2, y2);
  line(x2, y2, x3, y3);
  line(x3, y3, x4, y4);
  
  //b
  line(x4, y4, x5, y5); 
  line(x5, y5, x6, y6);
  line(x6, y6, x7, y7);
  
  //c
  line(x7, y7, x8, y8);
  line(x8, y8, x9, y9);
  line(x9, y9, x10, y10);
  
  //d
  line(x10, y10, x11, y11);
  line(x11, y11, x12, y12);
  line(x12, y12, x13, y13);
  
  save("numberone.tiff");
  
  }
  
  

```

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [July 17, 2021, 1:31pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/6 "2021-07-17T13:31:11Z")

</div>

> [@Android camera .. save image](https://discourse.processing.org/t/android-camera-save-image/731/7):
>
> @adaptinnovative === I have written the code initially put; i have tested it again (OS6 MM), with some little modifs and it works: i can see the folder “camerademo” inside PICTURES and i can see the photo inside it. It is possible that URIfromFile does not work for OS\>6 MM, yet you can try and it s esay to change this part of the code. Dont forget to ask permissions on rutime if you using a phone more than lollypop. import android.app.Activity; import android.content.Intent; import android.net…

> [@Read and write images and text files Android](https://discourse.processing.org/t/read-and-write-images-and-text-files-android/29947):
>
> text saver. Save text to any location in android. Please set the manifest permissions by adding the following file to your sketch folder. AndroidManifest.xml \<?xml version="1.0" encoding="UTF-8"?\> \<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package=""\> \<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="28"/\> \<application android:icon="@mipmap/ic\_launcher" android:label=""\> \<activity android:n…

---

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [July 17, 2021, 1:34pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/7 "2021-07-17T13:34:51Z")

</div>

Thanks, I will ask in another topic about save() to understand it better.

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [July 17, 2021, 8:14pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277/8 "2021-07-17T20:14:55Z")

</div>

Sorry I misunderstood your question. I think you meat just saving an image. But you are looking to export the assets in the data folder and sketch folders. Normally it should be just as single as exporting the app, however if you are using android mode perhaps it’s using the android file structure and therefore they aren’t exported, just a guess.
