×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    7

    Exclamation Playing Media from a phone

    I am creating a mp3 player and am trying to code the play button which will allow me to chose a file from the phone's storage. However so far i have been unable to do so, can somebody please assist me in this?
    Basically, when the play button is clicked on, it should allow me to look for the file on the phone.
    Also, how can i display the tags for the mp3 file, such as song name, duration and time elapsed?
    Neil

  2. #2
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    307

    Re: Playing Media from a phone

    Take a look at this example: Nokia's Media Sampler http://www.forum.nokia.com/info/sw.n..._v1_0.zip.html

    Also this doc is a must-read: MMAPI developer's guide http://www.forum.nokia.com/info/sw.n..._1_en.pdf.html

  3. #3
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    50

    Re: Playing Media from a phone

    Hi Neil,

    Basically, when the play button is clicked on, it should allow me to look for the file on the phone.
    A file browser to list out the audio files stored in the phone is required. The links in this blog will help you to implement file connection (JSR 75).
    http://blogs.forum.nokia.com/view_entry.html?id=131

    Best Regards,
    Gracy

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Playing Media from a phone

    Just to add what others said, For playing sound files your phone needs support for JSR 135 MMAPI and accessing the FileSystem needs support for JSR 75 FileConnection.

    Also there is an updated doc with example on FileConnection

    MIDP: FileConnection API Developer's Guide (with Example) v2.0
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html


    Regards
    Gopal

    __________________
    MobiQuil.com
    An initiative by Developers for Developers.
    http://www.mobiquil.com - Alpha - Launched.

Similar Threads

  1. The Nokia 9210i is the shittiest nokia phone ever!
    By awyeah in forum General Development Questions
    Replies: 2
    Last Post: 2007-10-18, 10:31
  2. about phone call
    By RC211V in forum Symbian
    Replies: 1
    Last Post: 2006-12-07, 06:17
  3. HowTO: user agent fields and phone idenfication
    By alex_crowther in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2004-03-15, 05:06
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  5. What happens if phone call comes While playing Game?
    By chandu_bgm in forum Mobile Java General
    Replies: 13
    Last Post: 2003-09-30, 10:46

Posting Permissions

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