• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Loading music file and playing it.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic