ddworken / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Enable scripting to manage contacts and groups #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enhancement request:  Enable scripting (in Python and other tools) to 
manage contacts and contact groups directly on the phone.

Specifically, would like the ability to create, replace, update and delete 
contacts, including photo attributes.

Also would like the ability to create and edit contact groups.

Also, the ability to add a new contact specifically to a group directly on 
the phone.

Also, delete all contacts for a group, to enable a fresh reload from 
external sources.

Also, toggle sync of contacts, globally and by group, directly on the 
phone.

Original issue reported on code.google.com by boomerbubba@gmail.com on 16 Sep 2009 at 9:46

GoogleCodeExporter commented 9 years ago
As I understand the problem, giving access to the content provider API should 
solve
this issue.

If there is a way to build, read and write 'content://' uri, all of the above 
will be
possible. 

Original comment by oli.sa...@gmail.com on 8 Mar 2010 at 2:14

GoogleCodeExporter commented 9 years ago
To help the problem along, I've hacked up a quick and dirty Contacts API to 
serve as
the jumping-off point for any further development.

Please find attached a patch for AndroidFacade.java to provide a simple 
(read-only)
contacts-querying API.

IMPORTANT: Please note this patch relies on the suggested fix I submitted for 
Issue
288 (http://code.google.com/p/android-scripting/issues/detail?id=288).

Original comment by shaper.pmp@gmail.com on 12 Apr 2010 at 11:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch. Although code will probably end up in different file as 
we tend 
to keep things organized a bit... :)

I'll just wait for @Damon to accept the feature request...

Original comment by MeanEYE.rcf on 13 Apr 2010 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 13 Apr 2010 at 10:46

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 13 Apr 2010 at 10:46

GoogleCodeExporter commented 9 years ago
@MeanEYE.rcf: No problem - I debated creating a new "ContactsFacade" class, but 
I'm
not too familiar with the ASE codebase yet, so I thought I'd throw what I had 
out
there as a starting point. ;-)

I'm actually interested in hacking on ASE some more and submitting more
patches/bug-fixes/enhancements, but I've never contributed to a Google code 
project
before - can you tell me if there's an approved way to do it, or is "attaching
patches to issues" convenient enough for you guys?

Original comment by shaper.pmp@gmail.com on 13 Apr 2010 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 6 Jun 2010 at 5:29

GoogleCodeExporter commented 9 years ago
Is it currently possible?

Original comment by chobi....@gmail.com on 6 Jan 2013 at 2:59

GoogleCodeExporter commented 9 years ago
Somehow, am still the owner of this feature request, although I am no longer 
involved with the project. Someone else should take a look at it.

Sorry chobi.0ne.

Original comment by MeanEYE.rcf on 6 Jan 2013 at 3:15

GoogleCodeExporter commented 9 years ago
It's fine. I found the way to do it for my needs via gdata.contacts . It does 
everything I need online via google services and then syncs with my phone.
Thank you.

Original comment by chobi....@gmail.com on 8 Jan 2013 at 8:11