• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Contact Create Event Listener  RSS feed

 
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.
 
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: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, that's the same approach the post I linked to talks about.
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!