I've followed the tutorial of creating a camera capture page in this video: http://www.youtube.com/watch?v=nF4eqzVcsic
So my code at the moment looks like this:
protected void onCamera_CaptureButtonAction(Component c, ActionEvent event) {
String i = Capture.capturePhoto();
if (i != null) {
try {
Image img = Image.createImage(i).scaledHeight(500);
findCameraLabel().setIcon(img);
} catch (Exception ex) {
}
}
}
I had a look at the CameraDemo application, but can't seem to locate any files being saved.
I basically just want any pictures taken to be saved in the src folder.
Any help would be greatly appreciated. Ari