I want to know how to play a single mp3 file in my program not from the server, but from the local memory stick files, I want some clear details how to give the path for emulator in pc and how to give path in mobile.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An example of how to play music files is found here using MMAPI (Mobile Media API). The trick is to get the input stream for the file. For that you will need to use the File Connection API, as described here. The paths will vary, though, you’ll have to figure out what’s right for you.