Actually, use:
File pathDir = Environment.getExternalStorageDirectory();
That is, don't use toString() unless and until you actually need it. A
File object is more useful.
Don't perform string operations to construct file paths. For example,
write
File logDir = new File(pathDir, "logg");
logDi
Yup, thats better. :)
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Sun, Jan 16, 2011 at 11:15 PM, Bob Kerns wrote:
> Actually, use:
>
> File pathDir = Environment.getExternalStorageDirectory();
>
> That is, don't use toString() unless and until you actually need it. A
>
On Dec 19, 2:14 pm, Tabman wrote:
> 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 Incredibl
Thanks Doug,
Your reply is very helpful, you also replied to another post of mine
so thanks again :)
On Dec 20 2010, 1:51 am, Doug wrote:
> On Dec 19, 2:14 pm, Tabman wrote:
>
> > I have a question related to this. How many phones are out there with this
> > type of behavior ? I want to access
"It's forced into the built-in space that will get picked up by the
Android media scanner when it indexes EXTERNAL_CONTENT_URI."
btw I don't think the media scanner picks it up. The media scanner
would need to be explicitly told to look at '/mnt/emmc'
On Jan 4, 12:45 pm, Tabman wrote:
> Thanks D
5 matches
Mail list logo