[android-developers] Camera works fine, but deployed camera app says that I need an SD card

2010-12-18 Thread David Karr
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 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


Re: [android-developers] Camera works fine, but deployed camera app says that I need an SD card

2010-12-18 Thread Mark Murphy
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 davidmichaelk...@gmail.com 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 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




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