On Tue, Aug 9, 2011 at 10:08 AM, Amit Mangal
<forum.amit.man...@gmail.com> wrote:
> i am to open camera programaticaly and take picture but whatever code i am
> trying it is crashing on my device . One of code i have attached whihc is
> working on simulator but crashing onmy device.

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your crash.

> please tell me is there any special settings required for opening camera
> programatically ?

You need the CAMERA permission in the manifest. For production, you
may also want to add appropriate <uses-feature> elements, but they're
not going to cause a crash.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to