×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    4

    What happened to ApUtils.h in S60_2nd_FP3?

    What happened to ApUtils.h in S60_2nd_FP3? Has it just been removed from the API without notice or is it just missing in the SDK? Can't remember reading anything about this library being deprecated..

    My program depends on
    TUint32 CApUtils::IapIdFromWapIdL(TUint32 aUid)
    and
    TUint32 CApUtils::WapIdFromIapIdL(TUint32 aUid)

    Anyone have an idea on how to bypass these methods/find this information through another, still available, library?

    Thank you in advance

    Longtemp

  2. #2
    Registered User
    Join Date
    Oct 2004
    Location
    Paris
    Posts
    29

    Re: What happened to ApUtils.h in S60_2nd_FP3?

    I'm facing the same pb! Did you get any info?

    The FP3 SDK doc no more contains any ref to IapIdFromWapIdL...
    Seems that the apengine.lib has been removed from the SDK, but I guess it is still present on the phone because the code compiled with an older SDK (and actually using IapIdFromWapIdL()...) works fine on FP3 device

  3. #3
    Registered User
    Join Date
    Oct 2004
    Location
    Paris
    Posts
    29

    Re: What happened to ApUtils.h in S60_2nd_FP3?

    More info on this: I could not resist the temptation of copying both aputils.h and apengine.lib from the S60_2nd_FP2 SDK into S60_2nd_FP3 SDK. And it just worked straight.

    No need to say this is certainly a very dirty/unsafe thing to do... And I guess that the API exported by aputils.h should not be used anymore (replaced by CApSettingsHandler?)

  4. #4
    Registered User
    Join Date
    Mar 2005
    Posts
    4

    Re: What happened to ApUtils.h in S60_2nd_FP3?

    You may be on to something there afelon... The beta version of the FP3 SDK missed even more libraries, so it may be the case that the SDK-developers just forgot to bundle in this library..?

    Hope someone can verify this or give us a better explanation.

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    Re: What happened to ApUtils.h in S60_2nd_FP3?

    I had the same problem and decided to avoid using the apengine.lib and replace it with full supported library.
    So, instead of:
    CApUtils* apUtils = CApUtils::NewLC(*commDb);
    TUint32 iapId = apUtils->IapIdFromWapIdL(intVal); //convert
    CleanupStack::PopAndDestroy(apUtils);
    i use:
    TUint32 iapId = 0;
    CCommsDbTableView* pIAPView = commDb->OpenViewMatchingUintLC(TPtrC(IAP), TPtrC(IAP_SERVICE), intVal);
    TInt nErr = pIAPView->GotoFirstRecord();
    if(nErr == KErrNone) {
    TRAPD(err, pIAPView->ReadUintL(TPtrC(COMMDB_ID), iapId));
    if(err != KErrNone)
    iapId = iError;
    }
    else
    iapId = iError;
    CleanupStack::PopAndDestroy(pIAPView);

    With this code you dont have to aware of the apengine.lib or aputils.h

Similar Threads

  1. What happened to the 6682
    By lorinrivers in forum General Development Questions
    Replies: 3
    Last Post: 2005-10-07, 00:34
  2. What's happened to software market?
    By chrisbtoo in forum Mobile Java General
    Replies: 1
    Last Post: 2005-07-05, 02:24
  3. What has happened to publicnews.epocworld.com?
    By smueller in forum Symbian
    Replies: 0
    Last Post: 2005-01-05, 10:01
  4. What happened to gsmu.lib in the Series 60 SDK
    By torsen in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-05-07, 10:18
  5. problem happened with 3650 software
    By falconfather in forum General Development Questions
    Replies: 2
    Last Post: 2003-11-13, 08:14

Posting Permissions

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