×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Question Saving audio files from RMS to phone storage

    Hi, i'm developping an app where the user downloads an audio file and stores it in the RMS (actually i store the binary data of the file), storing also some extra info like file content type (midi, wav, ...), song title, ...
    I want to offer the user the possibility to externalize this audio data from the RMS database to save it in an audio file with the appropiate extension in the phone memory. This way the user will be able to use the sound outside the app, and use it as he likes (listen, use as ring tone, ...).

    So my questions are:
    is it possible to create files ?
    if yes, how does it works ?
    how do i know where the file is created? can i choose the location ?
    if no, is there another solution ?

    Thanks a lot.

  2. #2
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Saving audio files from RMS to phone storage

    Hi,

    You can do this if ur phone supports JSR-75.You can copy the file from the recordstore to the phone filesystem. You can also specify the location of the file

    here is a tutorial on fileconnection.
    http://www.forum.nokia.com/info/sw.n..._v1_1.zip.html

    You may also search the forum where we have discussed lot on JSR-75

    Wang

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

    Re: Saving audio files from RMS to phone storage

    Just to add what Wang pointed: If you need some introduction regarding FileConnection(Reading and saving files in file system), Please check this link
    http://discussion.forum.nokia.com/fo...14&postcount=3

    Hope this helps!

    Regards
    Gopal

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Wink Re: Saving audio files from RMS to phone storage

    Thanks for the info i'll work on it.

    I've got another question: is this API, the JSR-75 available on most of the phones ?
    I would like to target as most phone models and brands as possible.

    Here goes another one ^^ : if using the MMAPI and the player to record audio, where is data saved ? Could this be another possibility to save the audio files ?

    Thanks again.

  5. #5
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Saving audio files from RMS to phone storage

    Hi nemoff,

    Here is the list of phones supporting JSR-75
    http://j2mepolish.org/devices/devices-pdaapi.html

    >>if using the MMAPI and the player to record audio
    Here also u can use fileconnection to record an audio to a specific location in the phone filesystem.

    Please search the forum we have discussed it in a lot of threads.


    Wang

Similar Threads

  1. Sending files to Phone using a command line
    By mocelet123 in forum PC Suite API and PC Connectivity SDK
    Replies: 3
    Last Post: 2006-05-26, 16:06
  2. Replies: 0
    Last Post: 2005-10-10, 09:31
  3. The storage size of RMS in 3650
    By leting in forum Mobile Java General
    Replies: 1
    Last Post: 2003-06-19, 07:30
  4. Saving Phone Numbers
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-17, 03:13

Posting Permissions

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