# Processing for Android

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

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

**Page:** 4

---

## [Processing don't see phone](https://discourse.processing.org/t/processing-dont-see-phone/43518)

<div class="topic-metadata">

**Author:** [@Laaz](https://discourse.processing.org/u/Laaz)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 10:23pm UTC](https://discourse.processing.org/t/processing-dont-see-phone/43518 "2023-12-19T22:23:06Z")

</div>

Hi Installed Processing Android library and try to run some program in my mobile phone, but when I shifting from Java mode to Android, stk not fond message appears. I tried automatically installing, but then it doesn’t …

---

## [Processing never remembers where the SDK is located](https://discourse.processing.org/t/processing-never-remembers-where-the-sdk-is-located/42779)

<div class="topic-metadata">

**Author:** [@Jean-no](https://discourse.processing.org/u/Jean-no)\
**Replies:** 3\
**Last updated:** [September 18, 2023, 6:54pm UTC](https://discourse.processing.org/t/processing-never-remembers-where-the-sdk-is-located/42779 "2023-09-18T18:54:01Z")

</div>

OS : Ubunutu 22.04 Processing Android works fine, but I’m annoyed by a small problem : each time I re-open it, Processing asks me to download the SDK again, or to locate it. Both works, but why is that happening ? Can’…

---

## [Background tasks](https://discourse.processing.org/t/background-tasks/43517)

<div class="topic-metadata">

**Author:** [@Glowtube](https://discourse.processing.org/u/Glowtube)\
**Replies:** 0\
**Last updated:** [December 19, 2023, 1:26pm UTC](https://discourse.processing.org/t/background-tasks/43517 "2023-12-19T13:26:12Z")

</div>

Hey. In Android Studio there is the WorkManager to run tasks in the background. To be precise I want to run a voice recorder in the background that uses some library for wakeword detection and other stuff (like “ok Goog…

---

## [Read battery level](https://discourse.processing.org/t/read-battery-level/43414)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 2\
**Last updated:** [December 8, 2023, 8:01pm UTC](https://discourse.processing.org/t/read-battery-level/43414 "2023-12-08T20:01:07Z")

</div>

When I use the following battery reading code from Battery Level - Processing Forum, I get a compiler error: "The method registerReceiver(BroadcastReceiver, IntentFilter) is undefined for the type test. “test” is the nam…

---

## [APDE How to create BitmapDrawable from Drawable or any Image?](https://discourse.processing.org/t/apde-how-to-create-bitmapdrawable-from-drawable-or-any-image/43389)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 3\
**Last updated:** [December 4, 2023, 9:21am UTC](https://discourse.processing.org/t/apde-how-to-create-bitmapdrawable-from-drawable-or-any-image/43389 "2023-12-04T09:21:31Z")

</div>

Hey fam, how can one create a BitmapDrawable to use as tiled background for TextView’s or other’s on APDE? I managed to create “regular” Drawables, but they don’t have the tiling option. Only BitmapDrawables can do tha…

---

## [APDE where to put drawables or xml files?](https://discourse.processing.org/t/apde-where-to-put-drawables-or-xml-files/43388)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 0\
**Last updated:** [December 3, 2023, 8:25pm UTC](https://discourse.processing.org/t/apde-where-to-put-drawables-or-xml-files/43388 "2023-12-03T20:25:21Z")

</div>

Hey fam, can anyone tell me where I have to put my images so that i can use them as Drawables on APDE? For example to use as a background for a TextView… Until now i put them into the data folder and convert them on r…

---

## [Convert Drawable to PImage example](https://discourse.processing.org/t/convert-drawable-to-pimage-example/43201)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 1\
**Last updated:** [December 3, 2023, 7:29pm UTC](https://discourse.processing.org/t/convert-drawable-to-pimage-example/43201 "2023-12-03T19:29:29Z")

</div>

In case someone needs it. It took me ages to get that working on APDE. Any suggestions for improvement are welcome, since I’m sure there’s a better way to do it. Cheers, AmyS3 import android.graphics.drawable.Drawa…

---

## [Receive shared data or file from another app?](https://discourse.processing.org/t/receive-shared-data-or-file-from-another-app/43185)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 0\
**Last updated:** [November 11, 2023, 11:55am UTC](https://discourse.processing.org/t/receive-shared-data-or-file-from-another-app/43185 "2023-11-11T11:55:38Z")

</div>

Hey guys, anyone of you know how to configure or code a sketch with APDE to receive shared data or file(s) from another app? I know how to setup the intent in my sketch to open a file from my sketch itself via the file…

---

## [controlP5 Button solution for android / adpe](https://discourse.processing.org/t/controlp5-button-solution-for-android-adpe/43102)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 4\
**Last updated:** [November 1, 2023, 1:52am UTC](https://discourse.processing.org/t/controlp5-button-solution-for-android-adpe/43102 "2023-11-01T01:52:34Z")

</div>

Here a solution for the weird behavior of the buttons from controlP5 on Android/adpe where you have to click twice to actually click the button. This solution works with a single click and also with sliding the finger o…

---

## [Android native File Explorer](https://discourse.processing.org/t/android-native-file-explorer/15869)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 9\
**Last updated:** [October 18, 2023, 8:12pm UTC](https://discourse.processing.org/t/android-native-file-explorer/15869 "2023-10-18T20:12:01Z")

</div>

Following short code will open Android’s File explorer. In this example only txt files are admitted and displayed in console, but of course you can customize for every extension as you see fit. Important! Give read pe…

---

## [loadTable() in Kotlin](https://discourse.processing.org/t/loadtable-in-kotlin/43003)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 0\
**Last updated:** [October 18, 2023, 11:20am UTC](https://discourse.processing.org/t/loadtable-in-kotlin/43003 "2023-10-18T11:20:18Z")

</div>

Hi there Is there something that prevent the use of loadTable() in Kotlin ? I can’t seem to find documentation on Kotlin Table? … cheers

---

## [CreateFont() doesn't work](https://discourse.processing.org/t/createfont-doesnt-work/42942)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 5\
**Last updated:** [October 12, 2023, 10:31am UTC](https://discourse.processing.org/t/createfont-doesnt-work/42942 "2023-10-12T10:31:23Z")

</div>

Hello, I tried to use the createFont() function, but when I use it, the app just closes. code: PFont font; void setup(){ font=createFont("FieldGuide.ttf",100); textFont(font,100); } void draw() { background(255…

---

## [Any chance to use Android audio and MIDI using a standard library?](https://discourse.processing.org/t/any-chance-to-use-android-audio-and-midi-using-a-standard-library/42879)

<div class="topic-metadata">

**Author:** [@Algoritmarte](https://discourse.processing.org/u/Algoritmarte)\
**Replies:** 3\
**Last updated:** [October 5, 2023, 1:57pm UTC](https://discourse.processing.org/t/any-chance-to-use-android-audio-and-midi-using-a-standard-library/42879 "2023-10-05T13:57:34Z")

</div>

Is there a way to use a standard audio/MIDI library (low level) that can work both on the Processing for Android and Processing desktop versions? Or what is the best (and easiest) way to use audio/MIDI on Processing for…

---

## [New install of 4.3 android mode. What is default emulated device?](https://discourse.processing.org/t/new-install-of-4-3-android-mode-what-is-default-emulated-device/42873)

<div class="topic-metadata">

**Author:** [@f101](https://discourse.processing.org/u/f101)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 12:27am UTC](https://discourse.processing.org/t/new-install-of-4-3-android-mode-what-is-default-emulated-device/42873 "2023-10-02T00:27:51Z")

</div>

Setting up a fresh win11 system with Processing 4.3. What android system image emulator and android build is used by default? Only a Pixel\_3a\_API\_34\_extension\_level7\_x86\_64 got installed in sdk\\emulator. sdk\\platforms h…

---

## [\[Android\] How to 'smartphone background push notification'](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 12:04am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738 "2023-09-15T00:04:07Z")

</div>

Hello. Nice to meet you. If you look at the image, it is a simple configuration diagram. The IP of the smartphone will change every time, so how can I make the ‘app’ run in the ‘background’? If the ‘application’ run…

---

## [Android webview](https://discourse.processing.org/t/android-webview/42726)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 1\
**Last updated:** [September 10, 2023, 5:54am UTC](https://discourse.processing.org/t/android-webview/42726 "2023-09-10T05:54:57Z")

</div>

I just need the map from the game, I marked it green, could someone help me with the code? I would need the card in the middle at the top and that you cannot move it, so that it is fixed and cannot be moved import a…

---

## [Texture() using image. Not working on Android Mode](https://discourse.processing.org/t/texture-using-image-not-working-on-android-mode/42684)

<div class="topic-metadata">

**Author:** [@Isaidtrader](https://discourse.processing.org/u/Isaidtrader)\
**Replies:** 2\
**Last updated:** [August 31, 2023, 3:10pm UTC](https://discourse.processing.org/t/texture-using-image-not-working-on-android-mode/42684 "2023-08-31T15:10:50Z")

</div>

I want to create “Pixel Art Games” for Android. In Java Mode it worked (even I could rotate the image using the P2D \> loadImage() \> beginShape() \> texture() \> vertex()… ), but when I upscaled the image using vertex()… it…

---

## [Special char from keyboard?](https://discourse.processing.org/t/special-char-from-keyboard/42673)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 0\
**Last updated:** [August 29, 2023, 12:28pm UTC](https://discourse.processing.org/t/special-char-from-keyboard/42673 "2023-08-29T12:28:53Z")

</div>

How to get special characters from keyboard android processing?

---

## [Permissions on an Android device](https://discourse.processing.org/t/permissions-on-an-android-device/42655)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 3\
**Last updated:** [August 28, 2023, 7:15pm UTC](https://discourse.processing.org/t/permissions-on-an-android-device/42655 "2023-08-28T19:15:35Z")

</div>

Hi all, I’m trying to understand which permissions I need to read/write a .txt or .csv file. As well as, the permissions needed to load and play a music file. Either on internal and external storage. Any advice/thoughts…

---

## [noClip() crashes my Android app](https://discourse.processing.org/t/noclip-crashes-my-android-app/42543)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 1:39pm UTC](https://discourse.processing.org/t/noclip-crashes-my-android-app/42543 "2023-08-03T13:39:10Z")

</div>

When the exported app is started on a Galaxy S8+ (Android 10) via “Run on Device”, the noClip() command crashes the program. When I start the app in an emulator, it works fine (Android 9). My app renders plots in a recta…

---

## [Issues with wallpaper written in Processing in APDE on phone restart](https://discourse.processing.org/t/issues-with-wallpaper-written-in-processing-in-apde-on-phone-restart/42482)

<div class="topic-metadata">

**Author:** [@AlexandraKateva](https://discourse.processing.org/u/AlexandraKateva)\
**Replies:** 0\
**Last updated:** [July 23, 2023, 11:20am UTC](https://discourse.processing.org/t/issues-with-wallpaper-written-in-processing-in-apde-on-phone-restart/42482 "2023-07-23T11:20:50Z")

</div>

Hello, I made a wallpaper sketch, where you have dots in the background on the phone, that move around a circle and wrap around the edges of the screen. i really like how it works, however i’ve been having weird issues w…

---

## [I can't export my first Android program](https://discourse.processing.org/t/i-cant-export-my-first-android-program/42505)

<div class="topic-metadata">

**Author:** [@fsdonato](https://discourse.processing.org/u/fsdonato)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 7:27pm UTC](https://discourse.processing.org/t/i-cant-export-my-first-android-program/42505 "2023-07-26T19:27:52Z")

</div>

I’m doing the following code in Processin 4, Android mode: void setup() { } void draw() { ellipse(mouseX, mouseY, mouseX-pmouseX, mouseY-pmouseY); } The code works, it runs on the Smartphone. But I am …

---

## [Open Discussion for Processing-Android feature implementation](https://discourse.processing.org/t/open-discussion-for-processing-android-feature-implementation/42303)

<div class="topic-metadata">

**Author:** [@AdityaRana](https://discourse.processing.org/u/AdityaRana)\
**Replies:** 0\
**Last updated:** [June 28, 2023, 9:35pm UTC](https://discourse.processing.org/t/open-discussion-for-processing-android-feature-implementation/42303 "2023-06-28T21:35:05Z")

</div>

Hi everyone, lets take a step forward and change the way we implementa features in Processing in opensource. I am proposing a new way to delivery new features in processing w/ opensource, lets start discussion every ti…

---

## [How to load an image in Android Studio using a Processing sketch](https://discourse.processing.org/t/how-to-load-an-image-in-android-studio-using-a-processing-sketch/35860)

<div class="topic-metadata">

**Author:** [@pantsik](https://discourse.processing.org/u/pantsik)\
**Replies:** 8\
**Last updated:** [July 10, 2023, 12:22am UTC](https://discourse.processing.org/t/how-to-load-an-image-in-android-studio-using-a-processing-sketch/35860 "2023-07-10T00:22:35Z")

</div>

0 I cannot load an image using a Processing sketch. I am using Android Studio on Windows 10 with an android emulator. I have placed an image file called “car.png” in the following directory: E:\\Android\\AndroidStudioPro…

---

## [Android - Max ram usage?](https://discourse.processing.org/t/android-max-ram-usage/39788)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 8:07pm UTC](https://discourse.processing.org/t/android-max-ram-usage/39788 "2023-07-03T20:07:10Z")

</div>

When I want to load a 1920 by 1080 pixel PGraphics image, I have 45 FPS, even tho, my tablet has 8 GB ram and is fairly good performance. How do I change the max ram?

---

## [Simple code does not run on the Android 12 device](https://discourse.processing.org/t/simple-code-does-not-run-on-the-android-12-device/41072)

<div class="topic-metadata">

**Author:** [@goodlucky99](https://discourse.processing.org/u/goodlucky99)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 10:55am UTC](https://discourse.processing.org/t/simple-code-does-not-run-on-the-android-12-device/41072 "2023-07-03T10:55:03Z")

</div>

Hello. I installed Processing 4.2 And I changed my phone (android 12) to usb debugging mode and connected to PC. After then, I checked my Android device in the Android device menu and the tutorial simple sketch succes…

---

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

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [July 3, 2023, 7:31am UTC](https://discourse.processing.org/t/how-can-i-retrieve-sms-on-android-phone-not-work/41888 "2023-07-03T07:31:30Z")

</div>

\[How can I retrieve SMS on Android phone?\] hello. Nice to meet you. I want to receive text messages on Android. Here is the reference link: I used the source code below, but the app closes automatically. what coul…

---

## [QR code recognition is required in'Android'. Is there no workaround?](https://discourse.processing.org/t/qr-code-recognition-is-required-inandroid-is-there-no-workaround/28129)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 17\
**Last updated:** [July 3, 2023, 7:31am UTC](https://discourse.processing.org/t/qr-code-recognition-is-required-inandroid-is-there-no-workaround/28129 "2023-07-03T07:31:26Z")

</div>

QR code recognition is required in’Android’. Is there no workaround? Reference link: https://forum.processing.org/two/discussion/15572/qr-code-library-for-processing-3-0-2-windows-linux-macosx-android-writeqr-and-readqr …

---

## [PDF export for Android sketch](https://discourse.processing.org/t/pdf-export-for-android-sketch/7738)

<div class="topic-metadata">

**Author:** [@Puran.Singh](https://discourse.processing.org/u/Puran.Singh)\
**Replies:** 6\
**Last updated:** [July 3, 2023, 7:13am UTC](https://discourse.processing.org/t/pdf-export-for-android-sketch/7738 "2023-07-03T07:13:35Z")

</div>

Hi everyone! I am making an app that does some sort of calculations and draws something with the result. Now I want to export a pdf of the same. Although my purpose is satisfied on a computer with pdf export library, …

---

## [Connect Android to Processing on my computer](https://discourse.processing.org/t/connect-android-to-processing-on-my-computer/41825)

<div class="topic-metadata">

**Author:** [@markus1](https://discourse.processing.org/u/markus1)\
**Replies:** 11\
**Last updated:** [July 3, 2023, 7:09am UTC](https://discourse.processing.org/t/connect-android-to-processing-on-my-computer/41825 "2023-07-03T07:09:58Z")

</div>

Hi. I wanna make a smal app for my own mobile phone. I wanna use processing for this. I have downloded SDK and have Android mode on processing. The problem is that when I go to Android → Devices, i only see “no connecte…

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

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