I am gonna do that tonight.
Maurice
Code: Select all
widget.setPreferenceForKey(<complete>,'contacts');
var contacts = widget.preferenceForKey('contacts');
MauriceThe addressbook looks like
[{"fname":"anton","lname":"whatever","phone":"","mobile":"","email":"","note":"","subject":"","mail":""},
{"fname":"fake","lname":"","phone":"","mobile":"","email":"fake@2.com","note":"","subject":"","mail":""},
{"fname":"jane doe","lname":"last name","phone":"","mobile":"","email":"","note":"","subject":"","mail":""},
{"fname":"john","lname":"doe","phone":"","mobile":"","email":"","note":"","subject":"","mail":""},
{"fname":"maurice","lname":"van kruchten","phone":"","mobile":"","email":"mauricevankruchten@gmail.com","note":"","subject":"","mail":""},
{"fname":"john","lname":"Whatson","phone":"","mobile":"","email":"","note":"","subject":"","mail":""}]
Copy and paste it in an empty textfile and put in your names phone numbers etc. to add more addresses just copy the full address string
{"fname":"","lname":"","phone":"","mobile":"","email":"","note":"","subject":"","mail":""}
And paste it below the others, but be sure the entire address book is surounded by [ ]. These should only appear once in the address book.
Now upload your txt file somewhere and be sure to know the direct link to it. You have to put the direct link into the my gmail address book config page and press the restore button.
A tutorial for uploading the txt file to google pages can be found here http://my.opera.com/maurice118/blog/ste ... ook-backup
Code: Select all
Name,E-mail Address,Notes,E-mail 2 Address,E-mail 3 Address,Mobile Phone,Pager,Company,Job Title,Home Phone,Home Phone 2,Home Fax,Home Address,Business Phone,Business Phone 2,Business Fax,Business Address,Other Phone,Other Fax,Other Address
Fake Guy, ieat@sh.it, 34 Fake Street, bla, bla,,,,,,
,noname@online.com,,,,,,,
George Bush, gbush@penthouse.com,,,,,,