# Processing for Android

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

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

**Page:** 29

---

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

<div class="topic-metadata">

**Author:** [@shedMusic](https://discourse.processing.org/u/shedMusic)\
**Replies:** 9\
**Last updated:** [October 16, 2018, 8:33pm UTC](https://discourse.processing.org/t/video-in-android-mode/1498 "2018-10-16T20:33:05Z")

</div>

… this takes over and continues from the thread at the old forum @flashbacker The line … afd = context.getAssets().openFd(“machine\_compr.mp4”); generates a file error for me too if the video is in the project fol…

---

## [Can I show web pages in Android mode?](https://discourse.processing.org/t/can-i-show-web-pages-in-android-mode/3972)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 10:22am UTC](https://discourse.processing.org/t/can-i-show-web-pages-in-android-mode/3972 "2018-11-14T10:22:06Z")

</div>

Can I show web pages in Android mode? How do I view a web page? I want to show the web page in Android mode. Is this possible through processing? Example source code, or how to do it. please.

---

## [Soft keyboard seems to hang app](https://discourse.processing.org/t/soft-keyboard-seems-to-hang-app/5165)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 12\
**Last updated:** [November 13, 2018, 4:02pm UTC](https://discourse.processing.org/t/soft-keyboard-seems-to-hang-app/5165 "2018-11-13T16:02:26Z")

</div>

A user has informed me that Android’s soft keyboard and my app hang (probably means stop reacting) when my app opens the soft keyboard. What could be the issue with using the soft keyboard, has anybody ever had problems …

---

## [Beginner app developer](https://discourse.processing.org/t/beginner-app-developer/5483)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.processing.org/u/beginner)\
**Replies:** 1\
**Last updated:** [November 12, 2018, 8:43pm UTC](https://discourse.processing.org/t/beginner-app-developer/5483 "2018-11-12T20:43:57Z")

</div>

I am a complete beginner in the android application development. I wanted to create an interactive application for little children with pictures and sounds. What is the best way to begin? Should i use processing for andr…

---

## [Editing ketai library](https://discourse.processing.org/t/editing-ketai-library/5342)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 7\
**Last updated:** [November 8, 2018, 1:15pm UTC](https://discourse.processing.org/t/editing-ketai-library/5342 "2018-11-08T13:15:25Z")

</div>

I have been using the Ketai library and in particular the motionEvents. they work fine but every time i touch the screen i get “motionEvent called inside kgesture KGesture got a MotionEvent!” printed to the terminal. th…

---

## [Error with Licence agreements](https://discourse.processing.org/t/error-with-licence-agreements/767)

<div class="topic-metadata">

**Author:** [@martinstacey](https://discourse.processing.org/u/martinstacey)\
**Replies:** 5\
**Last updated:** [November 6, 2018, 2:30pm UTC](https://discourse.processing.org/t/error-with-licence-agreements/767 "2018-11-06T14:30:24Z")

</div>

Does any body get this error when running your app? how do you solve this??? You have not accepted the license agreements of the following SDK components: \[Android SDK Build-Tools 26.0.2\]. Before building your projec…

---

## [Grey is not grey](https://discourse.processing.org/t/grey-is-not-grey/5220)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 5\
**Last updated:** [November 6, 2018, 12:22am UTC](https://discourse.processing.org/t/grey-is-not-grey/5220 "2018-11-06T00:22:01Z")

</div>

Current Processing 3, current Android mode: App renders 3 rects with shades of grey and some alpha over each other (FFB0B0B0 under FF909090 under 10FFFFFF) On-screen result should be pure grey - and it is under Windows…

---

## [A working sound playing app sketch - works as of May 27 2018](https://discourse.processing.org/t/a-working-sound-playing-app-sketch-works-as-of-may-27-2018/451)

<div class="topic-metadata">

**Author:** [@gpteacher](https://discourse.processing.org/u/gpteacher)\
**Replies:** 18\
**Last updated:** [August 19, 2018, 11:29am UTC](https://discourse.processing.org/t/a-working-sound-playing-app-sketch-works-as-of-may-27-2018/451 "2018-08-19T11:29:14Z")

</div>

Thanks to ‘kfrajer’ for his help in getting sound files to play in an Android app created with Processing. Much appreciated! Here’s a sketch that demonstrates how to do it: // works with Processing 3.3.7 as of May 27 2…

---

## [Centered dot not centered?!](https://discourse.processing.org/t/centered-dot-not-centered/5077)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 11\
**Last updated:** [November 1, 2018, 8:37pm UTC](https://discourse.processing.org/t/centered-dot-not-centered/5077 "2018-11-01T20:37:11Z")

</div>

The code below renders rectangular checkboxes: Dots centered in frames. I think the code should produce a symmetrical result (prefectly centered dot; equal distance between frame and dot on all sides) but it doesn’t: T…

---

## [Java ftp android library](https://discourse.processing.org/t/java-ftp-android-library/4902)

<div class="topic-metadata">

**Author:** [@martinstacey](https://discourse.processing.org/u/martinstacey)\
**Replies:** 2\
**Last updated:** [October 29, 2018, 1:49pm UTC](https://discourse.processing.org/t/java-ftp-android-library/4902 "2018-10-29T13:49:27Z")

</div>

Does anybody know of a simple ftp library for download and uploads files to use in android, with an example of how to use it, I have been stuck in this for a while

---

## [Getting pixels array](https://discourse.processing.org/t/getting-pixels-array/4872)

<div class="topic-metadata">

**Author:** [@red\_333](https://discourse.processing.org/u/red_333)\
**Replies:** 2\
**Last updated:** [October 26, 2018, 10:09am UTC](https://discourse.processing.org/t/getting-pixels-array/4872 "2018-10-26T10:09:47Z")

</div>

I’ve been trying to access the pixels\[\] array of the background, but loadPixels() returns the error: The pixels array is not available in this renderer withouth a backing bitmap. I’ve also tried to use get() but it retur…

---

## [How to invoke the P2DX rendering](https://discourse.processing.org/t/how-to-invoke-the-p2dx-rendering/4597)

<div class="topic-metadata">

**Author:** [@xaracen](https://discourse.processing.org/u/xaracen)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 6:53am UTC](https://discourse.processing.org/t/how-to-invoke-the-p2dx-rendering/4597 "2018-10-25T06:53:42Z")

</div>

Hi, I have a processing sketch built via Processing 3.3.7/8 in Windows under Android Mode. It basically displays a live pulse waveform from Bluetooth data received from a sensor module. It works just fine on most Android…

---

## [FIXED (mysteriously): Processing IDE hangs on switching to Android mode](https://discourse.processing.org/t/fixed-mysteriously-processing-ide-hangs-on-switching-to-android-mode/4761)

<div class="topic-metadata">

**Author:** [@oolong](https://discourse.processing.org/u/oolong)\
**Replies:** 0\
**Last updated:** [October 22, 2018, 7:35pm UTC](https://discourse.processing.org/t/fixed-mysteriously-processing-ide-hangs-on-switching-to-android-mode/4761 "2018-10-22T19:35:06Z")

</div>

Transient bug: The first two times I tried to switch to Android mode after downloading Processing 3.3.6, it immediately hung. It got as far as saying it couldn’t find the SDK, then none of the windows responded any more …

---

## [Daydream VR Controller Support](https://discourse.processing.org/t/daydream-vr-controller-support/4732)

<div class="topic-metadata">

**Author:** [@RockyHawk](https://discourse.processing.org/u/RockyHawk)\
**Replies:** 0\
**Last updated:** [October 22, 2018, 2:10am UTC](https://discourse.processing.org/t/daydream-vr-controller-support/4732 "2018-10-22T02:10:49Z")

</div>

I have started a VR project with processing, and I’m using a google daydream headset. Is there a way to use the daydream controller on the screen being able to point at things and click buttons for example? If there isn’…

---

## [Detecting jpeg rotation](https://discourse.processing.org/t/detecting-jpeg-rotation/4677)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 0\
**Last updated:** [October 20, 2018, 9:16am UTC](https://discourse.processing.org/t/detecting-jpeg-rotation/4677 "2018-10-20T09:16:16Z")

</div>

Hi! I have a photo that is displayed as portrait on my phone, but processing interprets it as landscape. It seems processing (at least processing for android) does not read the “rotation” flag from the jpeg file. I can…

---

## [Apk not working](https://discourse.processing.org/t/apk-not-working/4643)

<div class="topic-metadata">

**Author:** [@Quix](https://discourse.processing.org/u/Quix)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 4:17pm UTC](https://discourse.processing.org/t/apk-not-working/4643 "2018-10-19T16:17:07Z")

</div>

hi, i tried to export signed app but when i put the apk file on my phone i can’t open it

---

## [How to access the inbuilt adb server of Processing Android?](https://discourse.processing.org/t/how-to-access-the-inbuilt-adb-server-of-processing-android/4627)

<div class="topic-metadata">

**Author:** [@rajduino](https://discourse.processing.org/u/rajduino)\
**Replies:** 0\
**Last updated:** [October 19, 2018, 9:37am UTC](https://discourse.processing.org/t/how-to-access-the-inbuilt-adb-server-of-processing-android/4627 "2018-10-19T09:37:48Z")

</div>

So I am using Processing in Android mode, everything is fine… but using USB debugging is so last generation!! So I found that you can use ADB over TCPIP and you can establish the connection using ADB from your terminal, …

---

## [Adb not working, looking for ant](https://discourse.processing.org/t/adb-not-working-looking-for-ant/4475)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 11:56pm UTC](https://discourse.processing.org/t/adb-not-working-looking-for-ant/4475 "2018-10-17T23:56:34Z")

</div>

I love these cryptic names for packages related to android. I use Android Studio and Processing. Android Studio started misbehaving about the same time that google started bugging me to upgrade. I finally gave in and …

---

## [oscP5 library, sending data with network](https://discourse.processing.org/t/oscp5-library-sending-data-with-network/3244)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 23\
**Last updated:** [October 16, 2018, 12:40pm UTC](https://discourse.processing.org/t/oscp5-library-sending-data-with-network/3244 "2018-10-16T12:40:11Z")

</div>

Hello, Is there a way to send a csv file about 200KB within oscP5 library? Does someone know a similar programm about sending these files from an Android phone to a Pc through processing? Thanks

---

## [\[SOLVED\] How to install android sdk](https://discourse.processing.org/t/solved-how-to-install-android-sdk/4514)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 1\
**Last updated:** [October 16, 2018, 1:40am UTC](https://discourse.processing.org/t/solved-how-to-install-android-sdk/4514 "2018-10-16T01:40:26Z")

</div>

I am having trouble installing the android sdk automatically, and when I tried to download it manually from the android website, processing couldn’t find an sdk in the folder. Am i supposed to run a file from the sdk fol…

---

## [\[SOLVED\] Build for android fail (windows)](https://discourse.processing.org/t/solved-build-for-android-fail-windows/3805)

<div class="topic-metadata">

**Author:** [@Bunnygamers](https://discourse.processing.org/u/Bunnygamers)\
**Replies:** 3\
**Last updated:** [October 14, 2018, 1:52pm UTC](https://discourse.processing.org/t/solved-build-for-android-fail-windows/3805 "2018-10-14T13:52:25Z")

</div>

When I try to build or run on device for android with processing 3 android mode, I don’t have problems with: void draw() { println(“test”) } but i do with: int cr = 255; int cb = 255; int cg = 255; int nb = 0; …

---

## [Http.requests.\* handle connection refused](https://discourse.processing.org/t/http-requests-handle-connection-refused/4281)

<div class="topic-metadata">

**Author:** [@mano1979](https://discourse.processing.org/u/mano1979)\
**Replies:** 11\
**Last updated:** [October 12, 2018, 10:31am UTC](https://discourse.processing.org/t/http-requests-handle-connection-refused/4281 "2018-10-12T10:31:36Z")

</div>

I am writing a little program to search all ip adresses in my network for an appropriate respons. But the ip addresses that do not have any server or service running give an error and even worse, it takes very long unti…

---

## [Creating class variations using implements](https://discourse.processing.org/t/creating-class-variations-using-implements/4328)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 3\
**Last updated:** [October 11, 2018, 8:45am UTC](https://discourse.processing.org/t/creating-class-variations-using-implements/4328 "2018-10-11T08:45:45Z")

</div>

I would like to create a variation of a class i have written and extends works well but i am limited to using it only once for some strange reason. i have been looking at implements as advised but i cant seem to get my h…

---

## [netP5 (TCP/IP) and correct way to exit app?](https://discourse.processing.org/t/netp5-tcp-ip-and-correct-way-to-exit-app/4260)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 0\
**Last updated:** [October 8, 2018, 9:13pm UTC](https://discourse.processing.org/t/netp5-tcp-ip-and-correct-way-to-exit-app/4260 "2018-10-08T21:13:21Z")

</div>

I anybody using netP5 from OSC5 package for TCP/IP under Android? I’m having some stabiliy issues with it. Specifically on exit: Sometimes, my app crashes on exit. I can see in Processing’s console that some code of netP…

---

## [Android Widget Usage](https://discourse.processing.org/t/android-widget-usage/4302)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 6\
**Last updated:** [October 10, 2018, 4:58pm UTC](https://discourse.processing.org/t/android-widget-usage/4302 "2018-10-10T16:58:38Z")

</div>

Hy everyone, I am trying to use android widgets in my app, however I don’t know exactly how activity, context, ect. works. At the moment I have this code: //imports import android.app.Activity; import android.content.Co…

---

## [Python mode for Android](https://discourse.processing.org/t/python-mode-for-android/4310)

<div class="topic-metadata">

**Author:** [@redboot](https://discourse.processing.org/u/redboot)\
**Replies:** 0\
**Last updated:** [October 10, 2018, 2:02am UTC](https://discourse.processing.org/t/python-mode-for-android/4310 "2018-10-10T02:02:28Z")

</div>

Is there any way to use Python mode for Android development?

---

## [Unexcepted char \\](https://discourse.processing.org/t/unexcepted-char/4236)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 9:44am UTC](https://discourse.processing.org/t/unexcepted-char/4236 "2018-10-08T09:44:37Z")

</div>

Hello everyone.i have code,that encodes image to file with very small size…but it has bug,so output very buggy…but my question not that…on pc that code works fine,but on android its showing error see title of post on lin…

---

## [Virtual Keyboard doesn't work](https://discourse.processing.org/t/virtual-keyboard-doesnt-work/3445)

<div class="topic-metadata">

**Author:** [@kat](https://discourse.processing.org/u/kat)\
**Replies:** 8\
**Last updated:** [October 8, 2018, 4:05am UTC](https://discourse.processing.org/t/virtual-keyboard-doesnt-work/3445 "2018-10-08T04:05:28Z")

</div>

Hi all! I’m using Android Processing and I’m trying to use the virtual keyboard to type things into a text field from cp5 for a search bar. When I tap the text field, the keyboard shows up like I want it to, and if I m…

---

## [Advantage of Processing Android?](https://discourse.processing.org/t/advantage-of-processing-android/4095)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 3\
**Last updated:** [October 7, 2018, 3:22pm UTC](https://discourse.processing.org/t/advantage-of-processing-android/4095 "2018-10-07T15:22:12Z")

</div>

Hello there, I am new to android development, however I already worked with processing. Processing needs to run the code each frame and draw everything every time, is a little bit resource consumable, no? My question i…

---

## [mouseClicked() not working](https://discourse.processing.org/t/mouseclicked-not-working/4004)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 4\
**Last updated:** [October 6, 2018, 9:00pm UTC](https://discourse.processing.org/t/mouseclicked-not-working/4004 "2018-10-06T21:00:55Z")

</div>

Why mouseClicked() not working on APDE? Im using APDE 0.5.0 Code: https://pastebin.com/91wyHgzY

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

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