"ext Zhang, Xing Z" <[email protected]> writes:

>          I am trying to write a provider for properties “Screen.TopEdge” and
> “Screen.IsCoevered”. When provider starting, it complains “Connecting to
> deprecated signal QDBusConnectionInterface::serviceOwnerChanged
> (QString,QString,QString)”.

As Rusty has said, this is very likely not the reason why things don't
work for you.

> From the contextkit-commander, TopEdge/IsCoverded show UNKNOWN and no
> provider listed in last column.

This means that no provider was declared for the property.  You need to
drop a file into /usr/share/contextkit/providers and run
update-contextkit-providers.  See here for more details:

    
http://zagadka.vm.bytemark.co.uk/docboy/contextkit-doc/html/context-providers.html

Your file must be named "com.intel.meego.provider.context" and it should
probably contain this:

    <provider bus="session"
              service="com.intel.meego.provider">
      <key name="Screen.TopEdge"/>
      <key name="Screen.IsCovered"/>
    </provider>

See "Providing core properties" for why there is no type and
documentation in your declaration.


Also have a look at the example provider here:

     http://maemo.gitorious.org/maemo-af/contextkit-provider-example

(I guess we should clean that example up a bit, it has accumulated some
cruft from earlier versions...)
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to