×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    30

    How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Hi all,

    I am trying to use the Adaptive History List plugin added for SDK 3.2 but I don't know the parameter to use for: MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName).
    What is aDatabaseName? Anyone knows?

    Thanks!

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    have you tried the example in wiki. http://wiki.forum.nokia.com/index.ph...story_List_API
    Last edited by skumar_rao; 2008-11-24 at 10:12. Reason: added wiki link

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    In Feature Pack 2, the extension plugin doesn't contain the CAHLE class unfortunately

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Noone tried to use ahle2client.lib and MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)????

    Anyone from Nokia to the rescue? The documentation says nothing

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    if it has been removed from PlugIn API you can ask for Nokia partnering API.

  6. #6
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Hi again skumar_rao,

    I can get it for SDK 3 FP 1 but it wouldn't work for SDK 3 FP 2. Now there is one that works (compiles) for SDK 3 FP 2 but there is no example code or documentation that explains what the database name can be, being a descriptor, it pretty much could be anything!!! And I tried random parameters (RecentUrlStore, etc...) but no luck.

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Quote Originally Posted by princesse_sahara View Post
    Hi again skumar_rao,

    I can get it for SDK 3 FP 1 but it wouldn't work for SDK 3 FP 2. Now there is one that works (compiles) for SDK 3 FP 2 but there is no example code or documentation that explains what the database name can be, being a descriptor, it pretty much could be anything!!! And I tried random parameters (RecentUrlStore, etc...) but no luck.
    that is not a good idea to copy Plug-In APIs between SDKs, in most cases it will not work it is documented .

  8. #8
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    I am desperate that is why I tried the plugin for SDK 3 FP 1 on FP 2 :)

    I am developping for SDK 3 FP 2 and I need to know who knows how to use this API that is in the extension plugin for SDK 3 FP 2...

  9. #9
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    as MAHLEGenericAPI is not Open till now for FP2 you have to contact Nokia Support.

  10. #10
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Ok I will, but how can you know this API isn't open? And so does this mean the methods will just return dummy values?

  11. #11
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Quote Originally Posted by princesse_sahara View Post
    Ok I will, but how can you know this API isn't open? And so does this mean the methods will just return dummy values?
    mostly the interface DLL has been changed so might not work.

  12. #12
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    I've run a quick test with the API in the SDK's emulator and it does not seem to work.

    You could probalby create your own history list but you cannot access another application's database.

    I'll get back to you once I have more details.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  13. #13
    Registered User
    Join Date
    May 2004
    Posts
    30

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    Hi Itomuta,

    Thanks for trying! What parameter did you put for aDatabaseName? And yes I could create my own history I guess, but it would be more proper to get it from where it is stored on the phone...

  14. #14
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    i am too waiting for your response .

  15. #15
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to use MAHLEGenericAPI* NewAHLEClientL(const TDesC& aDatabaseName)?

    If I'll get it working I'll give you the detailed solution, if not we will just have to drop the idea of using the API on S60 3.2
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Trouble with TDesc&
    By gigglie in forum Symbian
    Replies: 7
    Last Post: 2007-12-28, 06:39
  2. How to Convert Tint to const TDesC& ?
    By HidayathKhan in forum Symbian
    Replies: 6
    Last Post: 2007-10-17, 13:09
  3. Problem with TParse and TDesC&
    By jensesaat in forum Symbian
    Replies: 3
    Last Post: 2007-01-09, 08:33
  4. how to convert HBufc* to TDesC&
    By starryshen in forum Symbian
    Replies: 5
    Last Post: 2004-03-03, 08:28
  5. convert char* to TDesC&...
    By sbleriot in forum Symbian
    Replies: 1
    Last Post: 2002-12-16, 11:48

Posting Permissions

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