×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    5

    Question N9: Getting access to Call minute counters and msm counters

    Hi,
    I just started my first MeeGo-project. I try to make program that starts when I call to someone and show how much I had talked in that month.
    How can I get access to counters value in N9 Settings>Device>Counters?
    any help

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: N9: Getting access to Call minute counters and msm counters

    Not really sure but I guess it's saved somewhere in GConf DB. I asked to some Nokia guys, I will back to you as soon as I've an answer.

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    5

    Re: N9: Getting access to Call minute counters and msm counters

    Still waiting cos haven't find the way.

  4. #4
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: N9: Getting access to Call minute counters and msm counters

    Hi,
    to get call counters you can use this method
    dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.GetCallTimers

    CSD is introspectable, so you could get more info about this with the following command:
    dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call org.freedesktop.DBus.Introspectable.Introspect

  5. #5
    Registered User
    Join Date
    Nov 2011
    Posts
    5

    Re: N9: Getting access to Call minute counters and msm counters

    I try to
    #include <QDBusConnection>
    but it keep saying that "no such file or directory". Do I need to do some settings to my project or should it just work fine. I'm working on Qt Creator and blank Qt Quick Application with Qt Quick Components for Meego/Harmattan.

  6. #6
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: N9: Getting access to Call minute counters and msm counters

    You forgot to add
    QT += dbus
    to your project file

  7. #7
    Registered User
    Join Date
    Nov 2011
    Posts
    5

    Re: N9: Getting access to Call minute counters and msm counters

    I added
    QT += dbus
    to my .pro-project file but still same error. I have tried find examples/tutos but those are not dealing this.

  8. #8
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: N9: Getting access to Call minute counters and msm counters

    Hi,
    Add QT += dbus as last line of your .pro file and run qmake again.
    It worked for me.

  9. #9
    Registered User
    Join Date
    Nov 2011
    Posts
    5

    Re: N9: Getting access to Call minute counters and msm counters

    Quote Originally Posted by gnuton View Post
    Hi,
    Add QT += dbus as last line of your .pro file and run qmake again.
    It worked for me.
    Didn't work for me :/ and still trying #include <QDBusConnection> and same error: QDBusConnection: No such file or directory

  10. #10
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: N9: Getting access to Call minute counters and msm counters

    Hi,
    I've uploaded here [1] one of my example which makes use of QDBus.
    Can you compile it?

    http://www.mediafire.com/?2ki9kblg8ge3j17

Similar Threads

  1. How to reset the Call Log counters.
    By vinuk4u in forum Symbian
    Replies: 3
    Last Post: 2010-06-18, 07:58
  2. bytes in Data Connection Log Counters
    By bravvve in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2009-09-13, 00:08
  3. Performance Counters
    By raghu_an in forum Symbian
    Replies: 3
    Last Post: 2005-03-11, 10:29
  4. Call counters/timers
    By Jasmijn in forum General Development Questions
    Replies: 1
    Last Post: 2004-07-12, 14:01
  5. I'm from China, I want to learn the development in other counters.
    By johnnylzb in forum Mobile Java General
    Replies: 1
    Last Post: 2003-07-12, 16:13

Posting Permissions

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