# Processing for Android

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

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

**Page:** 30

---

## [Can't build, gradle errors](https://discourse.processing.org/t/cant-build-gradle-errors/4197)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 0\
**Last updated:** [October 6, 2018, 6:48pm UTC](https://discourse.processing.org/t/cant-build-gradle-errors/4197 "2018-10-06T18:48:55Z")

</div>

I’m trying to setup android mode, but I’m having a problem compiling my first sketch. https://pastebin.com/rNvd3J82 here is the console output It seems aidl is missing and gradle isn’t finding the right files? A quic…

---

## [saveStrings() works but it shouldn't - or should it?](https://discourse.processing.org/t/savestrings-works-but-it-shouldnt-or-should-it/3802)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 4\
**Last updated:** [October 6, 2018, 1:37pm UTC](https://discourse.processing.org/t/savestrings-works-but-it-shouldnt-or-should-it/3802 "2018-10-06T13:37:02Z")

</div>

My app, which was originally programmed for Windows, uses loadStrings() and saveStrings() to save its settings. Under Processing for Android, I would have expected that saveStrings() doesn’t work (after reading https://f…

---

## [Update asset, rebuild quickly - gradle command line for that?](https://discourse.processing.org/t/update-asset-rebuild-quickly-gradle-command-line-for-that/4114)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 2\
**Last updated:** [October 5, 2018, 7:58pm UTC](https://discourse.processing.org/t/update-asset-rebuild-quickly-gradle-command-line-for-that/4114 "2018-10-05T19:58:51Z")

</div>

Does anybody know the command line to repeat the build process for a temporary build directory (found on disk after “Run in emulator”)? The Processing for Android site states unter ‘What’s new in version 4’: “The export …

---

## [GUI Library recomendation](https://discourse.processing.org/t/gui-library-recomendation/4157)

<div class="topic-metadata">

**Author:** [@pfuentes](https://discourse.processing.org/u/pfuentes)\
**Replies:** 3\
**Last updated:** [October 5, 2018, 4:11pm UTC](https://discourse.processing.org/t/gui-library-recomendation/4157 "2018-10-05T16:11:51Z")

</div>

Hello, I’m new to processing and have been taking a look at the libraries, ControlP5 and G4P to make GUIs. These libraries don’t seem to be updated for a long time. Could someone recommend me a library where to make mo…

---

## [Updating an array list with new items only](https://discourse.processing.org/t/updating-an-array-list-with-new-items-only/4047)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 3\
**Last updated:** [October 4, 2018, 9:55am UTC](https://discourse.processing.org/t/updating-an-array-list-with-new-items-only/4047 "2018-10-04T09:55:16Z")

</div>

could anyone please advise me on the best way to update an array list by adding only the new items(items which are not on the list already) which appear on another list? the problem i am having is that the order in which…

---

## [Processing export for iOS](https://discourse.processing.org/t/processing-export-for-ios/4044)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 6\
**Last updated:** [October 2, 2018, 5:42pm UTC](https://discourse.processing.org/t/processing-export-for-ios/4044 "2018-10-02T17:42:25Z")

</div>

Is it possible to export to iOS applications or .apk for android? I am developing a project that has a lot of potential to be inside an iPad or a conventional tablet. Or some way to compile this in other framework. Be…

---

## [Local wifi Network on Android](https://discourse.processing.org/t/local-wifi-network-on-android/3861)

<div class="topic-metadata">

**Author:** [@Aaron](https://discourse.processing.org/u/Aaron)\
**Replies:** 1\
**Last updated:** [October 1, 2018, 5:28am UTC](https://discourse.processing.org/t/local-wifi-network-on-android/3861 "2018-10-01T05:28:21Z")

</div>

Hi, im new to processing but i already made a little offline game. I want to make a server within a Mobilephone and make it possible to play together with other users of the app locally via a wifi hotspot of the hosting…

---

## [Smooth() for android](https://discourse.processing.org/t/smooth-for-android/3909)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 9\
**Last updated:** [September 28, 2018, 12:19pm UTC](https://discourse.processing.org/t/smooth-for-android/3909 "2018-09-28T12:19:21Z")

</div>

Is it possible to get the smooth() function to work on processing for android? all my graphics have non-smooth edges whether i use the function or not. if not is there any other way i can anti alias my graphics? thanks.

---

## [Get accelerometer free from the frame-rate](https://discourse.processing.org/t/get-accelerometer-free-from-the-frame-rate/3866)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 10:59pm UTC](https://discourse.processing.org/t/get-accelerometer-free-from-the-frame-rate/3866 "2018-09-26T22:59:13Z")

</div>

Hi there! May i ask a help to understand how to get accelerometer free from frame-rate? Currently i using it as the tutorial below teach, I need sensor to drive sound fx, my currently framerate is only 16 fps and i can…

---

## [How can I make wired communication(Serial) with my smartphone and Arduino?](https://discourse.processing.org/t/how-can-i-make-wired-communication-serial-with-my-smartphone-and-arduino/3889)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [September 27, 2018, 7:05am UTC](https://discourse.processing.org/t/how-can-i-make-wired-communication-serial-with-my-smartphone-and-arduino/3889 "2018-09-27T07:05:06Z")

</div>

How can I make wired communication (Serial) with my smartphone and Arduino? \[Processing android mode\] I want to make serial communication through a processing tool (at android mode). Please let me know about example c…

---

## [Open Source project](https://discourse.processing.org/t/open-source-project/3888)

<div class="topic-metadata">

**Author:** [@prajurock](https://discourse.processing.org/u/prajurock)\
**Replies:** 3\
**Last updated:** [September 27, 2018, 6:10am UTC](https://discourse.processing.org/t/open-source-project/3888 "2018-09-27T06:10:18Z")

</div>

How to get open source project.

---

## [Problem with running processing android app in external device](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806)

<div class="topic-metadata">

**Author:** [@megaMind432](https://discourse.processing.org/u/megaMind432)\
**Replies:** 2\
**Last updated:** [September 25, 2018, 1:47pm UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806 "2018-09-25T13:47:09Z")

</div>

Howdy, I’m trying to build a simple App in processing and run it on my device samsung… In procesing console I am getting the following error. I’m not even sure what information would be useful in debugging this. Can y…

---

## [Restart sketch for keyboard event](https://discourse.processing.org/t/restart-sketch-for-keyboard-event/3357)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 18\
**Last updated:** [September 24, 2018, 2:25pm UTC](https://discourse.processing.org/t/restart-sketch-for-keyboard-event/3357 "2018-09-24T14:25:52Z")

</div>

My code has a function that opens and closes the keyboard. I want it to be so that the sketch restarts or at least the dimensions change. I’m happy to provide more info if anybody needs.

---

## [Simple send and receive via bluetooth](https://discourse.processing.org/t/simple-send-and-receive-via-bluetooth/3788)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 1\
**Last updated:** [September 24, 2018, 2:22pm UTC](https://discourse.processing.org/t/simple-send-and-receive-via-bluetooth/3788 "2018-09-24T14:22:56Z")

</div>

Hi there. I am trying to talk to my arduino from my android device via bluetooth.ideally i would like to be able to send data via serial like in the desktop processing environment but i have not yet found a way to do thi…

---

## [Emulator - Access to "Download phone system image?" window](https://discourse.processing.org/t/emulator-access-to-download-phone-system-image-window/3782)

<div class="topic-metadata">

**Author:** [@Markus](https://discourse.processing.org/u/Markus)\
**Replies:** 3\
**Last updated:** [September 24, 2018, 1:25pm UTC](https://discourse.processing.org/t/emulator-access-to-download-phone-system-image-window/3782 "2018-09-24T13:25:45Z")

</div>

Followed … tutorials/getting\_started … Reached “Download phone system image?” window. Download failed - of course not Processing’s fault. Problem now: When I restart Processing, this window will not show up again. …

---

## [Playing Video in Android mode](https://discourse.processing.org/t/playing-video-in-android-mode/3476)

<div class="topic-metadata">

**Author:** [@philspitler](https://discourse.processing.org/u/philspitler)\
**Replies:** 15\
**Last updated:** [September 19, 2018, 6:34pm UTC](https://discourse.processing.org/t/playing-video-in-android-mode/3476 "2018-09-19T18:34:26Z")

</div>

hi, I want to play a video in Android mode, I believe there used to be a library to do this but I read that it’s no longer supported. There is a partial thread here. But it doesn’t seem to have a final solution. Are…

---

## [Android Mode emulator disconnect](https://discourse.processing.org/t/android-mode-emulator-disconnect/3611)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 7:26am UTC](https://discourse.processing.org/t/android-mode-emulator-disconnect/3611 "2018-09-18T07:26:29Z")

</div>

When sending a sketch to emulator I keep getting a message that the emulator connection broke before completing. Is there a timer that can be adjusted please?

---

## [Does G4P library work with Android Mode](https://discourse.processing.org/t/does-g4p-library-work-with-android-mode/3610)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 7:18am UTC](https://discourse.processing.org/t/does-g4p-library-work-with-android-mode/3610 "2018-09-18T07:18:39Z")

</div>

Does anybody know if G4P library works with Android Mode please, I get a string of errors when sending sketch to emulator.

---

## [Can't add more than 30 pictures in my program ( android mode )](https://discourse.processing.org/t/cant-add-more-than-30-pictures-in-my-program-android-mode/3621)

<div class="topic-metadata">

**Author:** [@Stallos](https://discourse.processing.org/u/Stallos)\
**Replies:** 1\
**Last updated:** [September 18, 2018, 1:01am UTC](https://discourse.processing.org/t/cant-add-more-than-30-pictures-in-my-program-android-mode/3621 "2018-09-18T01:01:56Z")

</div>

Hello, I have a problem ! I’m trying to develop an android game with precessing using the android mode. All was going fine, and I could use the preview on my phone, but now, since I added my 30th picture in my program,…

---

## [loadStrings problem \[2\]. Throwing nullPointer?](https://discourse.processing.org/t/loadstrings-problem-2-throwing-nullpointer/3569)

<div class="topic-metadata">

**Author:** [@marcg](https://discourse.processing.org/u/marcg)\
**Replies:** 15\
**Last updated:** [September 17, 2018, 5:03pm UTC](https://discourse.processing.org/t/loadstrings-problem-2-throwing-nullpointer/3569 "2018-09-17T17:03:53Z")

</div>

So my last thread was all about networking in android, not really about loadStrings. This thread is. In my MainActivity I’m trying to use the loadStrings function inside a new thread; Thread thread = new Thread(new Run…

---

## [loadStrings from url not working in Android?](https://discourse.processing.org/t/loadstrings-from-url-not-working-in-android/3529)

<div class="topic-metadata">

**Author:** [@marcg](https://discourse.processing.org/u/marcg)\
**Replies:** 3\
**Last updated:** [September 16, 2018, 10:20am UTC](https://discourse.processing.org/t/loadstrings-from-url-not-working-in-android/3529 "2018-09-16T10:20:41Z")

</div>

Hi guys! So I’m developing a small app in Android, and one activity Is made in processing. I thought that going from processing to android is easy, but I got some problems, maily that I can’t use the loadStrings function…

---

## [Oculus Go - How to disable cardboard splash screen?](https://discourse.processing.org/t/oculus-go-how-to-disable-cardboard-splash-screen/3503)

<div class="topic-metadata">

**Author:** [@Zweihander11](https://discourse.processing.org/u/Zweihander11)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 11:55am UTC](https://discourse.processing.org/t/oculus-go-how-to-disable-cardboard-splash-screen/3503 "2018-09-13T11:55:51Z")

</div>

Hi everyone! I’m a beginner who’s trying to build a sketch to play around with the Oculus Go, and so far so good, it builds and runs but when I enable STEREO fullscreen the app starts with the cardboard splash screen wh…

---

## [Porting sketch to Android Studio - Problem with request permission](https://discourse.processing.org/t/porting-sketch-to-android-studio-problem-with-request-permission/3454)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 5\
**Last updated:** [September 11, 2018, 11:17am UTC](https://discourse.processing.org/t/porting-sketch-to-android-studio-problem-with-request-permission/3454 "2018-09-11T11:17:13Z")

</div>

I am porting a sketch to Android Studio. The problem is: In setup() i have requestPermissons(…) In Android studio this doesn’t work, my app quits. So i tried to change to ActivityCompat.requestPermissions(this, new St…

---

## [super.onSaveInstanceState does not exist](https://discourse.processing.org/t/super-onsaveinstancestate-does-not-exist/3251)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 13\
**Last updated:** [September 6, 2018, 2:54pm UTC](https://discourse.processing.org/t/super-onsaveinstancestate-does-not-exist/3251 "2018-09-06T14:54:04Z")

</div>

I’m making an app which has multiple pages, and I’m overriding onSaveInstanceState to save across rotation. But then, I get the error “The function onSaveInstanceState(Bundle) does not exist”. My code is public void onS…

---

## [Flip Mirror the screen, Android Mode VR](https://discourse.processing.org/t/flip-mirror-the-screen-android-mode-vr/3309)

<div class="topic-metadata">

**Author:** [@Yarosia](https://discourse.processing.org/u/Yarosia)\
**Replies:** 1\
**Last updated:** [September 6, 2018, 10:00am UTC](https://discourse.processing.org/t/flip-mirror-the-screen-android-mode-vr/3309 "2018-09-06T10:00:36Z")

</div>

Hello, i have a pair of AR Glasses to put my smartphone in. The glasses have translucid lens which reflects the screen of my phone. I would like to create a VR app, but i need to flip mirror the entire content of the si…

---

## [I can't describe what's my problem](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289)

<div class="topic-metadata">

**Author:** [@Kayno](https://discourse.processing.org/u/Kayno)\
**Replies:** 4\
**Last updated:** [September 6, 2018, 9:01am UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289 "2018-09-06T09:01:54Z")

</div>

Hi, I’m creating an app for fun on my phone and I got that… :

---

## [Get orientation in VR mode?](https://discourse.processing.org/t/get-orientation-in-vr-mode/3260)

<div class="topic-metadata">

**Author:** [@jetjaguar](https://discourse.processing.org/u/jetjaguar)\
**Replies:** 2\
**Last updated:** [September 5, 2018, 10:47pm UTC](https://discourse.processing.org/t/get-orientation-in-vr-mode/3260 "2018-09-05T22:47:54Z")

</div>

Hey everybody! I’d like to get whatever my orientation is while in VR mode. I don’t mean just landscape or portrait but the exact azimuth, e.g. -PI to PI. I know how to get my orientation via the compass example, but t…

---

## [Distributing debug builds - ok?](https://discourse.processing.org/t/distributing-debug-builds-ok/3172)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 1:43pm UTC](https://discourse.processing.org/t/distributing-debug-builds-ok/3172 "2018-09-02T13:43:24Z")

</div>

After “run sketch in emulator”, the temporary build folder (named at beginning of build process) contains an apk in the app\\build\\outputs\\apk\\debug subdirectory. Is there any reason why developers who are not interested …

---

## [Sending SMS from Android](https://discourse.processing.org/t/sending-sms-from-android/1507)

<div class="topic-metadata">

**Author:** [@rajiv.tctech](https://discourse.processing.org/u/rajiv.tctech)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 1:10pm UTC](https://discourse.processing.org/t/sending-sms-from-android/1507 "2018-09-01T13:10:56Z")

</div>

How can my Android Processing app send SMS from the Android device?

---

## [What is the Processing "Temp" folder?](https://discourse.processing.org/t/what-is-the-processing-temp-folder/3097)

<div class="topic-metadata">

**Author:** [@aradarbel10](https://discourse.processing.org/u/aradarbel10)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 11:40am UTC](https://discourse.processing.org/t/what-is-the-processing-temp-folder/3097 "2018-09-01T11:40:33Z")

</div>

Hello, I had an error while building a project in android mode, says the directory contains non ASCII characters. that is correct, the user folder in my windows machine contains non ASCII characters and actually I don’t…

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

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