Android - Camera functionality howto

Posted by teepusink on Stack Overflow See other posts from Stack Overflow or by teepusink
Published on 2010-03-31T20:55:49Z Indexed on 2010/04/01 18:43 UTC
Read the original article Hit count: 397

Filed under:

Hi,

I'm using the example from the SDK (CameraPreview) and also the example from this site http://marakana.com/forums/android/android_examples/39.html

When I run it, both gives this error "The application AppName(appname) has stopped unexpectedly. Please try again".
I can't run the debugger either because it's always "Waiting for debugger. Force close". (I have debuggable=true in the manifest file)

The phone I have is a Nexus One.
Running on the emulator gives me the black and white squares with a moving square. (So I assume it works on the emulator?). Even on the emulator it gives me the "stopped unexpectedly" error 50% of the time.

Does anyone know what caused it?

Thanks,
Tee

© Stack Overflow or respective owner

Related posts about android