×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Not able to initialize radio thru Radio Utility API

    After trying the following code i am not able to initialize the Radio.

    Code:
    ///class member
    CRadioUtility* iRadioUtility;
    CRadioFmTunerUtility* iFmTunerUtility;
    CRadioPlayerUtility* iPlayerUtility;
    
    //initializing the radio
    TRAPD(utilityError,iRadioUtility = CRadioUtility::NewL(ETrue);
    		// Get a tuner utility
    		iFmTunerUtility = &iRadioUtility->RadioFmTunerUtilityL(*this);
    		// Get a player utility
    		iPlayerUtility = &iRadioUtility->RadioPlayerUtilityL(*this);
    	);
    	
    iFmTunerUtility->EnableTunerInOfflineMode(ETrue);
    iFmTunerUtility->SetFrequency(94);
    iFmTunerUtility->SetFrequencyRange(EFmRangeEuroAmerica);
    iFmTunerUtility->StationSeek(ETrue);
    Download Radio Utility API
    Source:http://wiki.forum.nokia.com/index.php/SDK_API_Plugin

    Has anybody tried this.Any help in this regard would be great.
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Not able to initialize radio thru Radio Utility API

    Although I do not know the API, it may matter if you specify the SDK and the device you use.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: Not able to initialize radio thru Radio Utility API

    wizard_hu_ thnx for the reply.
    Using S60 5th Edition and checking on N97 device directly.

    Actually if u chk qt-mobility apis
    http://qt.gitorious.org/qt-mobility/...3121ab80.patch

    //Function
    bool S60RadioTunerControl::initRadio()

    It is using the same api
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

Similar Threads

  1. Is there a C++ API for the video player
    By avbrozhko in forum Symbian
    Replies: 9
    Last Post: 2008-06-06, 14:34
  2. Cryptography (cryptalg) API on Series 60?
    By cbrueckner in forum Symbian Networking & Messaging (Closed)
    Replies: 20
    Last Post: 2006-10-31, 12:05
  3. api to activate and deactivate FM RADIO
    By rifaccio in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-07-09, 07:40
  4. Cryptography (cryptalg) API on Series 60?
    By cbrueckner in forum Symbian
    Replies: 0
    Last Post: 2003-05-08, 11:16
  5. Cryptography (cryptalg) API on Series 60?
    By cbrueckner in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-08, 11:12

Posting Permissions

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