[android-developers] Re: not able to play file when set data source to the sdcard file

2009-04-13 Thread Nithin


Hi,

 It is giving me error when i am calling prepare().

Normally, this error occurs, when you didnt put sdcard in emulator.
Launch emulator with SDCard. You put the .mp3 file in data/misc
folder and try, if its working then the problem is launch emulator
with SDCard only..

Thanks
Nithin
nithinwarier.blogspot.com
--~--~-~--~~~---~--~~
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] Re: not able to play file when set data source to the sdcard file

2009-04-13 Thread Honest

Thanks nitin for your quick reply. From you suggestion i solved my
problem but i am not geting why it is not able to access file from
sdcard even if the file is available there so there should be
something wrong in it. I also added the command line paramiter which i
am passing so please take a look and let me know if you found
something wrong in it.

On Apr 13, 5:10 pm, Nithin nithin.war...@gmail.com wrote:
 Hi,

  It is giving me error when i am calling prepare().

 Normally, this error occurs, when you didnt put sdcard in emulator.
 Launch emulator with SDCard. You put the .mp3 file in data/misc
 folder and try, if its working then the problem is launch emulator
 with SDCard only..

 Thanks
 Nithin
 nithinwarier.blogspot.com
--~--~-~--~~~---~--~~
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] Re: not able to play file when set data source to the sdcard file

2009-04-13 Thread Marco Nelissen

On Mon, Apr 13, 2009 at 2:52 AM, Honest honestsucc...@gmail.com wrote:

 Hello,
 I am trying to play file which is stored in SDCARD in emulator. I have
 Linux O/S. So i need to provide command in run configuration.

 I am providing following parameter.

 -sdcard /usr/android/sdcard/mysdcard.iso -audio oss

The sd card image needs to be a FAT filesystem image, not an ISO image.

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