# Processing for Android

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

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

**Page:** 28

---

## [Run app in background](https://discourse.processing.org/t/run-app-in-background/7070)

<div class="topic-metadata">

**Author:** [@manhnt](https://discourse.processing.org/u/manhnt)\
**Replies:** 1\
**Last updated:** [January 1, 2019, 4:24pm UTC](https://discourse.processing.org/t/run-app-in-background/7070 "2019-01-01T16:24:13Z")

</div>

I want to make app run in background. How can I do that? --\>That means whenever I press the Android multi-tasking button to ACTIVE, app will continue its next action :sweat:

---

## [Libraries with Android Mode](https://discourse.processing.org/t/libraries-with-android-mode/6948)

<div class="topic-metadata">

**Author:** [@Neo](https://discourse.processing.org/u/Neo)\
**Replies:** 8\
**Last updated:** [December 29, 2018, 9:16am UTC](https://discourse.processing.org/t/libraries-with-android-mode/6948 "2018-12-29T09:16:01Z")

</div>

Hi! I searched some answers to my question but I found nothing. So, I’m trying to develop an Android app with the Android Mode on Processing 3.4. It works pretty good but I would try to use librairies into my app. I do…

---

## [Blepdroid Bluetooth BLE and FragmentManager Issue](https://discourse.processing.org/t/blepdroid-bluetooth-ble-and-fragmentmanager-issue/2531)

<div class="topic-metadata">

**Author:** [@PeterO](https://discourse.processing.org/u/PeterO)\
**Replies:** 23\
**Last updated:** [December 27, 2018, 10:31pm UTC](https://discourse.processing.org/t/blepdroid-bluetooth-ble-and-fragmentmanager-issue/2531 "2018-12-27T22:31:48Z")

</div>

This question is regarding a fatal exception error message that occurs when using Blepdroid (a Bluetooth low energy library) with later versions of Processing 3. My tests suggest their may be a bug or unlisted change in …

---

## [File contains a path separator](https://discourse.processing.org/t/file-contains-a-path-separator/6865)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 12\
**Last updated:** [December 27, 2018, 3:57pm UTC](https://discourse.processing.org/t/file-contains-a-path-separator/6865 "2018-12-27T15:57:07Z")

</div>

Hello, I have a problem, that was listed many times on forum two and even here. But my problem is a bit different. I don’t want to save or load anything from the data folder. Instead I want to load a file from anywhere …

---

## [Administrator, when is the latest update of the Ketai library released?](https://discourse.processing.org/t/administrator-when-is-the-latest-update-of-the-ketai-library-released/3890)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 1:52am UTC](https://discourse.processing.org/t/administrator-when-is-the-latest-update-of-the-ketai-library-released/3890 "2018-12-27T01:52:38Z")

</div>

Administrator, when is the latest update of the Ketai library released? Is the Ketai library updated? Update in progress? Is it in progress? Is there a release date? Administrator, processing android mode I would ap…

---

## [Can't use libraries](https://discourse.processing.org/t/cant-use-libraries/6735)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 7\
**Last updated:** [December 19, 2018, 2:43am UTC](https://discourse.processing.org/t/cant-use-libraries/6735 "2018-12-19T02:43:27Z")

</div>

Hello, I really want to use libraries on Android. Although if I import them, I get a few errors in the console: name.jar is mentioned in export.txt, but it'sa big fat lie and does not exist. I followed the manual inst…

---

## [Codepage / Unicode? ISO8859-1? IBM-850?](https://discourse.processing.org/t/codepage-unicode-iso8859-1-ibm-850/6545)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:47pm UTC](https://discourse.processing.org/t/codepage-unicode-iso8859-1-ibm-850/6545 "2018-12-14T21:47:05Z")

</div>

Hi! While I can compile http://github.com/jgmy/daltonaid.git on apde, when I compile that with the Android mode of Processing for Windows all the international characters are turn into garbage (example: á is turned into…

---

## [Sound library for Android + how to list functions](https://discourse.processing.org/t/sound-library-for-android-how-to-list-functions/6563)

<div class="topic-metadata">

**Author:** [@Mads](https://discourse.processing.org/u/Mads)\
**Replies:** 0\
**Last updated:** [December 13, 2018, 1:45pm UTC](https://discourse.processing.org/t/sound-library-for-android-how-to-list-functions/6563 "2018-12-13T13:45:30Z")

</div>

Hi there Im new to the forum and relative new to coding. Im looking for an easy to use soundlibrary to use in Android mode. Ive tried Casette, it works fine but seems limited in terms of functions. Does anyone know how…

---

## [How to count steps with TYPE\_STEP\_DETECTOR?](https://discourse.processing.org/t/how-to-count-steps-with-type-step-detector/6411)

<div class="topic-metadata">

**Author:** [@craftthis](https://discourse.processing.org/u/craftthis)\
**Replies:** 3\
**Last updated:** [December 9, 2018, 8:58am UTC](https://discourse.processing.org/t/how-to-count-steps-with-type-step-detector/6411 "2018-12-09T08:58:05Z")

</div>

I am trying to use the sensor TYPE\_STEP\_DETECTOR to detect when the user steps, but i don’t know exactly the sintax for this, if anyone could help it would help.

---

## [The GT-P5100 impediment](https://discourse.processing.org/t/the-gt-p5100-impediment/6398)

<div class="topic-metadata">

**Author:** [@samolet4e](https://discourse.processing.org/u/samolet4e)\
**Replies:** 3\
**Last updated:** [December 8, 2018, 11:26am UTC](https://discourse.processing.org/t/the-gt-p5100-impediment/6398 "2018-12-08T11:26:08Z")

</div>

Hello! I am trying to build the simple sketch available in tutorial page: https://android.processing.org/tutorials/getting\_started/index.html on my Samsung GT-P5100 Galaxy TAB 2, Android version 4.0.4. The Processing v…

---

## [Accessing \`res/drawable' from loadImage()](https://discourse.processing.org/t/accessing-res-drawable-from-loadimage/6270)

<div class="topic-metadata">

**Author:** [@derekkinsman](https://discourse.processing.org/u/derekkinsman)\
**Replies:** 5\
**Last updated:** [December 7, 2018, 3:26pm UTC](https://discourse.processing.org/t/accessing-res-drawable-from-loadimage/6270 "2018-12-07T15:26:03Z")

</div>

Sorry if this is a stupid question. I’ve tried searching for an answer but have come up empty handed. I haven’t done any Android dev in maybe 3 years, and I generally just use the Processing IDE for any Processing stuff…

---

## [LifeCycle callbacks](https://discourse.processing.org/t/lifecycle-callbacks/6378)

<div class="topic-metadata">

**Author:** [@tonlymutan](https://discourse.processing.org/u/tonlymutan)\
**Replies:** 2\
**Last updated:** [December 7, 2018, 8:53am UTC](https://discourse.processing.org/t/lifecycle-callbacks/6378 "2018-12-07T08:53:45Z")

</div>

Hi ALL ! Just a quick one this… I’m exploring the lifecycle callbacks to gain a better understanding of what is going on, but I can’t call super.onRestart() or super.onCreate() … all others … .super.onStart() …onPause(…

---

## [(saving sounds on magnetometer values) Problems updating PVector Arrays](https://discourse.processing.org/t/saving-sounds-on-magnetometer-values-problems-updating-pvector-arrays/6356)

<div class="topic-metadata">

**Author:** [@doordewar](https://discourse.processing.org/u/doordewar)\
**Replies:** 0\
**Last updated:** [December 5, 2018, 11:45pm UTC](https://discourse.processing.org/t/saving-sounds-on-magnetometer-values-problems-updating-pvector-arrays/6356 "2018-12-05T23:45:24Z")

</div>

Currently I am making an android app where you can save soundfragments on positions in 3d space (trigger files on certain magnet values(x,y,z)). Started with a working version where I didnt use arrays at all, but that go…

---

## [FATAL EXCEPTION: Animation Thread](https://discourse.processing.org/t/fatal-exception-animation-thread/5914)

<div class="topic-metadata">

**Author:** [@Filipopl](https://discourse.processing.org/u/Filipopl)\
**Replies:** 1\
**Last updated:** [November 25, 2018, 1:01pm UTC](https://discourse.processing.org/t/fatal-exception-animation-thread/5914 "2018-11-25T13:01:07Z")

</div>

Hello everybody. I’m new with Android Mode for processing and I’m trying to add opencv library but I get this error when i run: FATAL EXCEPTION: Animation Thread Process: processing.test.mhi, PID: 8129 java.lang.Unsatis…

---

## [Cache data fills up quickly](https://discourse.processing.org/t/cache-data-fills-up-quickly/6074)

<div class="topic-metadata">

**Author:** [@antmar](https://discourse.processing.org/u/antmar)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 3:00pm UTC](https://discourse.processing.org/t/cache-data-fills-up-quickly/6074 "2018-11-29T15:00:20Z")

</div>

Hello, I’m working on an app that retreives data from a mysql database and display a chart. The problem is the cache data is growing really fast and i don’t know why! Here is my code import de.bezier.data.sql.\*; import…

---

## [Files in Android/data/processing.test.example](https://discourse.processing.org/t/files-in-android-data-processing-test-example/6068)

<div class="topic-metadata">

**Author:** [@TechnicJelle](https://discourse.processing.org/u/TechnicJelle)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 12:23pm UTC](https://discourse.processing.org/t/files-in-android-data-processing-test-example/6068 "2018-11-29T12:23:30Z")

</div>

Is it possible to store files in the /sdcard/Android/data/processing.test.example folder without needing permissions? I would imagine so, because it’s its own folder… I’ve been trying to get a Table CSV loaded and saved…

---

## [Can you run Processing on a Kindle?](https://discourse.processing.org/t/can-you-run-processing-on-a-kindle/5654)

<div class="topic-metadata">

**Author:** [@wsnicol](https://discourse.processing.org/u/wsnicol)\
**Replies:** 7\
**Last updated:** [November 28, 2018, 4:25pm UTC](https://discourse.processing.org/t/can-you-run-processing-on-a-kindle/5654 "2018-11-28T16:25:14Z")

</div>

Is it possible to run Processing on a Kindle, and if so, how?

---

## [Draw 2D on top in VR mode](https://discourse.processing.org/t/draw-2d-on-top-in-vr-mode/5401)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [November 27, 2018, 2:27pm UTC](https://discourse.processing.org/t/draw-2d-on-top-in-vr-mode/5401 "2018-11-27T14:27:31Z")

</div>

There is the eye function for the VR mode: https://android.processing.org/reference/vr/eye.html here an example from the reference: import processing.vr.\*; void setup() { fullScreen(STEREO); } void draw() { // …

---

## [Netp5 send &receive (byte) negative value problem](https://discourse.processing.org/t/netp5-send-receive-byte-negative-value-problem/5942)

<div class="topic-metadata">

**Author:** [@demket](https://discourse.processing.org/u/demket)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 5:11am UTC](https://discourse.processing.org/t/netp5-send-receive-byte-negative-value-problem/5942 "2018-11-27T05:11:48Z")

</div>

Hello, I need to send and receive 1 MB file between android tablet and esp32. I did in java mode with “processing.net” library on windows. “processing.net” doesn’t work android mode, so I decided to use netp5 lib withou…

---

## [Ketai camera problem (Sequal to "Merging two pictures")](https://discourse.processing.org/t/ketai-camera-problem-sequal-to-merging-two-pictures/4906)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 6\
**Last updated:** [November 25, 2018, 5:51am UTC](https://discourse.processing.org/t/ketai-camera-problem-sequal-to-merging-two-pictures/4906 "2018-11-25T05:51:44Z")

</div>

I’m displaying the camera on the screen but the screen appears white. CodeCode: import ketai.camera.\*; import ketai.cv.facedetector.\*; import ketai.data.\*; import ketai.net.\*; import ketai.net.bluetooth.\*; import ketai…

---

## [How to make an apk from a processing project](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-project/5869)

<div class="topic-metadata">

**Author:** [@Abdullah](https://discourse.processing.org/u/Abdullah)\
**Replies:** 1\
**Last updated:** [November 24, 2018, 8:22am UTC](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-project/5869 "2018-11-24T08:22:57Z")

</div>

I want to make a simple game using processing but I don’t know how to export the project as an apk so I can upload the game to the web. Someone please help me. Thanks

---

## [APDE and switch(String) compile errors](https://discourse.processing.org/t/apde-and-switch-string-compile-errors/5649)

<div class="topic-metadata">

**Author:** [@InSat](https://discourse.processing.org/u/InSat)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 9:35pm UTC](https://discourse.processing.org/t/apde-and-switch-string-compile-errors/5649 "2018-11-19T21:35:31Z")

</div>

Hello, I’m a begginer with APDE and processing, and meed some help. I create this sketch on Processing 3.4 in Windows : no PB, it’s juste a sample. //------------------------- String state = “none”; int w, h; void s…

---

## [APDE Pimage.copy() compile error](https://discourse.processing.org/t/apde-pimage-copy-compile-error/5650)

<div class="topic-metadata">

**Author:** [@InSat](https://discourse.processing.org/u/InSat)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 9:33pm UTC](https://discourse.processing.org/t/apde-pimage-copy-compile-error/5650 "2018-11-19T21:33:12Z")

</div>

Hello, I’m a beginer in Processing using APDE on Phone and Processing on Windows. If anyone can help me. I create this sketch on Windows, this is a stupid sample but it’s run fine. //-----------------------------------…

---

## [Cache buffer keeps expanding](https://discourse.processing.org/t/cache-buffer-keeps-expanding/5628)

<div class="topic-metadata">

**Author:** [@Hans](https://discourse.processing.org/u/Hans)\
**Replies:** 7\
**Last updated:** [November 18, 2018, 6:04pm UTC](https://discourse.processing.org/t/cache-buffer-keeps-expanding/5628 "2018-11-18T18:04:07Z")

</div>

After upgrading to Android mode 4.0.3. with Processing 3.4 I experience problems with a growing size of the cache buffer on my device. Tried different devices and ways of installing, directly on the device and a complete…

---

## [How to calculate velocity from Touches array](https://discourse.processing.org/t/how-to-calculate-velocity-from-touches-array/5552)

<div class="topic-metadata">

**Author:** [@brunoruchiga](https://discourse.processing.org/u/brunoruchiga)\
**Replies:** 5\
**Last updated:** [November 18, 2018, 6:28pm UTC](https://discourse.processing.org/t/how-to-calculate-velocity-from-touches-array/5552 "2018-11-18T18:28:48Z")

</div>

I am trying to use Touches array on Processing for Android to calculate an array with the velocity of multiple touches. I know I can use touches\[i\].x and touches\[i\].y to get the current position of multiple touches. The…

---

## [getActivity() and getContext() functions](https://discourse.processing.org/t/getactivity-and-getcontext-functions/5662)

<div class="topic-metadata">

**Author:** [@InSat](https://discourse.processing.org/u/InSat)\
**Replies:** 1\
**Last updated:** [November 18, 2018, 5:59pm UTC](https://discourse.processing.org/t/getactivity-and-getcontext-functions/5662 "2018-11-18T17:59:09Z")

</div>

Who can help me? Where can I find more informations about the getActivity() and getContext() functions ? I read this, but it’s really short https://android.processing.org/reference/environment/activity.html I read in …

---

## [How to Exporting signed package. MORE INFO](https://discourse.processing.org/t/how-to-exporting-signed-package-more-info/5630)

<div class="topic-metadata">

**Author:** [@imaginativeCODE](https://discourse.processing.org/u/imaginativeCODE)\
**Replies:** 2\
**Last updated:** [November 18, 2018, 1:24pm UTC](https://discourse.processing.org/t/how-to-exporting-signed-package-more-info/5630 "2018-11-18T13:24:36Z")

</div>

Here’s how to resolve these errors that i got when trying to “export signed package”. Keep in mind that things might change in the future. The way to resolve this is do like it says go into “AndroidManifest.xml”, fil…

---

## [Path Separator error \[Android mode\]](https://discourse.processing.org/t/path-separator-error-android-mode/5620)

<div class="topic-metadata">

**Author:** [@manhnt](https://discourse.processing.org/u/manhnt)\
**Replies:** 1\
**Last updated:** [November 18, 2018, 9:54am UTC](https://discourse.processing.org/t/path-separator-error-android-mode/5620 "2018-11-18T09:54:44Z")

</div>

I’ve got some troubles with path in Android mode. In Java mode, I use: Table t = loadTable("data/Snake" + snakeNo + ".csv"); It works well. In Android mode, I add the following code: String path = dataPath("Snake" + s…

---

## [Infinetly thinking](https://discourse.processing.org/t/infinetly-thinking/5546)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 5\
**Last updated:** [November 17, 2018, 12:18am UTC](https://discourse.processing.org/t/infinetly-thinking/5546 "2018-11-17T00:18:38Z")

</div>

What’s wrong with my code?it seemed to work properly,but when sketch starts,it thinking a lot of time,then app crashes… Sketch code: import java.util.Collections; color clr = color(255, 0, 0); MeshBall mb = new MeshBal…

---

## [\[Android mode\] Can my application know my number?](https://discourse.processing.org/t/android-mode-can-my-application-know-my-number/5523)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 2:36am UTC](https://discourse.processing.org/t/android-mode-can-my-application-know-my-number/5523 "2018-11-15T02:36:02Z")

</div>

Can my application know my number? How can I get information about my cell phone number? I want to know about the source code. Thanks.

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

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