syncML + Google Contacts API

114 views
Skip to first unread message

Addy

unread,
May 6, 2008, 1:18:18 PM5/6/08
to Google Contacts API
Hi everybody,
What i want to do- To syncronize the contacts on my Symbian S60 v3
based phone (Nokia E61i) with the contacts in my Gmail account.
I know i can go thru the lengthy process of exporting gmail contacts
to outlook format CSV, import the CSV file in outlook, and then use
Nokia PC suite to sync the phone with the outlook. But this approach
sucks!

what i want to do is to write a java application (initially desktop
app) which connects to the syncML client on my Nokia handset on one
end and my gmail contacts on the other end. The application can talk
to phone using syncML and can talk to Gmail contacts using this
"Google Contacts API".
I am hoping this is possible. I have found a java based (open source)
syncML server - sync4j, and i am hoping that something like what i
have in mind can be achieved.

I request u to please tell me if this is possible and kindly point me
in the right direction.

At a later stage i would like to also port this application to web
based. Java based syncML server code is already available (sync4j) and
i think it will be real cool to be able to use the syncML client on a
phone to synchronize with contacts on one's google account.
I am aware that the protocols for syncML and Google contacts API are
different, but there's where i want to step in.

Hope what i say is legible.
Am new to groups.

thanks
Addy

Daniel

unread,
May 6, 2008, 1:25:40 PM5/6/08
to Google Contacts API
Something like this is inevitably a lot of labor, with some subtle and
complex problems. If you have to ask generically if its possible, it
may not be the task for you to take on. That said it may be
possible. You could also write a midp application on your phone to do
this. Ultimately, you'll have to do the work of examining the API's
and prototyping the various integration points to know if it will
work.

Addy

unread,
May 6, 2008, 4:33:05 PM5/6/08
to Google Contacts API
#1. Writing a MIDP app to do this on my phone defeats the purpose
(atleast some part of it ) :-)
there are already methods to do this (similar to repeated export and
import of data), the whole point me thinking of this app is to allow
me and other users to sync their mobile contacts and gmail contacts
just like they can sync mobile contacts and Outlook contacts using
Nokia PC suite.
I personally hate outlook as using outlook defeats the whole purpose
of me spending this much money on a phone. :D

#2. I do understand that there will definitely be some problems
(pretty complex) when trying to make google talk to syncML. I will
still try my hands at this.

#3 >" If you have to ask generically if its possible, it
>may not be the task for you to take on. That said it may be
>possible."

thanks for pointing this out.

Addy

Daniel

unread,
May 6, 2008, 10:28:35 PM5/6/08
to Google Contacts API
I hope I didn't sound like a jerk, I didn't mean to anyway.

I don't know anything about the Nokia suite, but since MIDP is a pain
in the neck, anything else might be faster.

Addy

unread,
May 7, 2008, 12:51:51 AM5/7/08
to Google Contacts API
No, u did not sound like a jerk.
Atleast u were a bit interested to hear me out, everyone else at my
university feels i am trying to mix Gin and and Vodka and drink it
through a pipe. :-)

To clarify a bit about what i want to do:-
I am currently using a website www.mobyko.com to primarily backup my
contacts online. But i really like their approach. They allow me to
use the syncML client on my phone to sync the contacts on my phone and
their online database. Thus i do not need to install any new
application on my phone etc etc.....
I want to do something similar but a step further.To use syncML client
on Nokia or any other phone for that matter (I know for a fact that a
lot of Blackberries out there and SE phones and all WindowsMobile
based phones also have syncML clients) and write a server application
which acts as a glue between syncML and google contacts api, allowing
me to seamlessly sync my gmail account and mobile phone.

why i want to do this :-
#1. As gmail allows IMAP4 access for free and the nokia IMAP4 client
rocks. So i am frequently using the IMAP4 client on my phone to send
emails, rather than using the gmail application as i used to do
previously. But this causes one small problem, as each time i receive
mail from a new user, i have to export his vcard from gmail, and then
store it on my phone for future use (or remember his email address in
my brain).
#2 Backing up my contacts on google will be the ultimate high, as even
if aliens try to nuke your data centers out, u guys will still have a
replicated database somewhere inside a mountain.

