Xabaras
Xabaras

Reputation: 33

Lauch my application Intent from android contact details

I want to lauch my application Intent from android contact details, like Whatsapp does. I mean that when you go to native contacts application and open a contact's details you should see, among the details shown, an action to be performed by my own application. This is possible beacause Whatsapp does it.

Can you help me?

Please.

Upvotes: 0

Views: 206

Answers (1)

Joe Malin
Joe Malin

Reputation: 8641

Yes, I can help you, but you probably won't like the answer.

Technically, you can respond to a click in the native contacts application, by having an intent filter that catches the outgoing intent from "contacts". The problem is that the Contacts app doesn't publish the names of the outgoing Intents. You have to look for them yourself in the Android Open Source Project.

Also, you can't add anything that the Contacts app doesn't already do. The Contacts app doesn't support that.

You can write your own version of the Contacts app and provide the ability to attach any action you want.

Upvotes: 1

Related Questions