up

2010/4/14 Walt <[email protected]>

> Hi!
>
> I'm trying to develop an application on Android 2.1 emulator, even if
> I'm a newbie! :)
> My application connects in background to a remote server through an
> HTTPConnection with REST Protocol, and gets updates in JSON format. A
> Digest parses these JSONObject and then fills its local Databases with
> the new datas. The Server can also send to the mobile application a
> list of new contacts to add in the system PhoneBook.
> Here's my question: how can I make a new contact from a bunch of datas
> and insert it in the system PhoneBook in Android 2.1, without any
> interaction with the user? Moreover, how can I get these datas back
> when I need it?
> I have tried to do it like the ContactAdder in the ContactManager
> sample (http://developer.android.com/resources/samples/ContactManager/
> index.html) does, but it works only if I specify an account for the
> sync function, and I don't need this feature in my application, so I
> don't have any account to select! Is there a way to do the same things
> the ContactAdder does without specifying an account (something like
> creating "Phone-only (unsynced) contacts")?
>
> Thanks for your attention. I hope to read an answer soon. :)
> Walt
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to