how do I pass custom text when making a call

Put your problem here if it does not fit any of the other categories.

how do I pass custom text when making a call

Postby MarkF » Wed Feb 09, 2011 6:22 pm

On Android 2.1+ I am calling a number that is not in the contacts database using startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + ptn))) Since the number is not in the contacts database there is no name associated with the call. I want to display a name with the called number so the user can verify the number the application is calling.

I tried using a LabeledIntent, but couldn't get it to work with ACTION_CALL. Is there a way to make a call using the ACTION_CALL intent or through some other means where I can pass a name that will be displayed during the call?
MarkF
Freshman
Freshman
 
Posts: 2
Joined: Wed Feb 09, 2011 6:01 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher, Yahoo [Bot] and 19 guests