# Processing for Android

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

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

**Page:** 17

---

## [Android processing and Puredata communication](https://discourse.processing.org/t/android-processing-and-puredata-communication/23627)

<div class="topic-metadata">

**Author:** [@Purr](https://discourse.processing.org/u/Purr)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 9:18am UTC](https://discourse.processing.org/t/android-processing-and-puredata-communication/23627 "2020-09-04T09:18:57Z")

</div>

Hi there, I have problem about communication between Android processing and Pure data. When I run my code in processing, I see on the back of my screen that the phone send information to my computer but definitly not to…

---

## [I need a little Help (APDE)](https://discourse.processing.org/t/i-need-a-little-help-apde/23663)

<div class="topic-metadata">

**Author:** [@Dominik\_rgn](https://discourse.processing.org/u/Dominik_rgn)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 4:49am UTC](https://discourse.processing.org/t/i-need-a-little-help-apde/23663 "2020-09-04T04:49:25Z")

</div>

can I play a video in “LANDSCAPE” which has displayHeight and width? With (skip, Play, pause)?

---

## [AlwaysOnHotwordDetector Examples for Android Mode](https://discourse.processing.org/t/alwaysonhotworddetector-examples-for-android-mode/22292)

<div class="topic-metadata">

**Author:** [@Erald](https://discourse.processing.org/u/Erald)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 3:24am UTC](https://discourse.processing.org/t/alwaysonhotworddetector-examples-for-android-mode/22292 "2020-09-04T03:24:37Z")

</div>

I have been lurking around StackExchange and Processing forums for any leads on a starting project for AlwaysOnHotwordDetector voice service for Android Mode on Processing but I don’t think many have ventured on this pro…

---

## [Help For App (Like instagram)](https://discourse.processing.org/t/help-for-app-like-instagram/23573)

<div class="topic-metadata">

**Author:** [@Dominik\_rgn](https://discourse.processing.org/u/Dominik_rgn)\
**Replies:** 28\
**Last updated:** [September 1, 2020, 4:45pm UTC](https://discourse.processing.org/t/help-for-app-like-instagram/23573 "2020-09-01T16:45:58Z")

</div>

i need your help, i have a project for a game just need help from you guys. I want to pack several pictures on top of each other so that I can swipe up / down how does it work on insta?

---

## [Admob APDE Processing](https://discourse.processing.org/t/admob-apde-processing/23577)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 10\
**Last updated:** [August 31, 2020, 5:56pm UTC](https://discourse.processing.org/t/admob-apde-processing/23577 "2020-08-31T17:56:21Z")

</div>

Hello. I’m almost done making my application. And I wondered if I can add ads through APDE? because now there is no access to the computer. If anyone has really figured it out, please provide a link to the topic or ar…

---

## [Turn on/off Android Phone Flashlight](https://discourse.processing.org/t/turn-on-off-android-phone-flashlight/23496)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 11\
**Last updated:** [August 31, 2020, 5:49am UTC](https://discourse.processing.org/t/turn-on-off-android-phone-flashlight/23496 "2020-08-31T05:49:53Z")

</div>

Hi, I have a simple problem: I want a simple sketch to turn on/off the flashlight on my phone. it would be nice, if it stays on, even if I turn off the screen of my phone.

---

## [Is there a way to load admob ads in an animation thread like draw()?](https://discourse.processing.org/t/is-there-a-way-to-load-admob-ads-in-an-animation-thread-like-draw/22566)

<div class="topic-metadata">

**Author:** [@superspacespaghetti](https://discourse.processing.org/u/superspacespaghetti)\
**Replies:** 30\
**Last updated:** [August 31, 2020, 2:08am UTC](https://discourse.processing.org/t/is-there-a-way-to-load-admob-ads-in-an-animation-thread-like-draw/22566 "2020-08-31T02:08:44Z")

</div>

Hi, i wanted to make an app that loads/shows a google admob banner only when the menu is open (and hides/closes it when the menu is closed too, but i haven’t gotten that far yet). The menu itself is basically just a reca…

---

## [Automatically turn on / off Mobile data connection](https://discourse.processing.org/t/automatically-turn-on-off-mobile-data-connection/23479)

<div class="topic-metadata">

**Author:** [@anthony20](https://discourse.processing.org/u/anthony20)\
**Replies:** 4\
**Last updated:** [August 28, 2020, 10:04pm UTC](https://discourse.processing.org/t/automatically-turn-on-off-mobile-data-connection/23479 "2020-08-28T22:04:59Z")

</div>

Hello, I am trying to make an application that allows activating and deactivating the mobile connection to the Internet in order to change IP I have found code but it doesn’t work right. This line gives an error: setM…

---

## [Rendering issues when not using APDE (PShape)](https://discourse.processing.org/t/rendering-issues-when-not-using-apde-pshape/22852)

<div class="topic-metadata">

**Author:** [@Mesalcode](https://discourse.processing.org/u/Mesalcode)\
**Replies:** 18\
**Last updated:** [August 26, 2020, 12:55pm UTC](https://discourse.processing.org/t/rendering-issues-when-not-using-apde-pshape/22852 "2020-08-26T12:55:30Z")

</div>

When using PShapes in Processing, I ran in the following issue: PShape cubeShape; PShape secondaryShape; PImage cubeImage; PImage blank; float rotationX; float rotationY; float sX, sY; int childs; PFont questionFont, o…

---

## [How to adjust the API level when exporting signed package for Android?](https://discourse.processing.org/t/how-to-adjust-the-api-level-when-exporting-signed-package-for-android/23286)

<div class="topic-metadata">

**Author:** [@Mowtine](https://discourse.processing.org/u/Mowtine)\
**Replies:** 6\
**Last updated:** [August 22, 2020, 2:47pm UTC](https://discourse.processing.org/t/how-to-adjust-the-api-level-when-exporting-signed-package-for-android/23286 "2020-08-22T14:47:41Z")

</div>

I am trying to add my first app to the google app store and when uploading the signed\_aligned APK I get the following error: Your app currently targets API level 28 and must target at least API level 29 to ensure it is …

---

## [Execution failed for task ':app:processDebugRecources'](https://discourse.processing.org/t/execution-failed-for-task-processdebugrecources/23328)

<div class="topic-metadata">

**Author:** [@TheEternalDragon](https://discourse.processing.org/u/TheEternalDragon)\
**Replies:** 17\
**Last updated:** [August 21, 2020, 9:26am UTC](https://discourse.processing.org/t/execution-failed-for-task-processdebugrecources/23328 "2020-08-21T09:26:39Z")

</div>

Whenever I try to run my app with the android library available in processing, I have recently started to encounter a long error log which after sifting through it told me: What went wrong: Execution failed for task ‘…

---

## [How to add Google AdMob to android sketch?](https://discourse.processing.org/t/how-to-add-google-admob-to-android-sketch/23022)

<div class="topic-metadata">

**Author:** [@Lucas](https://discourse.processing.org/u/Lucas)\
**Replies:** 13\
**Last updated:** [August 6, 2020, 10:00pm UTC](https://discourse.processing.org/t/how-to-add-google-admob-to-android-sketch/23022 "2020-08-06T22:00:02Z")

</div>

Hello everyone, I have created a game I would like to publish, but I need to add ads to it. I have looked through a lot of posts about adding Google AdMob to a sketch, but all of the post are out dated and when applied…

---

## [I need Help with save a int](https://discourse.processing.org/t/i-need-help-with-save-a-int/20934)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 46\
**Last updated:** [August 6, 2020, 6:57pm UTC](https://discourse.processing.org/t/i-need-help-with-save-a-int/20934 "2020-08-06T18:57:04Z")

</div>

Hello I wanted to ask how I can Save the int below in the Text because someone has an idea? int score = 0; void setup(){ orientation(PORTRAIT); } void draw(){ background(0); fill(#FFFFFF); textSize(75); text…

---

## [Sketch Freezes/Stops When Going To Home And Lock Screen](https://discourse.processing.org/t/sketch-freezes-stops-when-going-to-home-and-lock-screen/23075)

<div class="topic-metadata">

**Author:** [@Lucas](https://discourse.processing.org/u/Lucas)\
**Replies:** 3\
**Last updated:** [August 6, 2020, 4:07pm UTC](https://discourse.processing.org/t/sketch-freezes-stops-when-going-to-home-and-lock-screen/23075 "2020-08-06T16:07:53Z")

</div>

Hello everyone, I was wondering if your android app sketch freezes when you go to the home screen and then go back to your app without fully closing and reopening the app. Does it freeze when you are on your app and yo…

---

## [Using Serial with Processing for Android](https://discourse.processing.org/t/using-serial-with-processing-for-android/22974)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 11\
**Last updated:** [August 6, 2020, 5:53am UTC](https://discourse.processing.org/t/using-serial-with-processing-for-android/22974 "2020-08-06T05:53:52Z")

</div>

I’m trying to use Bluetooth Classic from a Processing app (version 3.5.4) in the Android mode with a Serial library download from the internet “AndroidSerial”. Source code which fails is as follows: import com.yourinve…

---

## [Trying to use screen taps for input](https://discourse.processing.org/t/trying-to-use-screen-taps-for-input/22854)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 7\
**Last updated:** [July 30, 2020, 11:57pm UTC](https://discourse.processing.org/t/trying-to-use-screen-taps-for-input/22854 "2020-07-30T23:57:20Z")

</div>

I have an android app that reads a magnetometer over USB and displays the x,y,z data as PVector. It’s ok but what I want is to be able to calibrate the magnetometer data. What I tried is to divide the screen into third…

---

## [Open Android wallpaper picker when launching live wallpaper apk created by Processing](https://discourse.processing.org/t/open-android-wallpaper-picker-when-launching-live-wallpaper-apk-created-by-processing/22811)

<div class="topic-metadata">

**Author:** [@shysd](https://discourse.processing.org/u/shysd)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 8:46pm UTC](https://discourse.processing.org/t/open-android-wallpaper-picker-when-launching-live-wallpaper-apk-created-by-processing/22811 "2020-07-24T20:46:15Z")

</div>

I’m using Calsign’s APDE for developing live wallpaper packages for Android, and it is working well. But as of now, (I think even for Processing) the created Live wallpaper signed and exported APK does not open the wallp…

---

## [I need Help with seekbar](https://discourse.processing.org/t/i-need-help-with-seekbar/22610)

<div class="topic-metadata">

**Author:** [@MonteliaRO](https://discourse.processing.org/u/MonteliaRO)\
**Replies:** 2\
**Last updated:** [July 19, 2020, 11:17pm UTC](https://discourse.processing.org/t/i-need-help-with-seekbar/22610 "2020-07-19T23:17:00Z")

</div>

Hello, I have a question. I wanted to know if I could make another window in the pop-up menu ("⋮") and because the text size can be set with a seekbar (slider) can someone help me? Like this (https://github.com/Emmanue…

---

## [Speech Recognition via Android Mode Questions](https://discourse.processing.org/t/speech-recognition-via-android-mode-questions/22291)

<div class="topic-metadata">

**Author:** [@Erald](https://discourse.processing.org/u/Erald)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 4:22am UTC](https://discourse.processing.org/t/speech-recognition-via-android-mode-questions/22291 "2020-07-07T04:22:37Z")

</div>

Hello everybody, I have been developing a software for android for home automation via Speech Recognition. I have been using Processing and following this topics: Link 1: Utilizes the easy way to call back speech recogn…

---

## [How to put up ads in APDE](https://discourse.processing.org/t/how-to-put-up-ads-in-apde/22381)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 6\
**Last updated:** [July 5, 2020, 7:29am UTC](https://discourse.processing.org/t/how-to-put-up-ads-in-apde/22381 "2020-07-05T07:29:23Z")

</div>

I want to know, how I can put up ads on my sketch made using APDE (processing android)… Already frustrated finding help on google… Please help…

---

## [How to add speech to text in processing android](https://discourse.processing.org/t/how-to-add-speech-to-text-in-processing-android/22128)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 8\
**Last updated:** [July 1, 2020, 8:17am UTC](https://discourse.processing.org/t/how-to-add-speech-to-text-in-processing-android/22128 "2020-07-01T08:17:11Z")

</div>

How can I implement speech to text mechanism in processing android?

---

## [Processing sound library not working after exporting APDE(processing android)](https://discourse.processing.org/t/processing-sound-library-not-working-after-exporting-apde-processing-android/22277)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 6\
**Last updated:** [July 1, 2020, 1:25am UTC](https://discourse.processing.org/t/processing-sound-library-not-working-after-exporting-apde-processing-android/22277 "2020-07-01T01:25:19Z")

</div>

I made a sketch using processing sound library and it worked fine until I used the sketch previewer that comes with APDE but after exporting it, It didn’t worked. Thanks in advance!!

---

## [Libraries do not want to work, giving an error to the console](https://discourse.processing.org/t/libraries-do-not-want-to-work-giving-an-error-to-the-console/22251)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 11:00pm UTC](https://discourse.processing.org/t/libraries-do-not-want-to-work-giving-an-error-to-the-console/22251 "2020-06-30T23:00:17Z")

</div>

Whatever library I try to use, I get an error in the console (attached to the bottom). I use APDE, but still a day ago such a problem A bug appeared after adding a minim sound library.Tried to reinstall all the librari…

---

## [How to get android keyboards height](https://discourse.processing.org/t/how-to-get-android-keyboards-height/22210)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 8:58am UTC](https://discourse.processing.org/t/how-to-get-android-keyboards-height/22210 "2020-06-30T08:58:58Z")

</div>

I am using APDE for making sketches and I want to get my android keyboards height so that I can lerp a text box to the ceiling of the keyboard… Thanks in advance!

---

## [The sound begins to make noise after repeated use](https://discourse.processing.org/t/the-sound-begins-to-make-noise-after-repeated-use/22205)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 22\
**Last updated:** [June 29, 2020, 11:04pm UTC](https://discourse.processing.org/t/the-sound-begins-to-make-noise-after-repeated-use/22205 "2020-06-29T23:04:45Z")

</div>

\<import processing.sound.\*; SoundFile file; int i; void setup() { size(640, 360); background(255); file = new SoundFile(this, “test.mp3”); } void draw() { background(60); if(mousePressed){ file.play(1, 0.5); …

---

## [Exported gradle project not working](https://discourse.processing.org/t/exported-gradle-project-not-working/22020)

<div class="topic-metadata">

**Author:** [@Mesalcode](https://discourse.processing.org/u/Mesalcode)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 4:30pm UTC](https://discourse.processing.org/t/exported-gradle-project-not-working/22020 "2020-06-27T16:30:21Z")

</div>

Hi there! I exported my processing project via the ‘Export Android Project’ option of the PDE. Unfortunately, after importing it into android studio the grade build fails. I am getting the following error: Unable to f…

---

## [How to keep my application alive in background in processing android (APDE)](https://discourse.processing.org/t/how-to-keep-my-application-alive-in-background-in-processing-android-apde/22126)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 5\
**Last updated:** [June 25, 2020, 8:59am UTC](https://discourse.processing.org/t/how-to-keep-my-application-alive-in-background-in-processing-android-apde/22126 "2020-06-25T08:59:59Z")

</div>

How to keep my application alive in background, even after closing the app and clearing off the ram… I know this is possible without a ROOT, beacuse Reddit does it for notification purposes… Thanks in advance…

---

## [How do I createFont from .ttf files in apde?](https://discourse.processing.org/t/how-do-i-createfont-from-ttf-files-in-apde/22079)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 4:59am UTC](https://discourse.processing.org/t/how-do-i-createfont-from-ttf-files-in-apde/22079 "2020-06-23T04:59:43Z")

</div>

I know that there is a createFont option in processing’s pc version and that does the conversion of .ttf files to .vlw files. But while using apde I cant even use any external font files and only use the system built it…

---

## [\[INSTALL\_FAILED\_OLDER\_SDK\] Error while creating a watch face](https://discourse.processing.org/t/install-failed-older-sdk-error-while-creating-a-watch-face/22030)

<div class="topic-metadata">

**Author:** [@enginteymur](https://discourse.processing.org/u/enginteymur)\
**Replies:** 2\
**Last updated:** [June 21, 2020, 12:09pm UTC](https://discourse.processing.org/t/install-failed-older-sdk-error-while-creating-a-watch-face/22030 "2020-06-21T12:09:52Z")

</div>

Hello, I am a beginner at Processing and I try to create a watch face on Processing 3.5.4, it runs perfectly as an APK and it is a clock app. I try to use this app on my SmartWatch as a watch face. Processing provides t…

---

## [How can I transfer REAL-TIME data between Android and PC?](https://discourse.processing.org/t/how-can-i-transfer-real-time-data-between-android-and-pc/21929)

<div class="topic-metadata">

**Author:** [@iamjustcurious](https://discourse.processing.org/u/iamjustcurious)\
**Replies:** 3\
**Last updated:** [June 20, 2020, 7:58pm UTC](https://discourse.processing.org/t/how-can-i-transfer-real-time-data-between-android-and-pc/21929 "2020-06-20T19:58:37Z")

</div>

Hi. So basically I want to transfer real-time data(string, int, boolean…) between Android sketch and PC(laptop) sketch. How can I do it?

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

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