I want to retrieve the number available in the call log in android application.
I do not want to get all the call log and populate in my app activity. Instead I want to use existing android Intent to view and once selected the number from the list, I want the number back in my activity.
I guess I will have to use startActivityForResult for this. But what I am confused is what will be the code in this method. I want only the number.
Any help will be appreciated.
Regards,
Shankar
ok, first from activity A you should create intent
and on the activity B you do this
and than in the first activity, activity A you get your data like this
in the method:
that’s it