Hi, I am facing problem when i use your sample project code to open Front Facing Camera.
Here is my error : Caused by: java.lang.RuntimeException: Fail to connect to camera service on line : camera=Camera.open(i); I have written all permissions required for camera and everything. So can you tell me why I am facing this error? Also i tested code given here http://digitaldumptruck.jotabout.com/?p=797 But still i am not able to use FFC. Please help me. On Friday, February 11, 2011 5:50:28 PM UTC+5:30, Mark Murphy wrote: > > That example has a flaw -- it hard-wires in /sdcard as the location of > external storage. Use File.getExternalStorageDirectory() for that > instead, or some other spot. > > Here is another sample project: > > https://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture > > This one is more complex, because it uses a front-facing camera on > Android 2.3+, but otherwise it does the same basic things as the > example you cited. > > On Fri, Feb 11, 2011 at 4:01 AM, Jayanthi <[email protected]> wrote: > > Hi dude, > > I am developing an application using camera preview I have > > done with the help of below URL > > > > "http://marakana.com/forums/android/examples/39.html" but the image is > > not storing in sd card can anyone help please > > > > -- > > 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 > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer 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 [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

