Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable scripting to manage contacts and groups #289

Open
damonkohler opened this issue Jun 13, 2015 · 10 comments
Open

Enable scripting to manage contacts and groups #289

damonkohler opened this issue Jun 13, 2015 · 10 comments

Comments

@damonkohler
Copy link
Owner

From @GoogleCodeExporter on May 31, 2015 11:23

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

Copied from original issue: damonkohler/android-scripting#102

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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:

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

  • Changed state: Accepted

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

@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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

Is it currently possible?

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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

@damonkohler
Copy link
Owner Author

From @GoogleCodeExporter on May 31, 2015 11:23

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant