We are about to switch to a new forum software. Until then we have removed the registration on this forum.
just downloaded this lib for android from the mngr in P2 but nothing for how to connect android cam
import com.onlylemi.processing.android.capture.*;
AndroidCamera ac;
PImage img;
void setup() {
size(720, 480);
ac = new AndroidCamera(width, height, 30);
ac.start();
}
void draw() {
img = ac.getCameraImage();
image(img, 0, 0);
}
Answers
Camera should be connected by the library wen you create new AndroidCamera, but i have no idea about this one. Look, ketai is a popular library to get lot of things done on Android with processing, including camera: http://ketai.org/examples/cameragettingstarted/
@Ater yah your link dont even provides the hook up procedure for any of it's cam examples wtf?
actually i found that section i was looking for BUT now i cant find a way to install Android mode in P2, and suggestions @Ater ?
Android mode is adviced to use with P3 (it was so even before final p3 version released) and you can install it via manager there. So, just use P3 for Android mode.