# Processing for Android

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

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

**Page:** 7

---

## [Bug on KetaiCamera solved, please recompile lib!](https://discourse.processing.org/t/bug-on-ketaicamera-solved-please-recompile-lib/40025)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 8:27am UTC](https://discourse.processing.org/t/bug-on-ketaicamera-solved-please-recompile-lib/40025 "2022-12-06T08:27:02Z")

</div>

Hello, I just fixed a bug in the Ketai library, in its module for the android “camera”. This library contains obsolete code for autofocus and it needs to be corrected, I would appreciate it if someone would recompile th…

---

## [Execution failed for task ':app:validateSigningRelease'](https://discourse.processing.org/t/execution-failed-for-task-validatesigningrelease/39924)

<div class="topic-metadata">

**Author:** [@blosh](https://discourse.processing.org/u/blosh)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 6:51am UTC](https://discourse.processing.org/t/execution-failed-for-task-validatesigningrelease/39924 "2022-11-29T06:51:49Z")

</div>

I’ve recently come back to working on some of my projects and now when I try to export signed package/bundle I get this error message: Execution failed for task ':app:validateSigningRelease'. \> Keystore file 'C:\\Users\\b…

---

## [(Bug?) Touches Array sometimes doesn't remove objects if touch has ended](https://discourse.processing.org/t/bug-touches-array-sometimes-doesnt-remove-objects-if-touch-has-ended/39892)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 6\
**Last updated:** [November 27, 2022, 11:02pm UTC](https://discourse.processing.org/t/bug-touches-array-sometimes-doesnt-remove-objects-if-touch-has-ended/39892 "2022-11-27T23:02:09Z")

</div>

With this code example: void setup() { fullScreen(); } void draw() { background(0); fill(255); for (TouchEvent.Pointer p : touches) { circle(p.x, p.y, 400); } } If I touch with one finger, a circle is di…

---

## [Get touch that started/ended with touchStated() / touchEnded()](https://discourse.processing.org/t/get-touch-that-started-ended-with-touchstated-touchended/39866)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 2\
**Last updated:** [November 26, 2022, 5:05pm UTC](https://discourse.processing.org/t/get-touch-that-started-ended-with-touchstated-touchended/39866 "2022-11-26T17:05:48Z")

</div>

Hi, can I somehow get the touch pointer that was added/removed in the touchStarted() or touchEnded() functions?

---

## [Modifying a text file in Android](https://discourse.processing.org/t/modifying-a-text-file-in-android/39797)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 5\
**Last updated:** [November 26, 2022, 12:54am UTC](https://discourse.processing.org/t/modifying-a-text-file-in-android/39797 "2022-11-26T00:54:13Z")

</div>

HI. Im making an app to control some LEDs, and it works with bluetooth so it needs to be able to allow the user to change the MAC direction of the controller. the thing is that there are 2 problems; When Converting the S…

---

## [Android mode download SDK](https://discourse.processing.org/t/android-mode-download-sdk/32278)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 3\
**Last updated:** [November 8, 2022, 1:21pm UTC](https://discourse.processing.org/t/android-mode-download-sdk/32278 "2022-11-08T13:21:31Z")

</div>

Hi Months ago I was trying to run processing 3.5.4 via Android mode Massage appears asking to to locate sdk tools or download it The download process was failed to continue and I downloaded sdk manually and then loca…

---

## [Run in Android mode keyboard shortcut duplication (Ctrl+D)](https://discourse.processing.org/t/run-in-android-mode-keyboard-shortcut-duplication-ctrl-d/39596)

<div class="topic-metadata">

**Author:** [@outslider](https://discourse.processing.org/u/outslider)\
**Replies:** 0\
**Last updated:** [November 6, 2022, 10:39pm UTC](https://discourse.processing.org/t/run-in-android-mode-keyboard-shortcut-duplication-ctrl-d/39596 "2022-11-06T22:39:02Z")

</div>

In the Processing IDE the Ctrl+D shortcut is ambiguous. There are two functions that it is assigned to: Main menu → Sketch → Run on Device (Ctrl+D) Main menu → Sketch → Debug →Enable Debugger (Ctrl+D) Due to this ambi…

---

## [Loading a sketch to APDE](https://discourse.processing.org/t/loading-a-sketch-to-apde/38773)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 9\
**Last updated:** [October 27, 2022, 10:59am UTC](https://discourse.processing.org/t/loading-a-sketch-to-apde/38773 "2022-10-27T10:59:15Z")

</div>

Hello I would like to use mobile APDE to run sketches transferred from my Desktop Processing IDE. Did anybody try this operation? What possibilities exist to transfer a sketch from a desktop PC to a APDE running into …

---

## [Realtime image processing using thread(); or class extending thread](https://discourse.processing.org/t/realtime-image-processing-using-thread-or-class-extending-thread/30304)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 37\
**Last updated:** [October 21, 2022, 1:01am UTC](https://discourse.processing.org/t/realtime-image-processing-using-thread-or-class-extending-thread/30304 "2022-10-21T01:01:30Z")

</div>

hi forum i was able to do realtime image processing (color recognition )streamed from laptop camera but not succeed to use thread(); or class extending thread. need for help. thank you in advance. bellow is code without…

---

## [List of compatible libraries?](https://discourse.processing.org/t/list-of-compatible-libraries/39347)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 3\
**Last updated:** [October 20, 2022, 4:50pm UTC](https://discourse.processing.org/t/list-of-compatible-libraries/39347 "2022-10-20T16:50:03Z")

</div>

Is there a list of libraries that are compatible with Android mode? I was hoping to use G4P to develop the GUI and Pd4P3 to call libpd (the Pure Data audio engine). But after searching this forum, I see that G4P doesn’t …

---

## [Lost connection error](https://discourse.processing.org/t/lost-connection-error/39266)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 3\
**Last updated:** [October 16, 2022, 1:51pm UTC](https://discourse.processing.org/t/lost-connection-error/39266 "2022-10-16T13:51:43Z")

</div>

I’m trying to run the “Getting started” example (Processing for Android), but after getting the “BUILD SUCCESSFUL” message in the console and waiting for a couple of minutes in which nothing seems to happen, I get “Lost …

---

## [Unable to run code from my Processing window on my Android device](https://discourse.processing.org/t/unable-to-run-code-from-my-processing-window-on-my-android-device/38643)

<div class="topic-metadata">

**Author:** [@TobiS137](https://discourse.processing.org/u/TobiS137)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 3:29pm UTC](https://discourse.processing.org/t/unable-to-run-code-from-my-processing-window-on-my-android-device/38643 "2022-09-28T15:29:30Z")

</div>

Hello! I am very new to Processing for Android, and I am actually having problems even running my first test sketch on my Physical device. Just to clear some things up, I am using a OnePlus 9 Pro device, with USB debugg…

---

## [Playing vr 360 video (or even load simple video) from remote location possible?](https://discourse.processing.org/t/playing-vr-360-video-or-even-load-simple-video-from-remote-location-possible/38944)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 11:29am UTC](https://discourse.processing.org/t/playing-vr-360-video-or-even-load-simple-video-from-remote-location-possible/38944 "2022-09-23T11:29:44Z")

</div>

Hallo. Is it possible to play vr 360 videos hosted in a remote location, cloud, or even from youtube, vimeo? through processing android VR library or even by manually texturing the video to a sphere like … Viewing 360…

---

## [\[Android\] How to align listView text center?](https://discourse.processing.org/t/android-how-to-align-listview-text-center/38869)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 7:44am UTC](https://discourse.processing.org/t/android-how-to-align-listview-text-center/38869 "2022-09-20T07:44:08Z")

</div>

How to align listView text center? hello. I want the text to be centered. I want to center the text in each list. Is there any way? Source code: ref : @ EmmanulPil / @noel public void onStart() { super.onSta…

---

## [rectMode CENTER/RADIUS causing text to disappear](https://discourse.processing.org/t/rectmode-center-radius-causing-text-to-disappear/38809)

<div class="topic-metadata">

**Author:** [@Zibee](https://discourse.processing.org/u/Zibee)\
**Replies:** 1\
**Last updated:** [September 17, 2022, 9:07pm UTC](https://discourse.processing.org/t/rectmode-center-radius-causing-text-to-disappear/38809 "2022-09-17T21:07:07Z")

</div>

Hello, I am trying to learn Processing for Android and it seems like I’m stuck on quite simple task - rendering text and square at the same time. If I don’t use rectMode(CENTER) everything seems to be working normally, …

---

## [Remove the clock from the lockscreen](https://discourse.processing.org/t/remove-the-clock-from-the-lockscreen/38749)

<div class="topic-metadata">

**Author:** [@LoboLoco](https://discourse.processing.org/u/LoboLoco)\
**Replies:** 0\
**Last updated:** [September 13, 2022, 8:25pm UTC](https://discourse.processing.org/t/remove-the-clock-from-the-lockscreen/38749 "2022-09-13T20:25:53Z")

</div>

Hello, processors! I was thinking about making a custom lockscreen for my Android devices, and I thought Processing would be a good way to do it. I tried the “Live Wallpaper” tutorial, and it worked just fine. There’s j…

---

## [Problem with using Hebrew characters](https://discourse.processing.org/t/problem-with-using-hebrew-characters/38541)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 8:29am UTC](https://discourse.processing.org/t/problem-with-using-hebrew-characters/38541 "2022-09-13T08:29:40Z")

</div>

Hello I am working on a project where I need to use Hebrew characters. When I work in JAVA mode, any Hebrew text that I use in a text string is recognized as Hebrew text and is displayed correctly when I run the sketc…

---

## [Android Emulator Not Working](https://discourse.processing.org/t/android-emulator-not-working/38227)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 8\
**Last updated:** [September 8, 2022, 6:38pm UTC](https://discourse.processing.org/t/android-emulator-not-working/38227 "2022-09-08T18:38:16Z")

</div>

Hi, beginner here, please be gentle. I want to start playing with creating simple apps for android. Processing version is 4.0b8 on windows 10. Installed the SDK files , by downloading them automatically from Processin…

---

## [Problem with bluetooth permissions](https://discourse.processing.org/t/problem-with-bluetooth-permissions/38644)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 15\
**Last updated:** [September 6, 2022, 8:19am UTC](https://discourse.processing.org/t/problem-with-bluetooth-permissions/38644 "2022-09-06T08:19:34Z")

</div>

Hi. I want to make a test with the bluetooth on my device (the code is not mine, is from here: Android-java-code-utilities-widgets-for-Processing-for-Android/Android Arduino Bluetooth example at master · EmmanuelPil/And…

---

## [Android code doesnt upload](https://discourse.processing.org/t/android-code-doesnt-upload/38639)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 3:39am UTC](https://discourse.processing.org/t/android-code-doesnt-upload/38639 "2022-09-04T03:39:48Z")

</div>

Hello. I’m creating my first code on Processing for android, and the problem is that when I hit “Run on device”, my phone doesn’t show it. It doesn’t even shows up a new app on the menu. Here is the code: int pantalla…

---

## [How to toggle airplane mode on android device programatically using android mode](https://discourse.processing.org/t/how-to-toggle-airplane-mode-on-android-device-programatically-using-android-mode/38430)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 3\
**Last updated:** [August 21, 2022, 1:14am UTC](https://discourse.processing.org/t/how-to-toggle-airplane-mode-on-android-device-programatically-using-android-mode/38430 "2022-08-21T01:14:45Z")

</div>

Hi, I have a project that takes images, logs those images to the SD card and uploads the images to an FTP server. This happens during the day only so i want the system to go into airplane mode at night. Is there a way t…

---

## [Wrong path of jks file](https://discourse.processing.org/t/wrong-path-of-jks-file/37603)

<div class="topic-metadata">

**Author:** [@neptunee77](https://discourse.processing.org/u/neptunee77)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 7:15pm UTC](https://discourse.processing.org/t/wrong-path-of-jks-file/37603 "2022-08-12T19:15:09Z")

</div>

While I’m trying to export signed package, the ide gives error with package export What went wrong: Execution failed for task ‘:app:validateSigningRelease’. Keystore file ‘C:\\Users\\username\\AppData\\Local\\Temp\\android…

---

## [Android controlP5 button issue](https://discourse.processing.org/t/android-controlp5-button-issue/27001)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 12\
**Last updated:** [August 6, 2022, 3:26pm UTC](https://discourse.processing.org/t/android-controlp5-button-issue/27001 "2022-08-06T15:26:06Z")

</div>

In Android is producing a strange behavior. Need to click twice, one for highlight and other to call the action. Also if a button is highlighted and you press in other part of the screen, the result is that the button …

---

## [I wanted to know if it is possible to download a zip or other archive to work with it in the future](https://discourse.processing.org/t/i-wanted-to-know-if-it-is-possible-to-download-a-zip-or-other-archive-to-work-with-it-in-the-future/38234)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 2\
**Last updated:** [August 6, 2022, 5:06am UTC](https://discourse.processing.org/t/i-wanted-to-know-if-it-is-possible-to-download-a-zip-or-other-archive-to-work-with-it-in-the-future/38234 "2022-08-06T05:06:59Z")

</div>

hello, I wanted to know if it is possible to download a zip or other archive to work with it in the future. Or somehow with folders if they are called “1-1”, “1-2”, “1-3”. It is not convenient to work when everything i…

---

## [Processing for Android not compatible](https://discourse.processing.org/t/processing-for-android-not-compatible/38115)

<div class="topic-metadata">

**Author:** [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Replies:** 3\
**Last updated:** [July 27, 2022, 9:27pm UTC](https://discourse.processing.org/t/processing-for-android-not-compatible/38115 "2022-07-27T21:27:02Z")

</div>

Trying to install Android Mode. Getting the message 4.5.0a5 not compatible. I have processing 4.0b7.

---

## [Compute PShader for both Android and Windows](https://discourse.processing.org/t/compute-pshader-for-both-android-and-windows/38033)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 3:28pm UTC](https://discourse.processing.org/t/compute-pshader-for-both-android-and-windows/38033 "2022-07-24T15:28:59Z")

</div>

Before I say anything, I code on my phone (Android) almost all the time, but sometimes I have to write something that runs on Windows as well. So, I’ve been trying to learn about shaders. There is the PShader class that…

---

## [ContentDescription](https://discourse.processing.org/t/contentdescription/38003)

<div class="topic-metadata">

**Author:** [@andym](https://discourse.processing.org/u/andym)\
**Replies:** 1\
**Last updated:** [July 23, 2022, 12:48pm UTC](https://discourse.processing.org/t/contentdescription/38003 "2022-07-23T12:48:19Z")

</div>

How do i get android:ContentDescription to work in an ImageView? ive had a look in values.xml but there is no attribute ContentDescription for the default Image View:

---

## [How to solve this fps problem?](https://discourse.processing.org/t/how-to-solve-this-fps-problem/37959)

<div class="topic-metadata">

**Author:** [@Coder1](https://discourse.processing.org/u/Coder1)\
**Replies:** 8\
**Last updated:** [July 15, 2022, 5:28pm UTC](https://discourse.processing.org/t/how-to-solve-this-fps-problem/37959 "2022-07-15T17:28:31Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello. I have been working on a game very well but after time my biggest issue became the bad fps in my game. I have tried using threads to someho…

---

## [How to add Google Play ads to the Processing project? (Android)](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872)

<div class="topic-metadata">

**Author:** [@StasPovaliaevUkraine](https://discourse.processing.org/u/StasPovaliaevUkraine)\
**Replies:** 2\
**Last updated:** [July 8, 2022, 10:27am UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872 "2022-07-08T10:27:29Z")

</div>

Hello! Let’s say I made an android application, how can I add ads to it, so that I can then upload it to Google Play, and when someone downloaded my application, did it show ads?

---

## [Exit button on Android](https://discourse.processing.org/t/exit-button-on-android/37580)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 2\
**Last updated:** [June 26, 2022, 12:41am UTC](https://discourse.processing.org/t/exit-button-on-android/37580 "2022-06-26T00:41:44Z")

</div>

hello, i wanted to ask here i have a code: int f = 0; void setup(){ } void draw(){ if(keyPressed){ f = 255; exit(); } fill(f); rect(0,0,width, height); } I wanted that by pressing “back” the program wo…

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

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