• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Contact Create Event Listener

 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have developed a small android application : Contact Updater Utility

The app suggests updates to contacts that do not have country code appended in the beginning.

I want to add a functionality to this app which can alert the user to add country code when the contact is created or updated.
I had read about services that can run in background and check periodically for changed contacts; but that is not something i want to leverage.

So to implement this;"Can i have an event listener/receiver in android which gets triggered when a contact is created or updated ?"
If i can receive this broadcast, i can go ahead to add my functionality.
 
Ulf Dittmer
Rancher
Posts: 42969
73
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf.

Looks like android does not have an API i am looking for.
However, i found this thread useful and may try to implement my functionality by leveraging it.

Android : How to Know Contact Change
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, that's the same approach the post I linked to talks about.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic