Make sure you aren't hard-coding /sdcard and using the api to get the right
path. I forget the call (someone will post it), or search in this forum for
camera and you'll find it. I've seen a few posts about using /sdcard
directly and not the right way to do it.

What I want to learn is how to store the images such that the Gallery app
can find them. Although I did find an example of initiating the built-in
camera app to take a picture via an Intent, then getting control back so
that you can use the image (and I assume it's also stored in the right
location/format for gallery to see it). I am considering that for my own app
since the built-in camera app will use flash, focus, and other capabilities
that I don't have to recreate in my own app.


On Sun, Feb 13, 2011 at 11:42 PM, Jayanthi <[email protected]> wrote:

> Hi,
>    <uses-feature android:name="android.hardware.camera" />
>  <uses-feature android:name="android.hardware.camera.autofocus" />
> <uses-permission android:name="android.permission.CAMERA" />
>  <uses-permission
> android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>
> I gave all the above permission
>
> On Feb 14, 12:38 pm, guru sagar <[email protected]> wrote:
> > hi,
> >
> >   check permissons in android manifest file
> >
> > On Mon, Feb 14, 2011 at 12:59 PM, Jayanthi <[email protected]> wrote:
> > > Hi Dude,
> > >             I worked on camera preview for taking live image , Here I
> > > get following Exception
> >
> > > java.io.FileNotFoundException: /sdcard/1297668185153.jpg (Permission
> > > denied)
> >
> > > image is not saved in sd card can anyone tell me  where  i did
> > > mistake .
> >
> > > Thanks in Advance,
> >
> > > --
> > > 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
> >
> >
>
> --
> 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
>

-- 
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

Reply via email to