As you guys may suggest, I'm creating a SIRI with voice commands. Now I did like to add a call function. For example I have this code:
Intent call = new Intent(Intent.ACTION_DIAL);
call.setData(Uri.parse("tel:" + findViewByid(R.id.textView).getText());
startActivity(call);
So the user has to type in a phone number. I did like to input a contact name instead of a number, and let the app automaticly scan the contacs book and dial that number instead. I searched a lot but I couldn't find what I was looking for.
So what I need to do is Resolve Content, I have no idea where to start.