Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading music file and playing it.  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to make a music player on a mobile phone,and I am just wondering how to get the music(from the audio folder/or any directory?) in the mobile phone itself and load to the player that I am going to make??? How can I get the music from the mobile phone itself?And how about storing music to the mobile phone?Are there any API that could help?

[ October 22, 2005: Message edited by: Kin ]
[ October 22, 2005: Message edited by: Mark Spritzler ]
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kin,

First some busines. "Kin" does not meet JavaRanch's naming policy. Please click the "My Profile" link above and put in your real first and real last names.

Second. Threads titled with "Urgent" and not putting the real topic, tends not to get answers.

You can always put the file on a web server and use a URL to connect to it to download and run in your Player.

That is the most common way of doing it.

Mark
 
Stephen Kin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
Hi Kin,

First some busines. "Kin" does not meet JavaRanch's naming policy. Please click the "My Profile" link above and put in your real first and real last names.

Second. Threads titled with "Urgent" and not putting the real topic, tends not to get answers.

You can always put the file on a web server and use a URL to connect to it to download and run in your Player.

That is the most common way of doing it.

Mark




Thanks for your reply first of all. Actually I mean I am trying to store the music directly to the phone , not putting the music in my local file first(jar file),and not using url of course.I mean using the directory,and I really don't know the directory of the phone where the music is stored, and I don't know what API could help...
Could anyone help me here??
 
Mark Spritzler
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, thanks.

I think the only way that J2ME can get access to files on your device is through the File API JSR, which is relatively new, and not many devices have implemented it.

Mark
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!