×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Help!,Play wave file while calling in n97

    Hi,Friends,It's said that VAS(Voip audo Service) Plugin can resolve this question,But It failed when I try this function. The Code like this

    TInt err = CRingToneFactory::CreateFactory(iRingToneFactory);
    if (err == KErrNone)
    {
    err = iRingToneFactory->CreateRingTonePlayer(iRingTonePlayer);
    if (err != KErrNone)
    {
    CLogFile::WriteFormat(_L("Error CreateRingTonePlayer,error = %d"),err);
    }
    }
    ...
    err = iRingTonePlayer->Open(*this, iPlayfile);

    ...Event Callback
    case MRingToneObserver::KPlaybackComplete:
    CLogFile::WriteFormat(_L("RT Play Complete,Error = %d"), aError);


    Error = -21



    I have tryied if no call it works well, Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Help!,Play wave file while calling in n97

    error codes are explained for example in here: http://wiki.forum.nokia.com/index.php/Error_codes

  3. #3
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by symbianyucca View Post
    error codes are explained for example in here: http://wiki.forum.nokia.com/index.php/Error_codes
    Thanks,Do you have method to fix the issue?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Help!,Play wave file while calling in n97

    I never used VAS, so don't know actual cause of teh error, but as the description says: "Access to a file or device is denied, because the permissions on the file do not allow the requested operation to be performed or the device is in use. ", you either are missing capabilities, or the device is exclusivly in use already.

  5. #5
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by symbianyucca View Post
    I never used VAS, so don't know actual cause of teh error, but as the description says: "Access to a file or device is denied, because the permissions on the file do not allow the requested operation to be performed or the device is in use. ", you either are missing capabilities, or the device is exclusivly in use already.
    Thanks,generally,when outoging call or incoming is progress,playback is prohibited.so My code works well while no calling. There is a software named CallCheater,it works well during calling. so I trust there is a method can resove this question ,as to the VAS, it is a option tech.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Help!,Play wave file while calling in n97

    you could search for older discussions with keywords such as uplink to find out ways on doing the stuff, note that the actual implementation differes between different platforms, and also the old-workaround I suggested with DRM-player, is no longer working with newer firmwares.

  7. #7
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by symbianyucca View Post
    you could search for older discussions with keywords such as uplink to find out ways on doing the stuff, note that the actual implementation differes between different platforms, and also the old-workaround I suggested with DRM-player, is no longer working with newer firmwares.

    Thanks,Do you have mind regarding CallCheater ,it works weill in N97.

  8. #8
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Let me upset,no guys can help me

  9. #9
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Help!,Play wave file while calling in n97

    What have you tried sofar, and what kind of problems are you facing ?

  10. #10
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by symbianyucca View Post
    What have you tried sofar, and what kind of problems are you facing ?
    Firstly,I have tried VOIP tech,but failed, then I tried CAknKeySoundSystem interface, the same result.in fact I want to realize to play audio while calling. Someone said that VAS can help it,but the test result upset me, the program only can play audio when phone is ilde.Thanks

  11. #11
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,987

    Re: Help!,Play wave file while calling in n97

    if you want to play audio while the call is in connected state, then you can try with APS, as yucca said, search with keyword "play file on uplink"...

  12. #12
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by vineet.jain View Post
    if you want to play audio while the call is in connected state, then you can try with APS, as yucca said, search with keyword "play file on uplink"...
    Do you have experience with N97 devices successfully?

  13. #13
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,987

    Re: Help!,Play wave file while calling in n97

    yes i worked on it that is why i am much confident about it.Download the APS v2.4.3 & which is in fp2 sdk plugins.Use that APS in you project & do install its supporting sis file in N97.

    see this link :http://discussion.forum.nokia.com/fo...d.php?t=169943
    & follow post#42.

  14. #14
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    72

    Re: Help!,Play wave file while calling in n97

    Quote Originally Posted by vineet.jain View Post
    yes i worked on it that is why i am much confident about it.Download the APS v2.4.3 & which is in fp2 sdk plugins.Use that APS in you project & do install its supporting sis file in N97.

    see this link :http://discussion.forum.nokia.com/fo...d.php?t=169943
    & follow post#42.
    Dear Vineet.jain:
    I am glad to hear your message.Could you give me a sis file installed on N97?I want to try it tomorrow.
    Thanks

  15. #15
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,987

    Re: Help!,Play wave file while calling in n97

    sis file?.. which one the APS supporting or the project sis file.If your are saying of project sis file, then i cannot give that to you, as i did the project a long ago , so you need to try implement it yourself.

Similar Threads

  1. File reading & writing help, wav file redaing help
    By shubhamlahoti in forum Mobile Java General
    Replies: 6
    Last Post: 2007-06-27, 09:07
  2. File server: Compilation error in carbide.c++
    By justteam in forum Symbian
    Replies: 6
    Last Post: 2007-01-03, 23:44
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. 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
  •  
×