×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2004
    Location
    Istanbul / Turkey
    Posts
    25

    Download midi file and play it

    Hi all friends;
    I want to get a midi sound file from the network within my j2me application and then play it. Do you think it is possible? Do you have any suggestion about it?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    the network protocol basically supported is http, so it will probably be the one you will use.
    the simplest way to play a file that you get from the network is to create your player with the remote file name, for example :
    Manager.createPlayer("http://whatever-site/whatever midi file");
    and then play it when you need.
    to avoid asking the user every 5 secs if he wants to allow the dl of the midi file, create the players at the init of the midlet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •