How many AVDs and real devices DID you test on? There is an
embarrassing proliferation of real devices out there, few developers
can keep enough of htese around for realistic testing. This is why
DeviceAnywhere has a successful business model.

Mark is quite right: no one should rely on code using 'sdcard' hard-
coded anymore. Use the official API for getting the directory instead.
It is not that much moreeffort, and it guarantees you will get the
right behavior even on weird phones with TWO sdcards. It is a very
simple measure to "future proof" your application.

On Aug 23, 10:00 pm, Jack Deslippe <[email protected]> wrote:
> Yes.  And in everyother AVD (and real device) I tested on, there is no
> problem writing to to sdcard.  Only in the new GTV AVD does it fail.
> On Aug 23, 2011 9:57 PM, "Mark Murphy" <[email protected]> wrote:> Just 
> to confirm, you do hold the WRITE_EXTERNAL_STORAGE permission in
> > your app, right?
>
> > On Tue, Aug 23, 2011 at 10:26 PM, Jack Deslippe <[email protected]> wrote:
> >> So, I am using Environment.getExternalStorageDirectory() on the new
> GoogleTV
> >> emulator.  It returns "/mnt/sdcard" (which should be 100 MB).  But, all
> >> operations on that directory fail (like trying to make a new directory
> for
> >> example).
> >> What is the proper storage space for GoogleTV?
> >>  Is Environment.getExternalStorageDirectory() not the right thing to do
> >> here?
>
> >> --
> >> 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
>
> > Android 3.1 Programming Books:http://commonsware.com/books
>
> > --
> > 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