[android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-16 Thread Xavier
Hi,

What is the behavior of the Nexus S when calling this function and
others like getExternalStorageState(), etc... ? Is it emulating a SD
Card without any extra code?

Thanks,
Xavier

-- 
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] getExternalStorageDirectory() on NEXUS S

2010-12-16 Thread Mark Murphy
On Thu, Dec 16, 2010 at 10:39 AM, Xavier  wrote:
> What is the behavior of the Nexus S when calling this function and
> others like getExternalStorageState(), etc... ? Is it emulating a SD
> Card without any extra code?

It should. There are other devices, like the HTC Droid Incredible,
that use on-board flash for the "external storage".

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


Re: [android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
Hi,

I have a question related to this. How many phones are out there with this 
type of behavior ? I want to access Camera Photos/Videos on a phone and for 
that I've used EXTERNAL_CONTENT_URI but it seems that approach would fail on 
a phone like Droid Incredible. How should I design my app such that it is 
able to get camera data from any android phone ?

I saw an app *Picasa Tool Pro* and they give a list of categories to choose 
from as if all phones are implementing different directories for Camera 
photos/videos:

Camera Photo Folder (default)
Camera Photo Folder (For HTC Hero, Eris .)
Camera Photo Folder (For Incredible)

Is there anything special about HTC Hero, Eris ?

Thanks

-- 
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] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
In fact to add to that is there a link between EXTERNAL_CONTENT_URI & 
.getExternalStorageDirectory() as I use attributes from MediaStore 
(DATE_MODIFIED etc.) how could I use those with 
.getExternalStorageDirectory(). 

Is 
getContentUri
(String 
volumeName) of 
any help here ?

Thanks

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