# Processing for Android

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

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

**Page:** 21

---

## [Error with package export](https://discourse.processing.org/t/error-with-package-export/16452)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 4\
**Last updated:** [December 17, 2019, 2:36am UTC](https://discourse.processing.org/t/error-with-package-export/16452 "2019-12-17T02:36:05Z")

</div>

Hi! I’m trying to export a Signed Package of my Sketch, in order to publish in Google Play Store, but I get error and the process fails. I have done all the things that can be done, the icons, etc. I writed the password…

---

## [Which jar should I be using?](https://discourse.processing.org/t/which-jar-should-i-be-using/16412)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 4\
**Last updated:** [December 15, 2019, 8:50pm UTC](https://discourse.processing.org/t/which-jar-should-i-be-using/16412 "2019-12-15T20:50:02Z")

</div>

I keep running into errors that involve Processing functions when I try to port to Android. I use Android Studio and use the Processing IDE to export an Android project, then take the sketch code and insert it into a fr…

---

## [saveFrame in Android (code share)](https://discourse.processing.org/t/saveframe-in-android-code-share/16371)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 1:38pm UTC](https://discourse.processing.org/t/saveframe-in-android-code-share/16371 "2019-12-13T13:38:04Z")

</div>

The saveFrame function does not work on Android. Here is a workaround. import android.os.Environment; int tel = 0, x; boolean no\_loop = true; String my\_folder = "my\_frames"; // Must be an existing folder one level ab…

---

## [Interstitial AdMob Ads](https://discourse.processing.org/t/interstitial-admob-ads/5583)

<div class="topic-metadata">

**Author:** [@MatterLinx](https://discourse.processing.org/u/MatterLinx)\
**Replies:** 5\
**Last updated:** [December 5, 2019, 1:58pm UTC](https://discourse.processing.org/t/interstitial-admob-ads/5583 "2019-12-05T13:58:53Z")

</div>

Hello everyone, I’m trying to implement interstitial ads into my app. I have banner ads working properly, but when I tried to implement interstitial ads, my app crashes when trying to show the ad. I used this tutorial …

---

## [Implementing ads with admob](https://discourse.processing.org/t/implementing-ads-with-admob/2935)

<div class="topic-metadata">

**Author:** [@Boti](https://discourse.processing.org/u/Boti)\
**Replies:** 11\
**Last updated:** [December 5, 2019, 12:43am UTC](https://discourse.processing.org/t/implementing-ads-with-admob/2935 "2019-12-05T00:43:12Z")

</div>

Hello everyone, I followed these tutorials to add admob ads to my processing sketch: https://forum.processing.org/two/discussion/16686/how-to-add-admob I couldn’t put the second link here because of new user limitatio…

---

## [\[Project\] Processing for Android Project](https://discourse.processing.org/t/project-processing-for-android-project/16104)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 8:43am UTC](https://discourse.processing.org/t/project-processing-for-android-project/16104 "2019-12-04T08:43:24Z")

</div>

Receive data from the database Login and Membership Environment UI CCTV interlocking Set data values Graph display Electric control

---

## [How to write to file](https://discourse.processing.org/t/how-to-write-to-file/16096)

<div class="topic-metadata">

**Author:** [@Asra](https://discourse.processing.org/u/Asra)\
**Replies:** 4\
**Last updated:** [December 4, 2019, 8:16am UTC](https://discourse.processing.org/t/how-to-write-to-file/16096 "2019-12-04T08:16:25Z")

</div>

I have two ArrayLists and I am writing them to a file, though it is not working and the file is not changed. here is my code for writing the list to a file. void save(){ String\[\] save = new String\[10\]; for(int i = 0…

---

## [What devices will this work with?](https://discourse.processing.org/t/what-devices-will-this-work-with/15073)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 28\
**Last updated:** [December 1, 2019, 12:30am UTC](https://discourse.processing.org/t/what-devices-will-this-work-with/15073 "2019-12-01T00:30:32Z")

</div>

Can the apps be installed on older devices like Nook, or Amazon Fire tablets directly with USB transfer? Or do they have to go through the Google play store?

---

## [Changing WiFi network on Android](https://discourse.processing.org/t/changing-wifi-network-on-android/12352)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 8\
**Last updated:** [November 30, 2019, 9:48am UTC](https://discourse.processing.org/t/changing-wifi-network-on-android/12352 "2019-11-30T09:48:41Z")

</div>

Hi! I need to change my WiFi network in my app, but I don’t know how. Can you tell me how? If I haven’t searched enough, it’s okay if you let me know. Thanks!

---

## [Checkboxes Processing for Android (multiple choices)](https://discourse.processing.org/t/checkboxes-processing-for-android-multiple-choices/15828)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 2\
**Last updated:** [November 29, 2019, 11:57am UTC](https://discourse.processing.org/t/checkboxes-processing-for-android-multiple-choices/15828 "2019-11-29T11:57:09Z")

</div>

Short function code below, can be very handy to change items in your Android’s Processing sketch. Again build on Alert Dialog Interface. Please, comment if any error. Tested on KitKat 4.4 and Lollipop 5.1 import andr…

---

## [Radio buttons Processing for Android (single choice)](https://discourse.processing.org/t/radio-buttons-processing-for-android-single-choice/15829)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 2\
**Last updated:** [November 29, 2019, 11:51am UTC](https://discourse.processing.org/t/radio-buttons-processing-for-android-single-choice/15829 "2019-11-29T11:51:23Z")

</div>

Following short code, can be useful in your Android’s Processing sketch. Please comment if any error. import android.content.DialogInterface; import android.app.Activity; import android.app.AlertDialog; CharSequence\[\]…

---

## [Google Sign-In and Processing Android](https://discourse.processing.org/t/google-sign-in-and-processing-android/15788)

<div class="topic-metadata">

**Author:** [@ssdesign](https://discourse.processing.org/u/ssdesign)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 10:08am UTC](https://discourse.processing.org/t/google-sign-in-and-processing-android/15788 "2019-11-26T10:08:34Z")

</div>

Hi, How can I integrate Google Sign-In when building Processing Android app? I tried searching the forum but could not find any answer to it. Any tips or advice is appreciated. Thanks

---

## [Android studio - Remove action bar](https://discourse.processing.org/t/android-studio-remove-action-bar/15760)

<div class="topic-metadata">

**Author:** [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Replies:** 7\
**Last updated:** [November 25, 2019, 9:33am UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760 "2019-11-25T09:33:59Z")

</div>

When I remove the action bar, only static images remain and updated images are not loaded and or updated in draw(). Any ideas?

---

## [How to load image in Android Studio](https://discourse.processing.org/t/how-to-load-image-in-android-studio/15756)

<div class="topic-metadata">

**Author:** [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Replies:** 3\
**Last updated:** [November 24, 2019, 11:05am UTC](https://discourse.processing.org/t/how-to-load-image-in-android-studio/15756 "2019-11-24T11:05:27Z")

</div>

How do I load an image and where do I place the image file, in which directory? example: public PImage img; public void setup(){ img = loadImage(“image.png”); } public void draw(){ image(img , 0, 0, 64, 64); }

---

## [Can't run emulator make\_ext4fs\_from\_dir](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742)

<div class="topic-metadata">

**Author:** [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Replies:** 7\
**Last updated:** [November 23, 2019, 3:59pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742 "2019-11-23T15:59:32Z")

</div>

cmd: emulator -avd processing-phone error: make\_ext4fs\_from\_dir: open: Permission denied I have the processing-phone under avd in my documents processing folder and the sdk is installed, I also reinstalled I can’t g…

---

## [Glowing ellipse](https://discourse.processing.org/t/glowing-ellipse/15099)

<div class="topic-metadata">

**Author:** [@Yash](https://discourse.processing.org/u/Yash)\
**Replies:** 14\
**Last updated:** [November 23, 2019, 3:35pm UTC](https://discourse.processing.org/t/glowing-ellipse/15099 "2019-11-23T15:35:19Z")

</div>

This is how my sketch (game)looks like.How can i make the ellipse glow and look more appealing? I tried blendmode and understood that doesn’t fit in the game because 1.It takes input as pixels 2.frame rate drops 3…

---

## [Processing 3.5 not detecting Pixel 3 XL](https://discourse.processing.org/t/processing-3-5-not-detecting-pixel-3-xl/15735)

<div class="topic-metadata">

**Author:** [@ssdesign](https://discourse.processing.org/u/ssdesign)\
**Replies:** 1\
**Last updated:** [November 23, 2019, 12:52pm UTC](https://discourse.processing.org/t/processing-3-5-not-detecting-pixel-3-xl/15735 "2019-11-23T12:52:51Z")

</div>

Hi, I am trying to connect Android phone to processing and it does not seem to show up on Processing when I look at : Android \> Devices menu. My Pixel3XL settings: Connected via USB to my MacBook Pro USB preferences:…

---

## [\[Android\] IPcaptue - I/O ERROR : Connection reset :: Why not?](https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [November 23, 2019, 1:35am UTC](https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731 "2019-11-23T01:35:06Z")

</div>

Hi. I want to receive CCTV data as mjpeg. The smartphone works well when connected to WIFI. If you connect to LTE data instead of WIFI, it will stop after transmitting for about 2 seconds. After that, an error messag…

---

## [Trying to resize video from ipCapture - Processing (AndroidMode)](https://discourse.processing.org/t/trying-to-resize-video-from-ipcapture-processing-androidmode/15719)

<div class="topic-metadata">

**Author:** [@Veci](https://discourse.processing.org/u/Veci)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 5:11pm UTC](https://discourse.processing.org/t/trying-to-resize-video-from-ipcapture-processing-androidmode/15719 "2019-11-22T17:11:51Z")

</div>

I am streaming mjpg video over http . It works fine if the resolution of the video I am streaming is the same as the phones resolution (I’m displaying it on the background). The library ipcapture inhereits methods from P…

---

## [Package androidx.appcompat.app](https://discourse.processing.org/t/package-androidx-appcompat-app/15665)

<div class="topic-metadata">

**Author:** [@Murad](https://discourse.processing.org/u/Murad)\
**Replies:** 1\
**Last updated:** [November 21, 2019, 9:22am UTC](https://discourse.processing.org/t/package-androidx-appcompat-app/15665 "2019-11-21T09:22:30Z")

</div>

Good afternoon, you have a very good framework for java OpenGL that allows me to quickly and easily draw anything I want to thank you very much for that, I have one question: will there be an update for processing androi…

---

## [Saving & loading data](https://discourse.processing.org/t/saving-loading-data/15636)

<div class="topic-metadata">

**Author:** [@Chinnah](https://discourse.processing.org/u/Chinnah)\
**Replies:** 1\
**Last updated:** [November 19, 2019, 1:40pm UTC](https://discourse.processing.org/t/saving-loading-data/15636 "2019-11-19T13:40:59Z")

</div>

I am trying to make a simple game with a high score using APDE on my phone, but there is no way i had fond that could help me with that. I have tried using loadBytes() & saveBytes() but every time i leave the game the da…

---

## [Android Studio Question](https://discourse.processing.org/t/android-studio-question/15614)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 11\
**Last updated:** [November 19, 2019, 12:06pm UTC](https://discourse.processing.org/t/android-studio-question/15614 "2019-11-19T12:06:12Z")

</div>

Can somebody tell me, where my main activity is? And also, does somebody know an Android Studio Tutorial? Thanks for your help

---

## [Android license problem](https://discourse.processing.org/t/android-license-problem/15612)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 3\
**Last updated:** [November 18, 2019, 4:10pm UTC](https://discourse.processing.org/t/android-license-problem/15612 "2019-11-18T16:10:51Z")

</div>

I am getting this error, even when i´m trying to start a sketch on my device: Caused by: java.lang.RuntimeException: You have not accepted the license agreements of the following SDK components: \[Android SDK Build-Tools…

---

## [Access Arduino Uno from OTG](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546)

<div class="topic-metadata">

**Author:** [@Hjkl](https://discourse.processing.org/u/Hjkl)\
**Replies:** 2\
**Last updated:** [November 17, 2019, 2:53pm UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546 "2019-11-17T14:53:43Z")

</div>

Hi, I want to receive ultrasonic sensor data and display it in android by OTG. Can anyone give the code please? Thanks in advance

---

## [Out of memory error (Sound problem?)](https://discourse.processing.org/t/out-of-memory-error-sound-problem/9009)

<div class="topic-metadata">

**Author:** [@Banansplitt](https://discourse.processing.org/u/Banansplitt)\
**Replies:** 14\
**Last updated:** [November 16, 2019, 1:57pm UTC](https://discourse.processing.org/t/out-of-memory-error-sound-problem/9009 "2019-11-16T13:57:17Z")

</div>

I think its playing sound that creates the problem, here is the error: at com.jsyn.data.FloatSample.allocate (Unknown Source) at com.jsyn.data.FloatSample.\<init\> (Unknown Source) at com.jsyn.data.FloatSample.\<init\>…

---

## [Android Color Picker](https://discourse.processing.org/t/android-color-picker/15413)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 11:12am UTC](https://discourse.processing.org/t/android-color-picker/15413 "2019-11-12T11:12:00Z")

</div>

This is a simple Color Picker function build by customizing an Alert Dialog box, because it has the advantage of automatic adaptation to different resolutions and densities. Using color convertion between HSB and RGB, I…

---

## [How can I Debug my app in real time?](https://discourse.processing.org/t/how-can-i-debug-my-app-in-real-time/15250)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 3\
**Last updated:** [November 6, 2019, 11:17am UTC](https://discourse.processing.org/t/how-can-i-debug-my-app-in-real-time/15250 "2019-11-06T11:17:01Z")

</div>

Hi, people :wave: ; My app runs well when I try in simulation, but when I’m using it in real time (without the computer), sometimes it crashes and I can’t figure out why… I’d like to create a .txt or something in the t…

---

## [Android Studio trouble w/ declaration in Main Activity](https://discourse.processing.org/t/android-studio-trouble-w-declaration-in-main-activity/15336)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 2\
**Last updated:** [November 10, 2019, 5:26pm UTC](https://discourse.processing.org/t/android-studio-trouble-w-declaration-in-main-activity/15336 "2019-11-10T17:26:42Z")

</div>

Hi, I’m still troubled w/ declarations other than the pure ported/created Processing stuff. I have a running ported App, which I wanted to extend w/ a Background Network task, because networking in the main thread is p…

---

## [Playing audio once on Processing Android](https://discourse.processing.org/t/playing-audio-once-on-processing-android/15032)

<div class="topic-metadata">

**Author:** [@anony](https://discourse.processing.org/u/anony)\
**Replies:** 3\
**Last updated:** [November 7, 2019, 11:36am UTC](https://discourse.processing.org/t/playing-audio-once-on-processing-android/15032 "2019-11-07T11:36:11Z")

</div>

Hi guys! I was trying to play an audio file only once, not il loop. I found Cassette as an android audio library, but it contains only file.loop() and file.stop(). I was trying to create a function which can do this, but…

---

## [Android menu(button) related](https://discourse.processing.org/t/android-menu-button-related/14198)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 13\
**Last updated:** [November 5, 2019, 6:58am UTC](https://discourse.processing.org/t/android-menu-button-related/14198 "2019-11-05T06:58:26Z")

</div>

Good morning. nice to meet you. Like the picture above, the menu bar is basically used in Android. Is there any layout source code like above in processing? Or is there source code to make it like this? Help me ple…

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

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