Friday, April 30, 2010

[android-developers] Re: HTC Incredible no default external storage?

My guess is that both External and Internal are mounted and unmounted
at the same time.

Another question is the WRITE_EXTERNAL_STORAGE permission. Does it
also apply to the internal storage, or is there a new separate
permission for this.


On Apr 30, 4:51 am, Streets Of Boston <flyingdutc...@gmail.com> wrote:
> Exactly.
>
> And how is the shared internal storage of the Desire
> (GLOBAL_CONTENT_URI, '/emmc') being accessed when the user wants to
> copy images from his/her PC onto the phone, and vice versa? What
> happens to the MediaScanner (if /emmc can be mounted and
> unmounted...)? I'm curious....
>
> On Apr 29, 7:27 pm, Filipe Abrantes <filipe.abran...@gmail.com> wrote:
>
>
>
>
>
> > Hi all,
>
> > Maybe this is an easy question but I couldn't find the answer by myself.
>
> > Does anyone have an idea whether it is possible to get the users music in internal _and_ external storage through a simple content provider query?
>
> > Right now we have to do something along the lines of:
>
> >                 return resolver.query(
> >                                         MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
> >                                         Constants.albumProjection,
> >                                         null,
> >                                         null,
> >                                         null);
>
> > and I only see these two constants defined for Mediastore.Audio.Album
>
> > Uri EXTERNAL_CONTENT_URI The content:// style URI for the "primary" external storage volume.
> > Uri INTERNAL_CONTENT_URI The content:// style URI for the internal storage.
>
> > There is no thing such as GLOBAL_CONTENT_URI?
>
> > Shall we ask users where they want to go fetch their music? Shall we do the merging of cursor by ourselves (and later on resorting it)? Both alternatives seem like a step backwards, so Im crossing my fingers this is not the case :).
>
> > Cheers,
> > Filipe
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group athttp://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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group athttp://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment