×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    21

    Is there any example to read gconf key/value by publish subscribe api of QtMobility?

    Is there any example to read gconf key/value by publish subscribe api of QtMobility?
    or Is there any example to read gconf key/value just in Qt creator (not scratchbox)?
    www.rocjohn.com

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Is there any example to read gconf key/value by publish subscribe api of QtMobili

    Hi,


    You need to use libgq-gconf Api for reading or modifying the gconf items on n9.

    Api doc is available at -

    http://harmattan-dev.nokia.com/docs/...1nY29uZg%3D%3D

    And here is an example of using the api from developer documentation -

    http://harmattan-dev.nokia.com/docs/..._to_GConf.html

    If you do not want to use QML, you can use just the GConfItem class api directly without creating a qml proxy plugin.

    If you are using QtCreator instead of scratchbox, you need to do the below -

    The api is not available by default,

    To have Harmattan API support, open the SDK Maintenance tool and find the MeeGo Harmattan target inside the experimental selection, install it.

    QtCreator->Help(Menu option)->Start Updater->Package Manager->Experimental->Harmattan Platform API (See description)

    Select it and start update. This will install harmattan platform api library support. Then you should be able to use the platform api.

    Hope this helps. Let us know if you have any problems understanding the above
    Last edited by kusumk; 2012-03-01 at 04:23. Reason: adding qtcreator details

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    21

    Re: Is there any example to read gconf key/value by publish subscribe api of QtMobili

    Thanks you very much !

    In the Qt Mobility 1.2, the Publish and Subscribe refer to GConf Layer, how to binding Publish and Subscribe to GConf Layer and to read/write some GConf key/value? is there are some example ?
    There are also QML ValueSpacePublisher Element, can i use it in QML to read/write some GConf key/value? and some examples?

    Thanks.
    www.rocjohn.com

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Is there any example to read gconf key/value by publish subscribe api of QtMobili

    Do you want it for a desktop app? or are you asking the above for N9 harmattan?

    It can be used for GConf only on Desktop environments that use GNOME as mentioned in the documentation.

    ContextKit Layer The ContextKit layer provides a non-permanent Value Space backing store using ContextKit. This layer is only available on MeeGo and Maemo platforms.

Similar Threads

  1. Need help with publish/subscribe
    By rsiudak in forum Symbian
    Replies: 3
    Last Post: 2009-10-11, 00:36
  2. About Publish and Subscribe
    By xhsoldier in forum Symbian
    Replies: 8
    Last Post: 2009-07-22, 11:30
  3. Publish & Subscribe key for
    By patrickfrei in forum Symbian
    Replies: 1
    Last Post: 2007-11-01, 09:42
  4. How can we use publish n subscribe.
    By lal.rajan in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-02-20, 06:01
  5. Another problem on Publish/subscribe
    By xhsoldier in forum Symbian
    Replies: 14
    Last Post: 2006-06-20, 11:29

Posting Permissions

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