I don't know how to use the path setDataSource(path) of MediaPlayer?

by rylance » Tue, 14 Apr 2009 16:01:22 GMT

Sponsored Links

If you have pushed the songs to the root of your sdcard then just use
setDataSourece("/sdcard/mySongName.mp3"), make sure you have set the path to
your image in Eclipse (if you are using Eclipse), make sure you are using
the correct run configuration a simple test would be from shell run adb
shell ls /sdcard (or use ddms file browser) then you can see if you have
successfully "installed" your image file.

The important thing to remember is that mp3's location on your pc is
irrelevant and that the phone plays songs from the "sdcard".


Other Threads

1. booting using AutoBoot


I would like to boot android on my mips au1250 using AutoBoot but I do
not find that bootloader.

Is someone knows where to find?



unsubscribe: android-porting+unsubscr...@googlegroups.com

2. restricting edittext control's max chars

I need to restrict edittext's max chars to 255, how can i do that in
layout or functions ?



3. Use Camera API for normal quality pictures

4. noHistory="true" rocks

5. How to select/install a locale other than English

6. DynamicLayout and StringBuilder

7. Save ListView items for next time