Hi,

M_o_n_k_e_y wrote:
> 
> It is possibile to use GLib for this?
> 
 Probably. I'm not sure.

M_o_n_k_e_y wrote:
> 
> Can I find the full code you used? 
> 
  Sure. Here's the relevant portion.

        msg = dbus_message_new_method_call(
                    "org.freesmartphone.opimd",
                    "/org/freesmartphone/PIM/Contacts",
                    "org.freesmartphone.PIM.Contacts",
                    "Query"
        );
        dbus_message_iter_init_append(msg, &iter);
        dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "{sv}", 
&array);
        dbus_message_iter_open_container(&array, DBUS_TYPE_DICT_ENTRY, 0, 
&dict);
        dbus_message_iter_close_container(&iter, &array);

        e_dbus_message_send(conn, msg, get_contacts_count, -1, NULL);
        dbus_message_unref(msg);

  which corresponds to 
        mdbus -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts
org.freesmartphone.PIM.Contacts.Query {}
HTH
-- 
View this message in context: 
http://n2.nabble.com/dbus-help-needed-in-sending-an-a-sv-tp3476909p4169202.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.

_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to