Stefan wrote: > Hello, > > i tried an old(er) example / tutorial to capture a picture from the > camera. > But "android.hardware.CameraDevice;" cannot be resolved. Has the name > changed or have somebody a good tutorial for android 1.6 and the > camera?? > > Thanks, > Stefan > > PS: If I press a button, I want to open the Camera and make a picture. > After that i want to save the picture on a sdcard and go back to my > activity.
The camera is now called Camera, if you want to take still pictures. Video recording is handled through MediaRecorder. Here are a couple of sample projects that demonstrate the use of the Camera: http://github.com/commonsguy/cw-advandroid/tree/master/Camera/ There is also this sample activity from the API Demos that accompany the SDK: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.1 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

