None knows? If it's not implemented yet when to expect it? Not having documentation is really frustrating :( My development is stalled just because I don't know the status of opimd :(
Leonti On Sun, Apr 12, 2009 at 11:27 PM, Leonti Bielski <prishe...@gmail.com>wrote: > Hello! > I'm trying to work with opimd for storing phone contacts. > Here what I do to add new contact: > > obj = dbus.SessionBus().get_object('org.freesmartphone.opimd', > '/org/freesmartphone/PIM/Contacts') > contacts = dbus.Interface(obj, 'org.freesmartphone.PIM.Contacts') > contact = {'name':'test_name' , 'number':'+48888691184', ' > email':'prishe...@gmail.com <email%27%3a%27prishe...@gmail.com>') > contacts.Add(contact); > > What I do to retrieve contact knowing phone number: > > qw = {'number':'+48888691184'} > query_path = contacts.Query( qw ) > queries_obj = dbus.SessionBus().get_object('org.freesmartphone.opimd', > query_path) > query_int = dbus.Interface(queries_obj, > 'org.freesmartphone.PIM.ContactQuery') > query_int.Skip(query_int.GetResultCount() -1) > print query_int.GetResult() > > So now I have some questions: > 1. How to use regular expressions in queries? > 2. How to edit entries in contact? All I can do is to add new contact and > query some stuff. > 3. If I have say names like Leonti, Leontig, Leontd and so on, after > querying for Leontig I get all of them. Is that intended? > 4. Is it possible to delete contact? If so how do I do that. > > Hope for understanding. > > Leonti >
_______________________________________________ smartphones-standards mailing list smartphones-standards@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-standards