Re: [android-developers] How to get internal storage path for music

2011-06-07 Thread Chi Kit Leung
Try to use this path
/mnt/sdcard

On Tue, Jun 7, 2011 at 2:23 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Hi All,

 The application that am working has to access the audio files stored
 on a tablet in the internal storage musci folder. Can any one tell me
 how to get access to it?

 Thanks  Regards,
 Goutham

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




-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

-- 
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] How to get internal storage path for music

2011-06-07 Thread Dianne Hackborn
No do not use magical absolute paths.

Environment has various APIs to find out path to external storage.

On Tue, Jun 7, 2011 at 12:02 AM, Chi Kit Leung michaelchi...@gmail.comwrote:

 Try to use this path
 /mnt/sdcard


 On Tue, Jun 7, 2011 at 2:23 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Hi All,

 The application that am working has to access the audio files stored
 on a tablet in the internal storage musci folder. Can any one tell me
 how to get access to it?

 Thanks  Regards,
 Goutham

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




 --
 Regards,
 Michael Leung
 http://www.itblogs.info
 http://www.michaelleung.info

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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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] How to get internal storage path for music

2011-06-07 Thread Rahul Garg
Hi Goutham,

I guess 
http://developer.android.com/guide/topics/data/data-storage.html#filesInternal, 
this will help.


--
Rahul

-- 
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] How to get internal storage path for music

2011-06-07 Thread Prakash Iyer
There are some phones, eg the first HTC phone at VZW, which have 3 mount
points for music. Basically the internal memory is partitioned into the
internal filesystem  a modifiable partition that can be mounted as a USB
drive. Users can move music there  this is scanned by the media player but
is not the external filesystem. So there is no Environment API to get to
this path... I don't know of any way other than a magic absolute path in
that case... Would love to know otherwise...

To the OP, if Dianne/rest don't come back with a solution here  this is
your problem, Google for the specific handset model you are dealing with 
someone will hopefully have the magic path for you;-)
On Jun 7, 2011 3:24 AM, Dianne Hackborn hack...@android.com wrote:

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

[android-developers] How to get internal storage path for music

2011-06-06 Thread Goutham P N
Hi All,

The application that am working has to access the audio files stored
on a tablet in the internal storage musci folder. Can any one tell me
how to get access to it?

Thanks  Regards,
Goutham

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