FORUMS

Help with this code..

2 posts
Thanks Meter: 0
 
By eebasadre20, Junior Member on 31st January 2014, 02:47 AM
Post Reply Subscribe to Thread Email Thread
Hi. I am following android tutorial in making audio player. This is my first app to learn. I'm just wondering if i can change the path location for the music/songs because in the code the path used is in the sdcard. I haven't a physical android phone I'm just using the virtual, I want to change it the location where my music on my laptop are place. Can i do that? how?

------------------------------this is the code----------------------------------------------------------
// SDCard Path
****final String MEDIA_PATH = new String("/sdcard/");


Thank you!
 
 
31st January 2014, 12:05 PM |#2  
SimplicityApks's Avatar
Senior Member
Flag Aachen
Thanks Meter: 343
 
More
Quote:
Originally Posted by eebasadre20

Hi. I am following android tutorial in making audio player. This is my first app to learn. I'm just wondering if i can change the path location for the music/songs because in the code the path used is in the sdcard. I haven't a physical android phone I'm just using the virtual, I want to change it the location where my music on my laptop are place. Can i do that? how?

------------------------------this is the code----------------------------------------------------------
// SDCard Path
****final String MEDIA_PATH = new String("/sdcard/");


Thank you!

When creating a new emulator, there is the option to use a folder as sdcard. In the app, I think you can just use the default /sdcard folder and it will be redirected to the hard drive folder by the emulator.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes