My application is storing a Contacts.People.PRIMARY_PHONE_ID as foreign key in it's table to remember the relation to a phone contact id.
A ListView is responsible for displaying the data from within the cursor (resultset).
So far so easy, but I want to be able to send a SMS to this contact from a ContextMenu using Android's standard SMS tool.
I assume it is the easiest way to use a "implicit Intent" - but how to pass the user info (adress? id? name? number?) to the sms app? This is what I found out so far:
But do I really need to get the phone number from the address book related to this id before? Or is there a more simple way to achieve this? Like just passing the id or access the phone number in an easier way than using a ContentResolver.
BR and thanks for helping