anyways, thanks for the replies. I will let you know if i make some
progress.

Addy

Daniel

unread,
May 7, 2008, 1:38:11 PM5/7/08
to Google Contacts API
Well, it does sound like you've thought a lot about your requirements,
so that's good.

The main problem with the Google API is that the name and address
fields are unstructured, i.e. just two text fields, and most other
api's break them into first name, last name, street number, etc. And
also the Google API allows for relatively unlimited amounts of emails
and postal addresses, so that's something to consider.

On May 6, 9:51 pm, Addy <mradityago...@gmail.com> wrote:
> No, u did not sound like a jerk.
> Atleast u were a bit interested to hear me out, everyone else at my
> university feels i am trying to mix Gin and and Vodka and drink it
> through a pipe. :-)
>
> To clarify a bit about what i want to do:-
> I am currently using a websitewww.mobyko.comto primarily backup my

domquem

unread,
May 8, 2008, 6:49:57 AM5/8/08
to Google Contacts API
Hello Guys,

I am also looking at the Google Contacts API and how i can integrate
it with syncML to backup phone contacts, pictures, as well as short
messages.

Unfortunately, this two technologies use different protocols, the API
has limitations ...could anyone shed more light on this.

Many thanks
DominiQue


On May 7, 8:38 pm, Daniel <danny.t...@gmail.com> wrote:
> Well, it does sound like you've thought a lot about your requirements,
> so that's good.
>
> The main problem with the Google API is that the name and address
> fields are unstructured, i.e. just two text fields, and most other
> api's break them into first name, last name, street number, etc. And
> also the Google API allows for relatively unlimited amounts of emails
> and postal addresses, so that's something to consider.
>
> On May 6, 9:51 pm, Addy <mradityago...@gmail.com> wrote:
>
> > No, u did not sound like a jerk.
> > Atleast u were a bit interested to hear me out, everyone else at my
> > university feels i am trying to mix Gin and and Vodka and drink it
> > through a pipe. :-)
>
> > To clarify a bit about what i want to do:-
> > I am currently using a websitewww.mobyko.comtoprimarily backup my

Addy

unread,
May 9, 2008, 5:02:08 AM5/9/08
to Google Contacts API
I completely agree with u dominique.
Making two different technologies talk is not easy, and then there are
also some issues raised by Daniel.

btw, which platform are you using? Java, .net or something else.
I would like to know and discuss what approach u are thinking to use.

cheers
Addy

On May 8, 3:49 pm, domquem <domq...@gmail.com> wrote:
> Hello Guys,
>
> I am also looking at the Google Contacts API and how i can integrate
> it with syncML to backup phone contacts, pictures, as well as short
> messages.
>
> Unfortunately, this two technologies use different protocols, the API
> has limitations ...could anyone shed more light on this.
>
> Many thanks
> DominiQue
>
> On May 7, 8:38 pm, Daniel <danny.t...@gmail.com> wrote:
>
> > Well, it does sound like you've thought a lot about your requirements,
> > so that's good.
>
> > The main problem with the Google API is that the name and address
> > fields are unstructured, i.e. just two text fields, and most other
> > api's break them into first name, last name, street number, etc. And
> > also the Google API allows for relatively unlimited amounts of emails
> > and postal addresses, so that's something to consider.
>
> > On May 6, 9:51 pm, Addy <mradityago...@gmail.com> wrote:
>
> > > No, u did not sound like a jerk.
> > > Atleast u were a bit interested to hear me out, everyone else at my
> > > university feels i am trying to mix Gin and and Vodka and drink it
> > > through a pipe. :-)
>
> > > To clarify a bit about what i want to do:-
> > > I am currently using a websitewww.mobyko.comtoprimarilybackup my

