Quantcast
Browsing all 941 articles
Browse latest View live

Overriding Volume Button : Android

Hello, I wanted to override the normal function of 'VOLUME_DOWN' keycode with my own thing. I am using this : void keyPressed() { if( key == CODED && keyCode ==...

View Article


Can't get emulator to run a sketch, what do I do? (3.0)

New Processing user here, very excited to develop my app! I got it to Run on Device but I'd also like to get the emulator working (especially since my colleagues will be using the emulator...

View Article


Where to code on eclipse?

I exported my processing sketch to eclipse and runs good. Made some changes from the instructions I have readed and runs good in another button but runs. I have a list of folders at the left. I started...

View Article

FATAL EXCEPTION ; ANIMATION THREAD ; java.lang.NoSuchMethodError

hallo, i try to testing BluetoothCursors from example of library ketai . but i have some mistake the code ist in this link...

View Article

USB Accessory with ArduinoADKUSb

Hallo, i want to test the library ArduinoAdkUsb , you can see here labs.arduino.cc/ADK/AccessoryMode. But i habe processing 2.2.1 and its not work. then want to test this Libray with Arduino and...

View Article


Can´t use some Android Methods

Hello, I was developing an Android App for over 4 months and now im struck into a problem with some Methods since my old Processing version crashed. I used some Android librarys to play sounds in my...

View Article

Android sound and files

Is it going to be a sound library for an Android device? Or a library like PrintWriter as an equivalence to write data to a file on Android (like the score of a game)?

View Article

How I can fix this code for android

I found this code on the Internet, but has some errors and I could not correct. could help me I need it for a job. I'm using Processing 3.0. import android.bluetooth.BluetoothAdapter; import...

View Article


How I can solve the following error

When you run the code I always get the following error but do not know how to correct it, someone could help me to correct the mistake it feels really appreciate it. void onActivityResult (int...

View Article


Image may be NSFW.
Clik here to view.

Can not see Android Mode in "Add Mode", LINUX - debian

Think I have installed everything that is needed. Sorry for my english.. please, help.

View Article

Modify onBluetoothDataEvent() function execution?

Hi!! Actually, I'm working with communication between a GY-80 IMU and Android APP via Bluetooth. The communication its correct, using 115200 bauds in the two bluetooth. The problem it's when I'm using...

View Article

Fatal Exception with APWidgets

I'm trying to use APWidgets for some basic Android buttons, but creating an APWidgetContainer throws the error: FATAL EXCEPTION: Animation Thread Process: processing.test.experiment, PID: 12094...

View Article

Sony Experia Z3 to mac osx "no connected device"

Hello community, I try to run a processing 3.0.1 sketch (android mode) on a device (sony experia Z3). But if I want to select a device its said "no connected device". But I connect the device with USB...

View Article


How can i use switch(mouseButton) in android mode?

Hi, this is the part of my code that works on java mode, but obviously it doesn't work in android mode, so my question is, can i use this kind of switch on my android project? How can i make this work?...

View Article

How do i get sound to play on the phone

The code below works fine in java mode, but it doesn't work in Android mode. I just want a simple code that will play a mp3 file when clicked. I'm pretty sure the problem is in the import of Minim, I'm...

View Article


A problem with performance using AudioRecord class

Greetings! In fact it is not a real problem, but i need some explanations about the reason causing that issue. So, i was making some simple dictaphone for my android device with a realtime waveform...

View Article

How can you take a screenshot?

I have created an android game where I want the user to be able to share his score on twitter when he/she presses a button. I want the screenshot to be captured when the button is pressed. Please help....

View Article


How to play OGG file with SoundPool?

I need to run my sounds and music (OGG files) on my phone but the code (a book's code to play it on android studio) does not run on my phone (it runs but says unfortunately stops on the phone). I am...

View Article

Trouble with the SelectFile library (Android mode)

When running the SelectFile library example I get a Fatal Exception error. Can someone explain me why? Thanks. import select.files.*; SelectLibrary files; void setup() { size(320, 240); files = new...

View Article

Change keitai library baud rate

Found the solution. Didnt know how to delete post. thanks!

View Article
Browsing all 941 articles
Browse latest View live