On Sat, 2006-01-14 at 15:25, ext ç¨æ³¢ ç¨ wrote:
> simple a button,press it then begin to BT search
> I do like this:
> button_clicked_cb
> {....
> osso_rpc_run_with_defaults(osso_context,"btsearch","start_search",NULL,NULL,
> DBUS_TYPE_INVALID);
> );
> ....
> }
> the problem is how I should write to get the signal
> from com.nokia.btsearch.signal interface.
> anybody help me? thanks very much!!
I think you have to use the DBus API directly. For example, use
dbus_connection_add_filter() to register a callback function and
subscribe to the signal with dbus_bus_add_match(). You can get the DBus
connection from Libosso with osso_get_sys_dbus_connection().
BR; Kimmo
>
>
>
>
>
>
> ___________________________________________________________
> é
è1Gå
è´¹é®ç®±ç¾åç¾é²åå¾ä¿¡
> http://cn.mail.yahoo.com/
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://maemo.org/mailman/listinfo/maemo-developers
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers