# Processing for Android

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

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

**Page:** 12

---

## [Rect Animation (Android)](https://discourse.processing.org/t/rect-animation-android/30809)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 2\
**Last updated:** [June 20, 2021, 9:54am UTC](https://discourse.processing.org/t/rect-animation-android/30809 "2021-06-20T09:54:23Z")

</div>

can i do a rect (); animate like that? I tried it for 3 hours but it doesn’t quite work

---

## [ControlP5 buttons issue Android](https://discourse.processing.org/t/controlp5-buttons-issue-android/30779)

<div class="topic-metadata">

**Author:** [@mmuylle](https://discourse.processing.org/u/mmuylle)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 9:04pm UTC](https://discourse.processing.org/t/controlp5-buttons-issue-android/30779 "2021-06-18T21:04:34Z")

</div>

A test sketch consists of two ControlP5 buttons. When run in Java mode, the buttons behaves as expected, a click immediately generates a response text. However, in Android mode, one has to click twice to get the response…

---

## [How to know within the code if I'm targeting android or java?](https://discourse.processing.org/t/how-to-know-within-the-code-if-im-targeting-android-or-java/20301)

<div class="topic-metadata">

**Author:** [@Nicholas](https://discourse.processing.org/u/Nicholas)\
**Replies:** 5\
**Last updated:** [June 15, 2021, 5:29pm UTC](https://discourse.processing.org/t/how-to-know-within-the-code-if-im-targeting-android-or-java/20301 "2021-06-15T17:29:14Z")

</div>

Ello Really enjoying Processing and how quickly I can realise and play with my ideas on my phone! I’m used to Unity which in comparison takes ages to build and deploy to handset. Buuuuuuuuut I really do prefer the imme…

---

## [Android - Push Notification](https://discourse.processing.org/t/android-push-notification/30658)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 2\
**Last updated:** [June 13, 2021, 3:27am UTC](https://discourse.processing.org/t/android-push-notification/30658 "2021-06-13T03:27:56Z")

</div>

Hey, I wanted to ask if there is a way to send push notifications via Android processing. It does not matter whether it is Android Processing on the PC or APDE on the mobile phone. If found this Topic: Link With this …

---

## [Exporting a live wallpaper as stand alone app](https://discourse.processing.org/t/exporting-a-live-wallpaper-as-stand-alone-app/30637)

<div class="topic-metadata">

**Author:** [@Nino](https://discourse.processing.org/u/Nino)\
**Replies:** 1\
**Last updated:** [June 12, 2021, 5:30am UTC](https://discourse.processing.org/t/exporting-a-live-wallpaper-as-stand-alone-app/30637 "2021-06-12T05:30:19Z")

</div>

So I’ve been making live wallpapers in the processing app and I would love to be ble to share them with friends. Does anyone know if and how I can go about to export a live wallpaper as an apk file that others can instal…

---

## [String Compare!](https://discourse.processing.org/t/string-compare/30612)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 2\
**Last updated:** [June 10, 2021, 8:55pm UTC](https://discourse.processing.org/t/string-compare/30612 "2021-06-10T20:55:47Z")

</div>

Good evening Does anyone know how to do that; given a string of IMEI characters and compared to its value, if it is the same, give me the possibility to run a program in android? Thanks so much!!

---

## [Apk limit installation android](https://discourse.processing.org/t/apk-limit-installation-android/30525)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 0\
**Last updated:** [June 6, 2021, 8:58am UTC](https://discourse.processing.org/t/apk-limit-installation-android/30525 "2021-06-06T08:58:19Z")

</div>

Has anyone ever got to / or knows how to limit the installation of an apk with IMEI control?

---

## [Upload File to Database](https://discourse.processing.org/t/upload-file-to-database/30436)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 0\
**Last updated:** [June 2, 2021, 6:49am UTC](https://discourse.processing.org/t/upload-file-to-database/30436 "2021-06-02T06:49:44Z")

</div>

can someone help me i have to upload to a database so i can get a top 10 of the score of my game how does it work best? I would take the database:PlayFab

---

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

<div class="topic-metadata">

**Author:** [@Th3cG](https://discourse.processing.org/u/Th3cG)\
**Replies:** 26\
**Last updated:** [May 30, 2021, 1:36pm UTC](https://discourse.processing.org/t/android-emulator/29362 "2021-05-30T13:36:43Z")

</div>

Hello, I tried to Run in Emulator this super- simple code in Processing’s Android mode: void setup() { size(640, 360); background(0); } void draw() { noStroke(); fill(255); circle(width/2, height/2, 32); } H…

---

## [\[SOLVED\] Show image stored in SDCARD (sdk 26)](https://discourse.processing.org/t/solved-show-image-stored-in-sdcard-sdk-26/4397)

<div class="topic-metadata">

**Author:** [@julienrat](https://discourse.processing.org/u/julienrat)\
**Replies:** 14\
**Last updated:** [May 31, 2021, 10:18am UTC](https://discourse.processing.org/t/solved-show-image-stored-in-sdcard-sdk-26/4397 "2021-05-31T10:18:59Z")

</div>

Hello, I have try many tutorials/issues whitout succes, but i’have got the same results : java.lang.IllegalArgumentException: File /storage/emulated/0/DCIM/cat.jpg contains a path separator Here is my code : import and…

---

## [APDE USB / OTG communication](https://discourse.processing.org/t/apde-usb-otg-communication/30114)

<div class="topic-metadata">

**Author:** [@ZENAR57](https://discourse.processing.org/u/ZENAR57)\
**Replies:** 165\
**Last updated:** [May 27, 2021, 12:29pm UTC](https://discourse.processing.org/t/apde-usb-otg-communication/30114 "2021-05-27T12:29:17Z")

</div>

Last update 2021-05-20T00:00:00Z (UTC) this post will be constantly updated, so someone will be interested, but do not want to scroll through the posts further, they will see and know everything, show what has already …

---

## [Run Wallpaper in Background continuously](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 1:03pm UTC](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248 "2021-05-27T13:03:21Z")

</div>

Hey, I wanted to ask if there is a way to let a wallpaper run in the background (also when apps are open) to count the time how long I was on the phone in general. Thanks Flolo :slight\_smile:

---

## [Duplicate class error when attetmpting to run application on device](https://discourse.processing.org/t/duplicate-class-error-when-attetmpting-to-run-application-on-device/30234)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 9:03am UTC](https://discourse.processing.org/t/duplicate-class-error-when-attetmpting-to-run-application-on-device/30234 "2021-05-26T09:03:59Z")

</div>

Hi, I am trying to run a program on an android device that is testing FTP client code (FTP client is from apache commons net). When i run the program i get a “Duplicate Classes Failed” error and a whole host of gradle e…

---

## [How to change color of the out of bounds background when not in fullscreen?](https://discourse.processing.org/t/how-to-change-color-of-the-out-of-bounds-background-when-not-in-fullscreen/30284)

<div class="topic-metadata">

**Author:** [@Kitulous](https://discourse.processing.org/u/Kitulous)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 1:05am UTC](https://discourse.processing.org/t/how-to-change-color-of-the-out-of-bounds-background-when-not-in-fullscreen/30284 "2021-05-26T01:05:03Z")

</div>

So I’m using size(720, 720) instead of fullScreen(). This leaves the ugly gray background. I want to change it to black, kinda like this: → First screenshot’s black zone is the actual canvas. This “full screen” bac…

---

## [Can someone Help me with a Timer](https://discourse.processing.org/t/can-someone-help-me-with-a-timer/30240)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 1\
**Last updated:** [May 24, 2021, 1:23pm UTC](https://discourse.processing.org/t/can-someone-help-me-with-a-timer/30240 "2021-05-24T13:23:07Z")

</div>

I visit a timer during the game when side is on 1 for 10 seconds afterwards side should be set to 2 import processing.sound.\*; boolean startp = true; float c; int seite, score, rx, ry; SoundFile theme; SoundFile plus; S…

---

## [Can someone Help me? (host files)](https://discourse.processing.org/t/can-someone-help-me-host-files/30178)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 5\
**Last updated:** [May 24, 2021, 7:25am UTC](https://discourse.processing.org/t/can-someone-help-me-host-files/30178 "2021-05-24T07:25:14Z")

</div>

can I make a free website where I can save files and give them back in processing on the mobile phone?

---

## [AndroidManifest\_Additions](https://discourse.processing.org/t/androidmanifest-additions/30231)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 4:49am UTC](https://discourse.processing.org/t/androidmanifest-additions/30231 "2021-05-23T04:49:10Z")

</div>

An Android project that I am working on requires additions to the AndroidManifest.xml file. The code runs ok but with every compile a new AndroidManifest.xml file is created and my additions are saved in a copy of the a…

---

## [Where to find the error logs from running an app on a device](https://discourse.processing.org/t/where-to-find-the-error-logs-from-running-an-app-on-a-device/30226)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 0\
**Last updated:** [May 22, 2021, 11:09pm UTC](https://discourse.processing.org/t/where-to-find-the-error-logs-from-running-an-app-on-a-device/30226 "2021-05-22T23:09:59Z")

</div>

Hi, when running running in Android mode and attempting to run a program on a device, sometimes all the errors cannot be seen in the console (gradle errors mainly) - where are the error logs stored? Any help is much ap…

---

## [APDE libraries update](https://discourse.processing.org/t/apde-libraries-update/26861)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 4\
**Last updated:** [May 20, 2021, 1:47am UTC](https://discourse.processing.org/t/apde-libraries-update/26861 "2021-05-20T01:47:18Z")

</div>

hi after reading topics over the net i found that some libraries in old versions of APDE work and on newer releases of APDE not working my question how to enable libraries to run on the latest APDE thanks in advance …

---

## ["Lost connection with emulator while launching. Try again."](https://discourse.processing.org/t/lost-connection-with-emulator-while-launching-try-again/8858)

<div class="topic-metadata">

**Author:** [@Mew](https://discourse.processing.org/u/Mew)\
**Replies:** 6\
**Last updated:** [May 15, 2021, 5:15am UTC](https://discourse.processing.org/t/lost-connection-with-emulator-while-launching-try-again/8858 "2021-05-15T05:15:46Z")

</div>

Hi there - first time posting here, so here goes. I’ve always used Processing 3 in Java mode, and I wanted to test out the Android mode. So, to make sure I really wouldn’t do anything wrong when installing everything re…

---

## [Error related to merging xml files when trying to run sketch on emultaor or device](https://discourse.processing.org/t/error-related-to-merging-xml-files-when-trying-to-run-sketch-on-emultaor-or-device/30092)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 2\
**Last updated:** [May 14, 2021, 2:12pm UTC](https://discourse.processing.org/t/error-related-to-merging-xml-files-when-trying-to-run-sketch-on-emultaor-or-device/30092 "2021-05-14T14:12:41Z")

</div>

HI, I recently installed android mode and ran a test sketch which seems to run fine however i then added the emulator (ARM version) and now when i try to run a sketch on the emulator or on a device i get the following i…

---

## [Ketai website down](https://discourse.processing.org/t/ketai-website-down/28644)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 5\
**Last updated:** [May 13, 2021, 2:47pm UTC](https://discourse.processing.org/t/ketai-website-down/28644 "2021-05-13T14:47:12Z")

</div>

Not sure what category to post this in but ive just tried to look at the ketai website for examples and tutorials only to find the whole website is now down. Does anyone knkw how to get in touch with the owner, this was …

---

## [Android Mode, Ketai Library and Android Emulator Update](https://discourse.processing.org/t/android-mode-ketai-library-and-android-emulator-update/29793)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 1\
**Last updated:** [May 13, 2021, 2:45pm UTC](https://discourse.processing.org/t/android-mode-ketai-library-and-android-emulator-update/29793 "2021-05-13T14:45:04Z")

</div>

Hello, I removed Android Studio from my W10 PC and wanted to try a fresh install from Processing 3.5.4 There have been posts about Android and Ketai issues and wanted to give it another try from a clean slate. The fo…

---

## [Standard Processing functions not working in APDE Wear Companion (Wear OS)](https://discourse.processing.org/t/standard-processing-functions-not-working-in-apde-wear-companion-wear-os/29917)

<div class="topic-metadata">

**Author:** [@Vetkwabje](https://discourse.processing.org/u/Vetkwabje)\
**Replies:** 0\
**Last updated:** [May 6, 2021, 3:57pm UTC](https://discourse.processing.org/t/standard-processing-functions-not-working-in-apde-wear-companion-wear-os/29917 "2021-05-06T15:57:14Z")

</div>

Hi everyone! Recently, I’ve acquired a new smartwatch (Mobvoi Ticwatch Pro 3). I was really keen to designing my own watchfaces. Yesterday, I finally succeeded in doing so, but not without a ton of hassle and trial and …

---

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

<div class="topic-metadata">

**Author:** [@ZENAR57](https://discourse.processing.org/u/ZENAR57)\
**Replies:** 6\
**Last updated:** [May 5, 2021, 1:33pm UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone/29869 "2021-05-05T13:33:31Z")

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

---

## [Class code does not work in eclipse, library](https://discourse.processing.org/t/class-code-does-not-work-in-eclipse-library/29818)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 3\
**Last updated:** [May 3, 2021, 9:59pm UTC](https://discourse.processing.org/t/class-code-does-not-work-in-eclipse-library/29818 "2021-05-03T21:59:37Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’m converting a sketch for saving text files on android and running into the cannot find symbol error when compiling in eclipse. original sket…

---

## [Cannot find an Android SDK](https://discourse.processing.org/t/cannot-find-an-android-sdk/29782)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 4\
**Last updated:** [May 2, 2021, 10:42pm UTC](https://discourse.processing.org/t/cannot-find-an-android-sdk/29782 "2021-05-02T22:42:34Z")

</div>

Hi, I have setup android mode on Linux but when i try to run android mode it gives me the error box “cant find an android SDK…”. I am running version 3.5.4. The behaviour varies between showing the error box and then …

---

## [I can't export signed and aligned pakage (what's wrong?)](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725)

<div class="topic-metadata">

**Author:** [@dinoelectro](https://discourse.processing.org/u/dinoelectro)\
**Replies:** 6\
**Last updated:** [May 2, 2021, 1:41pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725 "2021-05-02T13:41:45Z")

</div>

hello friends, again I appeal for your help … I have a problem I can compile and run my sketch on the Android device, but I cannot export the signed and aligned package, an error occurs when trying to export it. Err…

---

## [Problem with backspace key](https://discourse.processing.org/t/problem-with-backspace-key/29393)

<div class="topic-metadata">

**Author:** [@dinoelectro](https://discourse.processing.org/u/dinoelectro)\
**Replies:** 5\
**Last updated:** [April 29, 2021, 3:45pm UTC](https://discourse.processing.org/t/problem-with-backspace-key/29393 "2021-04-29T15:45:30Z")

</div>

hello, i need your help! I was experimenting with the code, but found a problem for example if I type 5 letters, I need to press the backspace key six times to just delete a character for example if I type 10 letters,…

---

## [Exporting .apk from Processing sketch](https://discourse.processing.org/t/exporting-apk-from-processing-sketch/29640)

<div class="topic-metadata">

**Author:** [@Th3cG](https://discourse.processing.org/u/Th3cG)\
**Replies:** 7\
**Last updated:** [April 29, 2021, 1:51pm UTC](https://discourse.processing.org/t/exporting-apk-from-processing-sketch/29640 "2021-04-29T13:51:56Z")

</div>

I just completed my first trivial app and would feel cool distributing it to my relatives. The point is: when I try to Export Signed Package, it fails both on Windows and on Mac. Here’s the message on Windows: org.gradl…

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

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