# Processing for Android

**URL:** https://discourse.processing.org/c/processing-android/12.md?no_subcategories=false&page=10

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 11

---

## [Ketai bluetooth Error in reading connect data.:null](https://discourse.processing.org/t/ketai-bluetooth-error-in-reading-connect-data-null/32125)

<div class="topic-metadata">

**Author:** [@TheGoldenHammer](https://discourse.processing.org/u/TheGoldenHammer)\
**Replies:** 1\
**Last updated:** [September 7, 2021, 9:11pm UTC](https://discourse.processing.org/t/ketai-bluetooth-error-in-reading-connect-data-null/32125 "2021-09-07T21:11:29Z")

</div>

I am having trouble with my bluetooth app, I am sending data from a raspberry pi over bluetooth to my phone, but an error comes out saying " Error in reading connect data.:null", when I try to send that data. It doesn’t …

---

## [Terminate android program](https://discourse.processing.org/t/terminate-android-program/5114)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 20\
**Last updated:** [September 7, 2021, 8:49pm UTC](https://discourse.processing.org/t/terminate-android-program/5114 "2021-09-07T20:49:49Z")

</div>

Hi there. I have used the exit() function to exit the program but it only closes the window. is there a command which will terminate the program completely? thanks.

---

## [SelectFile library generates a “FATAL EXCEPTION: main” error](https://discourse.processing.org/t/selectfile-library-generates-a-fatal-exception-main-error/30175)

<div class="topic-metadata">

**Author:** [@mmuylle](https://discourse.processing.org/u/mmuylle)\
**Replies:** 22\
**Last updated:** [August 28, 2021, 8:49pm UTC](https://discourse.processing.org/t/selectfile-library-generates-a-fatal-exception-main-error/30175 "2021-08-28T20:49:05Z")

</div>

Running the example sketch (provided on the Processing website) “Select\_All\_Features” using the SelectFile library on my Android phone (Moto g7/Android 10) I get an error. When I tap one of the icons on the screen e.g. t…

---

## [Read a file generated by another sketch](https://discourse.processing.org/t/read-a-file-generated-by-another-sketch/31889)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 2\
**Last updated:** [August 26, 2021, 6:46pm UTC](https://discourse.processing.org/t/read-a-file-generated-by-another-sketch/31889 "2021-08-26T18:46:07Z")

</div>

I have one sketch which writes a file in its directory. Some time later, I run another sketch which needs the data from this file. Today I pass the data between these two sketches manually. How can the second sketch r…

---

## [Writing out to PImage or PGraphics in shader](https://discourse.processing.org/t/writing-out-to-pimage-or-pgraphics-in-shader/31893)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 5:26pm UTC](https://discourse.processing.org/t/writing-out-to-pimage-or-pgraphics-in-shader/31893 "2021-08-24T17:26:27Z")

</div>

I’m not sure this is doable, or at least I know this is doable but perhaps not the way I want. I understand that there is a layout variable we can use to write out to a buffer. layout(location = 0) out vec4 out\_color; …

---

## [Accessing sound in Android](https://discourse.processing.org/t/accessing-sound-in-android/31793)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 6\
**Last updated:** [August 23, 2021, 11:29am UTC](https://discourse.processing.org/t/accessing-sound-in-android/31793 "2021-08-23T11:29:58Z")

</div>

I am working on a control application using Android as compiled from a Processing sketch. I need to use the Android sound device, just to produce an alarm buzz sound. Any idea how to access this device? Thanks

---

## [Cyrillic characters in the Android application](https://discourse.processing.org/t/cyrillic-characters-in-the-android-application/19082)

<div class="topic-metadata">

**Author:** [@dron3903](https://discourse.processing.org/u/dron3903)\
**Replies:** 17\
**Last updated:** [August 9, 2021, 5:05pm UTC](https://discourse.processing.org/t/cyrillic-characters-in-the-android-application/19082 "2021-08-09T17:05:55Z")

</div>

Hello forum users. I am having a problem with Cyrillic characters. When launching the application on the android, gibberish will turn out. Someone knows how to fix it. Здравствуйте форумчане. У меня возникла проблема с …

---

## [Signed Package export isues](https://discourse.processing.org/t/signed-package-export-isues/27718)

<div class="topic-metadata">

**Author:** [@gimly1000](https://discourse.processing.org/u/gimly1000)\
**Replies:** 5\
**Last updated:** [August 8, 2021, 5:59pm UTC](https://discourse.processing.org/t/signed-package-export-isues/27718 "2021-08-08T17:59:50Z")

</div>

I can’t figure out how to export a signed package. the first time i tried i got a message saying i needed to change the name in the XML file. after doing so it then wanted me to “add an icon to the sketch folder” after a…

---

## [Can not update save image](https://discourse.processing.org/t/can-not-update-save-image/30654)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 8:31am UTC](https://discourse.processing.org/t/can-not-update-save-image/30654 "2021-08-06T08:31:03Z")

</div>

hi i am using ketai camera to take shoots of images and save them to folder the sketch works fine and save the pics to the folder but when start new shoots the pics in the folder remains the old once not the newer desp…

---

## [Redeclaration of createShape in draw()](https://discourse.processing.org/t/redeclaration-of-createshape-in-draw/31498)

<div class="topic-metadata">

**Author:** [@paturn](https://discourse.processing.org/u/paturn)\
**Replies:** 5\
**Last updated:** [August 1, 2021, 4:13pm UTC](https://discourse.processing.org/t/redeclaration-of-createshape-in-draw/31498 "2021-08-01T16:13:07Z")

</div>

I am creating a sphere shape in setup following noStroke() so there are no triangles visible on the sphere. I am then displaying images on the globe, together with a grid pattern. Under certain circumstances, I would lik…

---

## [Processing with Android Studio Error in fragment.setView arguments](https://discourse.processing.org/t/processing-with-android-studio-error-in-fragment-setview-arguments/18860)

<div class="topic-metadata">

**Author:** [@isuru](https://discourse.processing.org/u/isuru)\
**Replies:** 12\
**Last updated:** [July 23, 2021, 5:21am UTC](https://discourse.processing.org/t/processing-with-android-studio-error-in-fragment-setview-arguments/18860 "2021-07-23T05:21:13Z")

</div>

I got this error how to resolve this. Please help! Wrong 2nd argument in the fragment.setView method

---

## [How to put an interactable 2D canvas in 3D?](https://discourse.processing.org/t/how-to-put-an-interactable-2d-canvas-in-3d/31320)

<div class="topic-metadata">

**Author:** [@waldo1](https://discourse.processing.org/u/waldo1)\
**Replies:** 3\
**Last updated:** [July 20, 2021, 12:32pm UTC](https://discourse.processing.org/t/how-to-put-an-interactable-2d-canvas-in-3d/31320 "2021-07-20T12:32:39Z")

</div>

So, I pretty much want to make this exact app, just in AR and with better brushes: https://play.google.com/store/apps/details?id=com.TNInteractive.GraffitiPaint&hl=en One way to do it that I came up with would be to ope…

---

## [Exporting picture with Android App](https://discourse.processing.org/t/exporting-picture-with-android-app/31277)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [July 17, 2021, 8:14pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277 "2021-07-17T20:14:55Z")

</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!

---

## [Is it possible to make something like this in Processing? Are there any better alternatives? (Painting in AR)](https://discourse.processing.org/t/is-it-possible-to-make-something-like-this-in-processing-are-there-any-better-alternatives-painting-in-ar/31291)

<div class="topic-metadata">

**Author:** [@waldo1](https://discourse.processing.org/u/waldo1)\
**Replies:** 1\
**Last updated:** [July 17, 2021, 2:38pm UTC](https://discourse.processing.org/t/is-it-possible-to-make-something-like-this-in-processing-are-there-any-better-alternatives-painting-in-ar/31291 "2021-07-17T14:38:45Z")

</div>

My idea is to make an app that lets you paint in AR on a virtual 2D canvas. Kind of like this app, but on a single plane and 2D: https://play.google.com/store/apps/details?id=com.vaytricks.PaintDrawAR I also want the br…

---

## [Set Image as Android wallpaper](https://discourse.processing.org/t/set-image-as-android-wallpaper/31177)

<div class="topic-metadata">

**Author:** [@khzuber](https://discourse.processing.org/u/khzuber)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 6:00pm UTC](https://discourse.processing.org/t/set-image-as-android-wallpaper/31177 "2021-07-11T18:00:27Z")

</div>

Hello. I just finished my first live wallpaper using Calsign’s APDE. Now i wonder how to simply set a jpg as a wallpaper for home/lock screen with APDE or Android Mode (not live wallpaper!). I found some rather complex e…

---

## [Why does the street view not work?](https://discourse.processing.org/t/why-does-the-street-view-not-work/31167)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [July 11, 2021, 10:24am UTC](https://discourse.processing.org/t/why-does-the-street-view-not-work/31167 "2021-07-11T10:24:19Z")

</div>

Why does the street view not work? everything works exept for the first line package com.app.maps1.fragments; import android.content.Intent; import android.location.Address; import android.location.Geocoder; import an…

---

## [Changing the location of sketch on screen](https://discourse.processing.org/t/changing-the-location-of-sketch-on-screen/31158)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [July 10, 2021, 9:24pm UTC](https://discourse.processing.org/t/changing-the-location-of-sketch-on-screen/31158 "2021-07-10T21:24:43Z")

</div>

Hi, I’ve spent a good bit of time reading through the posts on the forum and on Google and could not find a previous topic on the issue. Is there any way to achieve this. To clarify I would like to be able to move the s…

---

## [Every time I go to recent tabs WebView gets reloaded!](https://discourse.processing.org/t/every-time-i-go-to-recent-tabs-webview-gets-reloaded/30983)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 5\
**Last updated:** [July 4, 2021, 2:17pm UTC](https://discourse.processing.org/t/every-time-i-go-to-recent-tabs-webview-gets-reloaded/30983 "2021-07-04T14:17:29Z")

</div>

I don’t know why but every time I go to recent tabs in my phone and come back the WebView gets reloaded same happens if I go from landscape to portrait or portrait to landscape mode

---

## [Ketai camnera class: use of setZoom(), getZoom() and flashenabled() nethods](https://discourse.processing.org/t/ketai-camnera-class-use-of-setzoom-getzoom-and-flashenabled-nethods/31012)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 1\
**Last updated:** [July 2, 2021, 1:44pm UTC](https://discourse.processing.org/t/ketai-camnera-class-use-of-setzoom-getzoom-and-flashenabled-nethods/31012 "2021-07-02T13:44:36Z")

</div>

Hi i am trying to find some information on the use of the getZoom() and setZoom() methods of the ketai camera class. I couldn’t find much info on the katai.org website. For example some usage code. Also with reference …

---

## [Adding images to android sketch](https://discourse.processing.org/t/adding-images-to-android-sketch/13144)

<div class="topic-metadata">

**Author:** [@Asra](https://discourse.processing.org/u/Asra)\
**Replies:** 5\
**Last updated:** [June 30, 2021, 7:36pm UTC](https://discourse.processing.org/t/adding-images-to-android-sketch/13144 "2021-06-30T19:36:20Z")

</div>

Recently I have started to work on a processing game that I want to try on android, the only problem is that I started in java mode and switched to android later, so now whenever I call an image it would give me an error…

---

## [Send data between WebView & Android app](https://discourse.processing.org/t/send-data-between-webview-android-app/30946)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 6\
**Last updated:** [June 30, 2021, 7:23pm UTC](https://discourse.processing.org/t/send-data-between-webview-android-app/30946 "2021-06-30T19:23:03Z")

</div>

import android.content.res.AssetManager; import android.webkit.WebViewClient; import android.os.Looper; import android.content.Context; import android.view.ViewGroup.LayoutParams; import android.webkit.WebView; import an…

---

## [Read window.status WebView android](https://discourse.processing.org/t/read-window-status-webview-android/30978)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 3:36pm UTC](https://discourse.processing.org/t/read-window-status-webview-android/30978 "2021-06-30T15:36:57Z")

</div>

How to read and get window status in Android mode processing I mean this in js of index.html:- window.status = "Hello User!"; If this was loaded in the application as html then I want to read it and process it in my ap…

---

## [Dynamic get(); method in Ketai library?](https://discourse.processing.org/t/dynamic-get-method-in-ketai-library/30899)

<div class="topic-metadata">

**Author:** [@thorj](https://discourse.processing.org/u/thorj)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 3:39pm UTC](https://discourse.processing.org/t/dynamic-get-method-in-ketai-library/30899 "2021-06-26T15:39:40Z")

</div>

Hello, I’m new in Processing, and I try to create some funny pixelator app on Android APDE using camera on my Phone. To solve this task I’m using a Ketai library. Problem is when I try to get image from camera using get…

---

## [ADPE Install and Import Library](https://discourse.processing.org/t/adpe-install-and-import-library/30916)

<div class="topic-metadata">

**Author:** [@beryion](https://discourse.processing.org/u/beryion)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 2:23pm UTC](https://discourse.processing.org/t/adpe-install-and-import-library/30916 "2021-06-26T14:23:34Z")

</div>

Ok… Just wanna make a few sine waves out of floats entirely on my phone. It took me months to figure out I had to being desktop mode to download the zip file from github. Now there’s the feature under “tools” in ADPE wer…

---

## [How to get and post request with processing for android](https://discourse.processing.org/t/how-to-get-and-post-request-with-processing-for-android/30918)

<div class="topic-metadata">

**Author:** [@juanjoc](https://discourse.processing.org/u/juanjoc)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 11:45pm UTC](https://discourse.processing.org/t/how-to-get-and-post-request-with-processing-for-android/30918 "2021-06-25T23:45:45Z")

</div>

Hello guys. I am stuck on working with get and post methods with an URL. I have been programming this topic in processing.JAVA as follows: import http.requests.\*; JSONObject json; GetRequest leerTs = new GetRequest("…

---

## [App resize help](https://discourse.processing.org/t/app-resize-help/30883)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 2\
**Last updated:** [June 24, 2021, 6:15am UTC](https://discourse.processing.org/t/app-resize-help/30883 "2021-06-24T06:15:46Z")

</div>

Any help Howto resize app when chance revolution screen Thankyou

---

## [Get source code from Debugged application](https://discourse.processing.org/t/get-source-code-from-debugged-application/30877)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 6:22pm UTC](https://discourse.processing.org/t/get-source-code-from-debugged-application/30877 "2021-06-23T18:22:59Z")

</div>

I was Debugging my application for processing for android my computer went blank and the sketch got deleted I know how to create apk from the application but how do I get the source code(java) from the apk?? Any suggesti…

---

## [Methods for accessing battery status on an android device](https://discourse.processing.org/t/methods-for-accessing-battery-status-on-an-android-device/30381)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 14\
**Last updated:** [June 22, 2021, 3:30pm UTC](https://discourse.processing.org/t/methods-for-accessing-battery-status-on-an-android-device/30381 "2021-06-22T15:30:32Z")

</div>

Hi, How is the battery status on an android device accessed? Any help is much appreciated. Cheers.

---

## [Is it possible to check for operating system?](https://discourse.processing.org/t/is-it-possible-to-check-for-operating-system/14180)

<div class="topic-metadata">

**Author:** [@oskarino](https://discourse.processing.org/u/oskarino)\
**Replies:** 5\
**Last updated:** [June 21, 2021, 4:33pm UTC](https://discourse.processing.org/t/is-it-possible-to-check-for-operating-system/14180 "2021-06-21T16:33:18Z")

</div>

I have written a piece of code for Windows, and would like to use almost entirely the same piece of code for Android, just with a few minor changes (in particular screen size and mouse activity). Instead of copying the …

---

## [GestureDetector does not exist](https://discourse.processing.org/t/gesturedetector-does-not-exist/30776)

<div class="topic-metadata">

**Author:** [@paturn](https://discourse.processing.org/u/paturn)\
**Replies:** 5\
**Last updated:** [June 20, 2021, 10:50am UTC](https://discourse.processing.org/t/gesturedetector-does-not-exist/30776 "2021-06-20T10:50:42Z")

</div>

I am attempting to use GestureDetector in one of my apps but in Processing 3 it says it doesn’t exist. I notice from one of noel’s answers in 2020 that it does exist. Do you have any further information? Is it (only) in …

[Previous page](https://discourse.processing.org/c/processing-android/12.md?no_subcategories=false&page=9)

[Next page](https://discourse.processing.org/c/processing-android/12.md?no_subcategories=false&page=11)