domquem

unread,
May 9, 2008, 9:12:46 AM5/9/08
to Google Contacts API
We are looking to use java but this will depend with various factors
as earlier discussed.

This is my approach: a very simple illustration:

<phone>---(syncML)---{javaApp---Oracle DB}---(GoogleAPI)----<GOOGLE>

I haven't had enough time to completely analyzing it - but basically
this is the general idea in mind right now.

Any suggestions / observations are welcome.

Dominique

Addy

unread,
May 9, 2008, 9:24:27 AM5/9/08
to Google Contacts API
Why and How does Oracle DB come in this picture?

as i see it, a enterprise java application can talk to do the
following:-

<phone>-------(SyncML)-------[java EE app] ---------(Google
API)---------<google>

i don,t understand why a database is required.

As i see it, a java app will need to act as a glue to allow SyncML
protocol talk to Google API.
Unless u are interested in saving user contacts on ur website too, for
some other purposes, i do not see why a database is required.

I have done some research on this during the past week and i think i
know where and how to start.
Just that i am not looking at commercializing it, and this is just a
personal need that i wanted fulfilled.
However i am a student and java developer, and if u are interested i
would like to work with/for u.

thanks
Addy

PS:
Hope this message does not violate any rules of this group.
I am sorry if it does. If someone finds any violation plz point it out
to me.

DominiQue Mabia

unread,
May 9, 2008, 9:59:49 AM5/9/08
to google-co...@googlegroups.com
the purpose of having an oracle db initially is to temporarily store phone contacts - then we have the java application reading the db ,
and parsing the info to the api which then updates Google...i dont know how feasible that is...but generally thats why the DB

Gsync looks great!!

2008/5/9 Addy <mradit...@gmail.com>:



--
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DominiQue Mabia.
Dom...@Gmail.com
http://domquem.blogspot.com/
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

dbrattli

unread,
May 12, 2008, 1:26:27 AM5/12/08
to Google Contacts API
Hi,

Feel free to test http://sync.obexcode.com. You can sync google
contacts, calendar and facebook friends with your mobile phone.
Supports SyncML phones and Windows Mobile (contacts only). Have fun!

-- Dag

smn

unread,
May 18, 2008, 5:48:05 PM5/18/08
to Google Contacts API
Hi guys,

Sorry for the plug, but at Soocial.com we've built this. We're syncing
mobile phones to & from gmail, os x address book and outlook in the
near future.

I'm anxiously waiting for the Google contacts api to support groups
too so that we'll be able to sync those fully to GMail too.

cheers, Simon
Soocial.com

On May 8, 12:49 pm, domquem <domq...@gmail.com> wrote:
> Hello Guys,
>
> I am also looking at the Google Contacts API and how i can integrate
> it with syncML to backup phone contacts, pictures, as well as short
> messages.
>
> Unfortunately, this two technologies use different protocols, the API
> has limitations ...could anyone shed more light on this.
>
> Many thanks
> DominiQue
>
> On May 7, 8:38 pm, Daniel <danny.t...@gmail.com> wrote:
>
> > Well, it does sound like you've thought a lot about your requirements,
> > so that's good.
>
> > The main problem with the Google API is that the name and address
> > fields are unstructured, i.e. just two text fields, and most other
> > api's break them into first name, last name, street number, etc. And
> > also the Google API allows for relatively unlimited amounts of emails
> > and postal addresses, so that's something to consider.
>
> > On May 6, 9:51 pm, Addy <mradityago...@gmail.com> wrote:
>
> > > No, u did not sound like a jerk.
> > > Atleast u were a bit interested to hear me out, everyone else at my
> > > university feels i am trying to mix Gin and and Vodka and drink it
> > > through a pipe. :-)
>
> > > To clarify a bit about what i want to do:-
> > > I am currently using a websitewww.mobyko.comtoprimarilybackup my
Reply all
Reply to author
Forward
0 new messages