# Processing for Android

**URL:** https://discourse.processing.org/c/processing-android/12.md

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

---

## [About the Processing for Android category](https://discourse.processing.org/t/about-the-processing-for-android-category/22)

<div class="topic-metadata">

**Author:** [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Replies:** 4\
**Last updated:** [October 9, 2025, 1:47pm UTC](https://discourse.processing.org/t/about-the-processing-for-android-category/22 "2025-10-09T13:47:18Z")

</div>

Android Mode for Processing

---

## [APDE WIFI sketch](https://discourse.processing.org/t/apde-wifi-sketch/49384)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 0\
**Last updated:** [September 17, 2026, 6:32am UTC](https://discourse.processing.org/t/apde-wifi-sketch/49384 "2026-09-17T06:32:52Z")

</div>

Hello I am writing a program using APDE as development environment. The sketch fails to run, and it seems that the compiler rejects the WIFI code such as udp.send() and receive (). Can anybody provide a WIFI code exam…

---

## [Android Mode Compiler, problem not solved yet](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 6\
**Last updated:** [August 24, 2026, 6:01pm UTC](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739 "2026-08-24T18:01:04Z")

</div>

A few months ago, I published a post about the problems encountered while trying to build a working version of Android Mode for Processing. After I upgraded to Processing 4.x.x and after I updated my smartphone Android…

---

## [Android compilation fails also with the new Processing version 4.5.6](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 13\
**Last updated:** [August 16, 2026, 10:08am UTC](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021 "2026-08-16T10:08:03Z")

</div>

For the last 3 months, I am unable to compile working Processing sketches to Android. Some kind help from the forum did not help. I also tried with the newest Processing version (4.5.6). I erased the previous version a…

---

## [JSyn fails in Android mode on MacOS M4](https://discourse.processing.org/t/jsyn-fails-in-android-mode-on-macos-m4/49057)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 8\
**Last updated:** [July 28, 2026, 6:52pm UTC](https://discourse.processing.org/t/jsyn-fails-in-android-mode-on-macos-m4/49057 "2026-07-28T18:52:56Z")

</div>

import com.jsyn.JSyn; This code will create a gray window on an Android device when run on Windows 11, but will not run in Android mode on MacOS (M4 Tahoe 26.5) and displays this error message: Exception in thread "Thr…

---

## [Custom 7- segment display](https://discourse.processing.org/t/custom-7-segment-display/49045)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 10\
**Last updated:** [July 25, 2026, 11:02pm UTC](https://discourse.processing.org/t/custom-7-segment-display/49045 "2026-07-25T23:02:21Z")

</div>

import processing.sound.\*; AudioIn mic; Waveform waveform; int numSamples = 1024; float sampleRate = 44100; float smoothedFreq = 0; boolean\[\]\[\] segments = { {true, true, true, true, true, true, false}, …

---

## [Processing 4.3.2 adb issue](https://discourse.processing.org/t/processing-4-3-2-adb-issue/47081)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [June 30, 2026, 5:16pm UTC](https://discourse.processing.org/t/processing-4-3-2-adb-issue/47081 "2026-06-30T17:16:08Z")

</div>

Hello I was using processing 3 with android mode it’s working fine all the time once downloaded processing 4.3.2 and when added android mode then installed SDK automatically when try to run android mode the ADB …

---

## [Android Mode crashing on my Linux](https://discourse.processing.org/t/android-mode-crashing-on-my-linux/47953)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 5\
**Last updated:** [June 29, 2026, 3:44pm UTC](https://discourse.processing.org/t/android-mode-crashing-on-my-linux/47953 "2026-06-29T15:44:04Z")

</div>

I get this “Nasty Error” dialog: Processing 4.5.2 Android Mode for Processing 4 v4.6.1 I tried to re-install everything, but it didn’t help. Any suggestions?

---

## [Existing sketches not working with new Android Version](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 3\
**Last updated:** [June 10, 2026, 1:38pm UTC](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813 "2026-06-10T13:38:58Z")

</div>

After I upgraded Android Version to 11, I tried to run existing sketches (which run OK with the previous Android version). The sketches fail to run. I performed an SDK update. This did not help. Any suggestions? Tha…

---

## [Help with invoking built in Android functions](https://discourse.processing.org/t/help-with-invoking-built-in-android-functions/21061)

<div class="topic-metadata">

**Author:** [@adaptinnovative](https://discourse.processing.org/u/adaptinnovative)\
**Replies:** 7\
**Last updated:** [April 27, 2026, 3:07am UTC](https://discourse.processing.org/t/help-with-invoking-built-in-android-functions/21061 "2026-04-27T03:07:30Z")

</div>

I am using APDE and it is great. I want to invoke some of the built in functions on the Android device like Taking ascreenshot Turning on/off the wifi etc. Are there specific lines of code to call these specific func…

---

## [Performance varies in Android mode](https://discourse.processing.org/t/performance-varies-in-android-mode/48420)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 0\
**Last updated:** [April 9, 2026, 7:38pm UTC](https://discourse.processing.org/t/performance-varies-in-android-mode/48420 "2026-04-09T19:38:00Z")

</div>

The Android mode in version 3 of the processing 3 is significantly more productive than the version for version 4. Is there a way to solve this problem? Or somehow combine version 3 for Android with the processing 4?

---

## [Processing with Android, problems with Android compiling](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 5\
**Last updated:** [April 7, 2026, 8:09pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290 "2026-04-07T20:09:41Z")

</div>

I found no clear documentation for building a version of Processing (versions 4.xx) which works with Android correctly. It seems that different Processing versions need different Android mode versions and different SDK f…

---

## [Android SDK not valid](https://discourse.processing.org/t/android-sdk-not-valid/47964)

<div class="topic-metadata">

**Author:** [@PLloyd](https://discourse.processing.org/u/PLloyd)\
**Replies:** 5\
**Last updated:** [April 4, 2026, 12:56pm UTC](https://discourse.processing.org/t/android-sdk-not-valid/47964 "2026-04-04T12:56:55Z")

</div>

When I switch from Java mode to Android mode a pop-up window appears stating that the Android SDK is not valid. Both automatic and manual loading methods fail. However the requested API (API 33) is installed as shown in…

---

## [Why is Android Mode for Processing 4 so laggy compared to Android Mode for Processing 3?](https://discourse.processing.org/t/why-is-android-mode-for-processing-4-so-laggy-compared-to-android-mode-for-processing-3/48241)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 0\
**Last updated:** [March 19, 2026, 9:09pm UTC](https://discourse.processing.org/t/why-is-android-mode-for-processing-4-so-laggy-compared-to-android-mode-for-processing-3/48241 "2026-03-19T21:09:09Z")

</div>

I noticed that the code written for the new version lags significantly more, regardless of the render type. What causes this behavior? To reproduce this situation, it is enough to set the line thickness to 2 and try to…

---

## [Can i run Android Mode with Java 17 features?](https://discourse.processing.org/t/can-i-run-android-mode-with-java-17-features/47869)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 17\
**Last updated:** [February 14, 2026, 11:40pm UTC](https://discourse.processing.org/t/can-i-run-android-mode-with-java-17-features/47869 "2026-02-14T23:40:20Z")

</div>

I’d like to launch my projects on Android, but unfortunately, I understand the Android mode isn’t compatible with Java 17. Are there any solutions?

---

## [Android Mode crash after successful build (VerifyError: PSurfaceAndroid2D / PSurfaceNone)](https://discourse.processing.org/t/android-mode-crash-after-successful-build-verifyerror-psurfaceandroid2d-psurfacenone/47824)

<div class="topic-metadata">

**Author:** [@Damiano](https://discourse.processing.org/u/Damiano)\
**Replies:** 1\
**Last updated:** [February 1, 2026, 3:20pm UTC](https://discourse.processing.org/t/android-mode-crash-after-successful-build-verifyerror-psurfaceandroid2d-psurfacenone/47824 "2026-02-01T15:20:15Z")

</div>

Hi everyone, I’m running into a runtime crash in Processing Android Mode. The project builds successfully, installs on the device, but crashes immediately on launch with a VerifyError. I’m hoping someone can help confi…

---

## [Processing Android – massive “cannot be resolved to a type” errors](https://discourse.processing.org/t/processing-android-massive-cannot-be-resolved-to-a-type-errors/47823)

<div class="topic-metadata">

**Author:** [@Damiano](https://discourse.processing.org/u/Damiano)\
**Replies:** 0\
**Last updated:** [February 1, 2026, 9:16am UTC](https://discourse.processing.org/t/processing-android-massive-cannot-be-resolved-to-a-type-errors/47823 "2026-02-01T09:16:27Z")

</div>

(topic deleted by author)

---

## [Android File Oddities](https://discourse.processing.org/t/android-file-oddities/47780)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 0\
**Last updated:** [January 21, 2026, 4:35pm UTC](https://discourse.processing.org/t/android-file-oddities/47780 "2026-01-21T16:35:54Z")

</div>

I am having trouble understanding what is going on, because I believed that with Android I must use a path to files, either dataPath or sketchPath. I have used file saving and reading using both and neither, without noti…

---

## [How to meet LGPL obligations when publishing?](https://discourse.processing.org/t/how-to-meet-lgpl-obligations-when-publishing/47722)

<div class="topic-metadata">

**Author:** [@shedMusic](https://discourse.processing.org/u/shedMusic)\
**Replies:** 2\
**Last updated:** [January 9, 2026, 7:52pm UTC](https://discourse.processing.org/t/how-to-meet-lgpl-obligations-when-publishing/47722 "2026-01-09T19:52:52Z")

</div>

If I publish an app on Google Play, my understanding is that because it uses Processing Core I have to adhere to the LGPL licence. Most seems nice and straight forward attribution etc, but I’m stuck with the aspect that …

---

## [SimpleUI for Android Mode 2025](https://discourse.processing.org/t/simpleui-for-android-mode-2025/47673)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 5\
**Last updated:** [January 3, 2026, 2:01pm UTC](https://discourse.processing.org/t/simpleui-for-android-mode-2025/47673 "2026-01-03T14:01:46Z")

</div>

SimpleUI for Android mode: download: Dropbox He creado esta interfaz grafica para Processing/Android con la ayuda de Gemini, la IA de Google. A disfrutarla comunidad!!

---

## [Will Android mode be supported with new Java versions? (for example, 17)](https://discourse.processing.org/t/will-android-mode-be-supported-with-new-java-versions-for-example-17/47421)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 1\
**Last updated:** [October 29, 2025, 3:37pm UTC](https://discourse.processing.org/t/will-android-mode-be-supported-with-new-java-versions-for-example-17/47421 "2025-10-29T15:37:42Z")

</div>

There is a severe lack of support for new versions (which is why the code portability is deteriorating)

---

## [Android mode does not work at all](https://discourse.processing.org/t/android-mode-does-not-work-at-all/46586)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 12\
**Last updated:** [October 18, 2025, 1:47pm UTC](https://discourse.processing.org/t/android-mode-does-not-work-at-all/46586 "2025-10-18T13:47:24Z")

</div>

I’m trying to connect the phone but it can’t see it. Phone OS: Android 13; Model: Galaxy M12;

---

## [Android soundcard TX/RX](https://discourse.processing.org/t/android-soundcard-tx-rx/46785)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 7\
**Last updated:** [September 6, 2025, 8:30pm UTC](https://discourse.processing.org/t/android-soundcard-tx-rx/46785 "2025-09-06T20:30:44Z")

</div>

This project using Android soundcard as TX/RX at the same time and Generates sine, square, NRZ (Non-Return-to-Zero), and noise waveforms Supports pulse modulation with adjustable PRF (Pulse Repetition Frequency) and p…

---

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

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 4\
**Last updated:** [July 29, 2025, 6:53pm UTC](https://discourse.processing.org/t/android-processing-emulator-not-working/26633 "2025-07-29T18:53:22Z")

</div>

Hello, I am trying to test my android projects with the processing android emulator, but it isn’t working. This is the error I’m getting: Emulator process exited with status 1. EmulatorController: Emulator never booted…

---

## [Android Mode (4.6.1) for Processing (4.4.4) - Emulator Issues](https://discourse.processing.org/t/android-mode-4-6-1-for-processing-4-4-4-emulator-issues/46815)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 7:05pm UTC](https://discourse.processing.org/t/android-mode-4-6-1-for-processing-4-4-4-emulator-issues/46815 "2025-08-05T19:05:52Z")

</div>

Hello folks! I have had no success getting the emulator to work in Android Mode for Processing. I am exploring issues with the current versions to date. Development environment: Windows 10 Pro Processing 4.4.4 Motor…

---

## [Android Programming for Beginners](https://discourse.processing.org/t/android-programming-for-beginners/46813)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 14\
**Last updated:** [August 1, 2025, 5:02pm UTC](https://discourse.processing.org/t/android-programming-for-beginners/46813 "2025-08-01T17:02:33Z")

</div>

Hello folks! I haven’t programmed for Android in several years and only dabbled when I did. In the past, I’ve used: APDE (Android Processing Development Environment) Processing for Android Android Studio I actively …

---

## [Can't run a sketch with Processing 4.4.4 in Android mode](https://discourse.processing.org/t/cant-run-a-sketch-with-processing-4-4-4-in-android-mode/46518)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 11:22pm UTC](https://discourse.processing.org/t/cant-run-a-sketch-with-processing-4-4-4-in-android-mode/46518 "2025-07-28T23:22:07Z")

</div>

can’t run a sketch with Processing 4.4.4 in Android mode, same sketch runs on Processing 4.3.4 Android mode. Running on a device not emulator. The emulator hasn’t worked for me in years

---

## [Sound MediaPlayer working in APDE preview](https://discourse.processing.org/t/sound-mediaplayer-working-in-apde-preview/46751)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 5\
**Last updated:** [July 24, 2025, 5:17pm UTC](https://discourse.processing.org/t/sound-mediaplayer-working-in-apde-preview/46751 "2025-07-24T17:17:18Z")

</div>

Because we all know that the “sound” library in processing for android garbles and distorts your sounds after a while, and that the “cassette” library stops working after a few playbacks, the only viable option is the …

---

## [Android Function Generator](https://discourse.processing.org/t/android-function-generator/46719)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 5\
**Last updated:** [July 18, 2025, 4:05am UTC](https://discourse.processing.org/t/android-function-generator/46719 "2025-07-18T04:05:18Z")

</div>

Function Generator android APDE the signals generated with continuous mode or PRF /pulse mode slider simulate R1 in the schematic 15k to control PRF and PRP or interval as in real the 555/556 acts

---

## [touchEnded event location](https://discourse.processing.org/t/touchended-event-location/36712)

<div class="topic-metadata">

**Author:** [@Patc](https://discourse.processing.org/u/Patc)\
**Replies:** 8\
**Last updated:** [July 16, 2025, 4:04am UTC](https://discourse.processing.org/t/touchended-event-location/36712 "2025-07-16T04:04:28Z")

</div>

Hello guys! I am coding an app which needs to react when a touch is ended (touchEnded) and get the event’s location on the screen, but I failed to get where the event has been triggered. Among other methods, I tried to…

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