Re: Changes to BitPim schema
"Joe Pham" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
>> 1. Add fields 'speeddial', 'ringtone', and 'wallpaper' to 'emails'
>>What are the semantics of this?
phonebook[index]['emails']=[{ 'email': <string>, 'type': <string>, 'speeddial': <int>, 'ringtone': <string>, 'wallpaper': <string> }, ...]
>> { 'entry': string of names, numbers separated by '\x00\x00'
>That should be a standard python list.
It should, though I wasn't quite sure the database would take it, so I forced it to be a string instead:
phonebook[index]['maillist']=[ { 'entry': [ <string> ...] ... or
phonebook[index]['maillist']=[ { 'entry': [ { 'name': <string } ... ]
>Also what happens if two people have the same name?
The mail list items are either phone numbers and/or email addresses.
>It sounds like this should be a list of references to contact entry
>ids.
It is a list of speed dials (index) of the phone numbers/email addresses of the mail list.
-Joe Pham
_____________________________________________________________________
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642