Using Audiotrack() and running other processes..
Hi all. I am having fun using Processing for Android to program my SBC which is running Andoid 4.4. I have a project I am working on that involves playing some sine waves and using an accelerometer to...
View ArticleLoading if txt is empty on android (FATAL EXCEPTION: Animation Thread error)
I've been trying to make a program that test whether it is the first time the program is launched. The idea is that upon launch, a 'setup' function is run that reads a .txt file located in the data...
View ArticleProcessing don't work on ANDROID
Hello, I followed this tutoriel to setup processing project on android studio http://android.processing.org/tutorials/android_studio/index.html All work fine the app is compiled and launcher but the...
View ArticleUsing Bluetooth BLE for downloading orientation data
Are there libraries and/or examples for using Bluetooth BLE within the Processing Android mode? I did find a library in GitHub: "Bluetooth Low Energy for Processing Android" I couldn't see it in the...
View ArticleSaved image is empty
Hi, I am drawing on a PGraphics and want to save the rendered image to the relevant pictures directory on the external storage. I have set the proper WRITE_EXTERNAL_STORAGE permission. I am using...
View ArticleKetai library for gestures not working on android
Hello everyone, I'm pretty new to processing and I have started trying to learn to program simple games por android. I'm trying to use the ketai library to recognise gestures (flick, pinch and rotate)....
View ArticleAndroid Mode, [INSTALL_FAILED_INVALID] error
Hi, I tried to program a Lenovo A806 smartphone in Android Mode, Processing 3.2.3. When IDE tried to install the sketch on the phone, I received the above error. I tried a lot of ways. Please, help me....
View Articleboofcv on android
Hello, i'm using Processing 3 and Boofcv. 1 - I've try to launch boofcv samples on my computer (Linux) and it works. 2 - I've try to launch processing samples on my android device and it works 3 - I've...
View ArticleRecommended hardware for Android Processing
I was wondering if anyone has any tips on finding cheap hardware that will work well with Android for Processing, especially for running stable for longer periods of time. I know not all hardware even...
View ArticleIncluding Ads in Processing Sketch
Hi, I was hoping to include ads in a small game I'm working on at the moment but I'm having some trouble getting it working. Unfortunately there doesn't seem to be much information online about getting...
View ArticleAndroid mode updates
Hello everyone, A new bugfix release (3.0.2) of the Android mode is available through the Contributions Manager. The next release on the CM will bring big changes and improvements (among them, built-in...
View ArticleKetaiLocation: does onLocationEvent fire periodically or only once?
hello, I'm fiddling around with KetaiLocation resp. the example that can be found at http://ketai.org/examples/geolocation/. In that example the onLocationEvent is used. I would have expected that...
View Articleandroid mode saveStrings()
How do I saveStrings() to an existing .txt file in the data folder in android mode?
View ArticleHow can I modify a HTTP header for reading a JSONObject?
I need to modify the HTTP header like this: Please modify your client to use a HTTP header named "X-Auth-Token" with the underneath personal token as value. Your API token:...
View ArticleHow to use sound in android studio while using processing?
I tried importing sound libraries but it did not work in android studio.Another thing I tried was to use Android studios media player library it worked but game was lagging big time.Also I would to...
View Articleaccess 'Share' system default service within Processing IDE
Hello, I'm with working on a project on Procesing IDE, Android mode (it's not an app with GUI an everything, but rather an generative/interactive tech-art piece) and I wanted to know if anyone knows...
View ArticleSave a XML file in Android
Hello, I am trying to save some data on the phone, for when the user closes the app. I thought the best way to do this is via XML (correct me if I am wrong). So it works fine in Java mode, but when I...
View ArticleHow to make an object a fixed size across platforms?
First thing's first: I just started with Processing about 2 weeks ago, and Android mode a couple days ago, so anything you say should assume very little knowledge but the basics of Java mode. Okay,...
View ArticleImporting admob sdk into processing
I've been trying to get ads working on my processing app with multiple guides found on here, but I can't seem to get the library imported properly. I have the following imports in my sketch import...
View ArticleGoogle play services ads and AndroidManifest.xml
Hi all! I have managed to get the google play services lib included with your help, but when I run my app with the adview code, it crashes on startup. "Unfortunately, app has stopped." I think there is...
View Article