×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    2

    How to get list of media file from server side.

    Hi
    I want to retrive List of media file from server side or from local drive ?
    Please ..Can Help me any ..
    Thanks ...

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: How to get list of media file from server side.

    Hi,
    For the local drive you can use the File Connection API.
    read more about the same here,
    http://developers.sun.com/mobility/a...ileconnection/
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: How to get list of media file from server side.

    hi,
    for local drive u have to use jsr75 optional package FileConnection API. But im quite unable to understand what u want to do with server. If there is any file contains song names and paths then u just have to download that file. store the names and paths of files at different containers like vector etc. If there is limited data then u can also store them in different Recordstores. Well if ur problem seems quite different from my understanding then pls mention what u want to do actually with explanation.

    thanks,
    jitu_goldie..
    thanks,
    jitu_goldie..

    KEEP TRYING..

  4. #4
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: How to get list of media file from server side.

    Hi nrd.daheriya@gmail.com,
    As raj_J2ME and jitu_goldie said to retrieve list of media file from your local driver you have to use the jsr75 and you have to recursively search your local drive for predefined file extensions .

    From server side if you want to get the the list of media files , You need to have a servlet/jsp/php script which will search all the media file and format those in some format like some delimiter to separate the file names or you can format those files in xml document and send to the client from the server.
    Hope this will helps you.

Similar Threads

  1. Display a text file
    By pierre_remi in forum Symbian
    Replies: 3
    Last Post: 2008-11-10, 09:29
  2. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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