# Processing for Android

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

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

**Page:** 5

---

## [Unable to use Video Library in Android](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277)

<div class="topic-metadata">

**Author:** [@javamind](https://discourse.processing.org/u/javamind)\
**Replies:** 4\
**Last updated:** [July 3, 2023, 7:07am UTC](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277 "2023-07-03T07:07:38Z")

</div>

I cannot build any video library examples for Processing in Android mode. Is there a separate video library for Android available?

---

## [I'm having trouble exporting my project to an apk](https://discourse.processing.org/t/im-having-trouble-exporting-my-project-to-an-apk/42268)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 8\
**Last updated:** [July 3, 2023, 7:04am UTC](https://discourse.processing.org/t/im-having-trouble-exporting-my-project-to-an-apk/42268 "2023-07-03T07:04:36Z")

</div>

Hello. So, first of all, I’m running Processing 4.2 on Linux Mint (Ubuntu), using Processing’s Android mode. I want to export my project as an unsigned apk, since I don’t want it on the Google Play store or any third par…

---

## [Signed released APK of my videogame created using Processing can not be launched on Android 11](https://discourse.processing.org/t/signed-released-apk-of-my-videogame-created-using-processing-can-not-be-launched-on-android-11/42325)

<div class="topic-metadata">

**Author:** [@MGDSStudio](https://discourse.processing.org/u/MGDSStudio)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 7:00am UTC](https://discourse.processing.org/t/signed-released-apk-of-my-videogame-created-using-processing-can-not-be-launched-on-android-11/42325 "2023-07-03T07:00:13Z")

</div>

I created an Android-videogame that uses processing-core.jar library. I used Intellij Idea to create this multiplatform project. When I try to launch the release build on my Tablet PC with Android 11 using USB-cable I se…

---

## [Error compiling because "The number of method references in a .dex file cannot exceed 64K."](https://discourse.processing.org/t/error-compiling-because-the-number-of-method-references-in-a-dex-file-cannot-exceed-64k/40126)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 6:57am UTC](https://discourse.processing.org/t/error-compiling-because-the-number-of-method-references-in-a-dex-file-cannot-exceed-64k/40126 "2023-07-03T06:57:06Z")

</div>

Hi there. I have this project which I use for some leds: import java.io.File; import android.os.Environment; import android.Manifest; import android.os.Build; import processing.core.PConstants; PImage img1; PImage i…

---

## [Cannot build empty sketch Android Processing 4](https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 5\
**Last updated:** [June 16, 2023, 10:05am UTC](https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948 "2023-06-16T10:05:32Z")

</div>

following error occurs, no idea how to fix ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 131430 \> 65536) com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: …

---

## [Installed Apps Crashes using Processing 4.2 Android Mode](https://discourse.processing.org/t/installed-apps-crashes-using-processing-4-2-android-mode/42111)

<div class="topic-metadata">

**Author:** [@Myrdalm](https://discourse.processing.org/u/Myrdalm)\
**Replies:** 35\
**Last updated:** [June 8, 2023, 6:14am UTC](https://discourse.processing.org/t/installed-apps-crashes-using-processing-4-2-android-mode/42111 "2023-06-08T06:14:24Z")

</div>

Installing codes using processing 4.2, even if the given sample codes are successfully installed on the Android device/phone, crashes when I try running them. It worked before in processing 3, can’t find the issue. Any i…

---

## [UDP library (hypermedia.net.\*;) not working in android mode?](https://discourse.processing.org/t/udp-library-hypermedia-net-not-working-in-android-mode/42093)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.processing.org/u/Olivier)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 1:44pm UTC](https://discourse.processing.org/t/udp-library-hypermedia-net-not-working-in-android-mode/42093 "2023-05-29T13:44:50Z")

</div>

It looks like I can’t receive UDP on in android mode. I have set all sketch permissions “on” If I use the artnet library in android mode then I receive UDP, but need other ports and data now… What am I doing wrong??? …

---

## [I am trying to make a program/app and while it works perfectly fine on desktop/laptop it wont work on Android](https://discourse.processing.org/t/i-am-trying-to-make-a-program-app-and-while-it-works-perfectly-fine-on-desktop-laptop-it-wont-work-on-android/41914)

<div class="topic-metadata">

**Author:** [@JerboaWings](https://discourse.processing.org/u/JerboaWings)\
**Replies:** 3\
**Last updated:** [May 19, 2023, 7:41am UTC](https://discourse.processing.org/t/i-am-trying-to-make-a-program-app-and-while-it-works-perfectly-fine-on-desktop-laptop-it-wont-work-on-android/41914 "2023-05-19T07:41:59Z")

</div>

I am trying to make a program/app and while it works perfectly fine on desktop/laptop it wont work on android. When I try to compile it for android in debug mode it gives a few lines of code that are causing problems li…

---

## [Help - Sensor data not appearing in Live Wallpaper](https://discourse.processing.org/t/help-sensor-data-not-appearing-in-live-wallpaper/41986)

<div class="topic-metadata">

**Author:** [@juanmar0driguez](https://discourse.processing.org/u/juanmar0driguez)\
**Replies:** 2\
**Last updated:** [May 16, 2023, 11:41am UTC](https://discourse.processing.org/t/help-sensor-data-not-appearing-in-live-wallpaper/41986 "2023-05-16T11:41:35Z")

</div>

Hello, first post here. I’m trying to make a Live Wallpaper with a tilt motion, using the accelerometer of my phone. I got the preview and the app working, but it seems like the Live Wallpaper is not capable of retrievi…

---

## [Is there an example hello world sketch for the new Android Studio?](https://discourse.processing.org/t/is-there-an-example-hello-world-sketch-for-the-new-android-studio/41947)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 2:02pm UTC](https://discourse.processing.org/t/is-there-an-example-hello-world-sketch-for-the-new-android-studio/41947 "2023-05-09T14:02:39Z")

</div>

As the title suggests since android has been updated, the old android repository https://android.processing.org/tutorials/android\_studio/index.html no longer works. Does any one have a how to to hello world in android…

---

## [How can I retrieve SMS on Android phone?](https://discourse.processing.org/t/how-can-i-retrieve-sms-on-android-phone/33704)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 9:16pm UTC](https://discourse.processing.org/t/how-can-i-retrieve-sms-on-android-phone/33704 "2023-05-08T21:16:59Z")

</div>

I’ve written a sketch which processes a line of text. I want to be able to send my input via SMS. Then the program is alerted by incoming SMS and prosses the text in the SMS. I’ve tried to google a solution without succ…

---

## [No serial library Processing for smartphone. Help](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870)

<div class="topic-metadata">

**Author:** [@ZENAR57](https://discourse.processing.org/u/ZENAR57)\
**Replies:** 214\
**Last updated:** [May 2, 2023, 4:43pm UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870 "2023-05-02T16:43:32Z")

</div>

Hello. Help with the Serial Library for APDE Processing. On the smartphone, I can not find anywhere and connect the zip file. Therefore, an error in the line -import processing.Serial. \*; When binding to the Arduino and…

---

## [Processing Android 'Build failed'](https://discourse.processing.org/t/processing-android-build-failed/41873)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 4:14pm UTC](https://discourse.processing.org/t/processing-android-build-failed/41873 "2023-05-01T16:14:44Z")

</div>

\[SETTING\] google usb driver 13.0.0 Android SDK Build-Tools 33.0.2 Android SDK Platform-Tools 34.0.1 Android SDK Platform 33 1 Processing 4.2 windows-x64 Android Mode for Porcessing4 4.4.5 A ‘Build failed’ me…

---

## [Issue on GPS accuracy with locationListener](https://discourse.processing.org/t/issue-on-gps-accuracy-with-locationlistener/22332)

<div class="topic-metadata">

**Author:** [@PlatipuS](https://discourse.processing.org/u/PlatipuS)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 1:09pm UTC](https://discourse.processing.org/t/issue-on-gps-accuracy-with-locationlistener/22332 "2023-05-01T13:09:28Z")

</div>

Hi everybody, I have an issue with my program. I used the example program. When I do not move, the program is running correctly and accuracy is around 15-20 meters. When I start to move (car trip), accuracy start to in…

---

## [Simple Geolocation code](https://discourse.processing.org/t/simple-geolocation-code/6503)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 12:34pm UTC](https://discourse.processing.org/t/simple-geolocation-code/6503 "2023-05-01T12:34:26Z")

</div>

In this very simple code bellow i find my longitude, latitude and altitude via GPS or Wi-Fi… Most of the time altitude is zero and i dont know why. import ketai.sensors.\*; double longitude, latitude, altitude; KetaiL…

---

## [Any one help me for one code for LED SCROLLER on device](https://discourse.processing.org/t/any-one-help-me-for-one-code-for-led-scroller-on-device/41865)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 0\
**Last updated:** [April 28, 2023, 9:42pm UTC](https://discourse.processing.org/t/any-one-help-me-for-one-code-for-led-scroller-on-device/41865 "2023-04-28T21:42:16Z")

</div>

---

## [Could not find com.google.vr:sdk-base:1.180.0](https://discourse.processing.org/t/could-not-find-com-google-vr1-180-0/41855)

<div class="topic-metadata">

**Author:** [@fakemoses](https://discourse.processing.org/u/fakemoses)\
**Replies:** 0\
**Last updated:** [April 27, 2023, 1:37pm UTC](https://discourse.processing.org/t/could-not-find-com-google-vr1-180-0/41855 "2023-04-27T13:37:31Z")

</div>

Hello, I am new to Processing Android, I have installed the required things from Processing itself and manage to enter the Android mode on Processing. I am trying to develop VR Project using Processing. I tested the mos…

---

## ["FATAL EXCEPTION: main' while running on Android Mode](https://discourse.processing.org/t/fatal-exception-main-while-running-on-android-mode/41769)

<div class="topic-metadata">

**Author:** [@MatteoBotturi](https://discourse.processing.org/u/MatteoBotturi)\
**Replies:** 1\
**Last updated:** [April 19, 2023, 4:08pm UTC](https://discourse.processing.org/t/fatal-exception-main-while-running-on-android-mode/41769 "2023-04-19T16:08:23Z")

</div>

Hi everyone! I wrote this code in Processing 4.2 with the Android Mode: void setup() { fullScreen(); } void draw() { background(0); text("Text on the screen", 100, 100); } When I try to run it, it execute on the…

---

## [AndroidMode fails on new Galaxy Tab A8](https://discourse.processing.org/t/androidmode-fails-on-new-galaxy-tab-a8/41742)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 8:32pm UTC](https://discourse.processing.org/t/androidmode-fails-on-new-galaxy-tab-a8/41742 "2023-04-17T20:32:54Z")

</div>

Anyone know what causes this error on a new Galaxy Tab A8: void setup() { fullScreen(); background(209); } void draw() { }

---

## [Android Gradle plugin Upgrade](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 5:04pm UTC](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744 "2023-04-17T17:04:07Z")

</div>

The following suggestion is made when I compile in Android mode with Processing 4.2. How would I upgrade the plugin?

---

## [Unable to open JavaFX window in Android mode](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 6:29pm UTC](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709 "2023-04-13T18:29:16Z")

</div>

Anyone know why this throws an exception in Android mode: import javafx.stage.Stage; void setup(){ } void draw(){ }

---

## [\[Android\] ListView imageview - How should I load the image file?](https://discourse.processing.org/t/android-listview-imageview-how-should-i-load-the-image-file/41650)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [April 10, 2023, 10:01pm UTC](https://discourse.processing.org/t/android-listview-imageview-how-should-i-load-the-image-file/41650 "2023-04-10T22:01:48Z")

</div>

\[Android\] List image view - How should I load the image file? List example site: https://github.com/EmmanuelPil/Android-java-code-utilities-widgets-for-Processing-for-Android/blob/master/ListView.txt (Thanks to Dear n…

---

## [\[Android\] - IPCapture library problem](https://discourse.processing.org/t/android-ipcapture-library-problem/41615)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [April 10, 2023, 5:32am UTC](https://discourse.processing.org/t/android-ipcapture-library-problem/41615 "2023-04-10T05:32:12Z")

</div>

\[Android\] - ipcapture library problem hello. Nice to meet you. step-7 run-1 run-2 run-3 (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false Unable to open I/O streams (app): http://20.…

---

## [Android Options Menu](https://discourse.processing.org/t/android-options-menu/14724)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 9\
**Last updated:** [October 22, 2019, 5:09am UTC](https://discourse.processing.org/t/android-options-menu/14724 "2019-10-22T05:09:44Z")

</div>

@kfrajer I found a code in a post yours on the last forum. However it seemingly only worked on android mode version 3.0.2 and not on version 4.x You said you would look in to that later. Did you get it working? I have…

---

## [How to add Processing library(external library) - I wonder](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [April 5, 2023, 1:00am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594 "2023-04-05T01:00:10Z")

</div>

How to add processing library - I wonder. hello. Nice to meet you. In ‘JAVA Mode’, create ‘code’ folder and add ‘jar’ file. How can I add a library in ‘Android Mode’? (external library) Library link to add: ht…

---

## [Ketai library, KetaiNet.getIP(); Error](https://discourse.processing.org/t/ketai-library-ketainet-getip-error/11415)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 16\
**Last updated:** [April 4, 2023, 11:22pm UTC](https://discourse.processing.org/t/ketai-library-ketainet-getip-error/11415 "2023-04-04T23:22:55Z")

</div>

Hi. ketai library related. import ketai.net.wifidirect.; import ketai.net.; import ketai.ui.\*; KetaiNet.getIP(); KetaiNet.getIP (); The function does not work properly. It does not get the correct IP address valu…

---

## [\[Android\] 'Text is garbled.' When will it be resolved? help me](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 13\
**Last updated:** [March 28, 2023, 11:01pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969 "2023-03-28T23:01:02Z")

</div>

ref link : \[Android\] Regarding the Android mode, has the text breakage been resolved? Please refer to the image. example) Korean / Japanese / English If you experiment through, All texts are broken except in Engli…

---

## [Export signed package NOT WORKING!](https://discourse.processing.org/t/export-signed-package-not-working/41435)

<div class="topic-metadata">

**Author:** [@LVU](https://discourse.processing.org/u/LVU)\
**Replies:** 2\
**Last updated:** [March 24, 2023, 9:21pm UTC](https://discourse.processing.org/t/export-signed-package-not-working/41435 "2023-03-24T21:21:31Z")

</div>

Export signed package NOT WORKING !!! “Install Android SDK Platform 33 (revision: 2)” failed. FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ‘:app:compileRele…

---

## [Processing for Android on Samsung Foldables](https://discourse.processing.org/t/processing-for-android-on-samsung-foldables/41430)

<div class="topic-metadata">

**Author:** [@Brahvim](https://discourse.processing.org/u/Brahvim)\
**Replies:** 0\
**Last updated:** [March 24, 2023, 3:41pm UTC](https://discourse.processing.org/t/processing-for-android-on-samsung-foldables/41430 "2023-03-24T15:41:32Z")

</div>

I was wondering whether or not Processing would work as expected on Samsung foldable phones. I don’t think JOGL has any options for this on Android! Thoughts and opinions?

---

## [Problem with running a simple sketch on Android](https://discourse.processing.org/t/problem-with-running-a-simple-sketch-on-android/40732)

<div class="topic-metadata">

**Author:** [@Glenton](https://discourse.processing.org/u/Glenton)\
**Replies:** 53\
**Last updated:** [February 27, 2023, 1:30am UTC](https://discourse.processing.org/t/problem-with-running-a-simple-sketch-on-android/40732 "2023-02-27T01:30:09Z")

</div>

Hello, For my vinyl jukebox project, which runs with processing, I would like to make an app to control the jukebox through wifi. This is the first time I try to make an program for Android. I installed successfully P…

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

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