If you have the SD card mounted on your WinXP box, that SD card is not
available to the phone. You need to unmount first before you can save
photos, etc. to the SD card. See Environment and
getExternalStorageState().

On Sat, Dec 18, 2010 at 5:00 PM, David Karr <[email protected]> wrote:
> I have a droid2.  I can take pictures with the camera. I can browse
> the pictures I've taken on the phone.
>
> I can connect the phone to my WinXP box and browse the SD card through
> File Explorer.
>
> I'm now trying a sample tutorial (SizedCameraIntent) from the "Pro
> Android Media" book. When I deploy to the phone, the camera starts,
> but when I try to take the picture, it gives me "Please insert an SD
> card before using the camera".
>
> What am I doing wrong?
>
> --
> 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

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
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

Reply via email to