Yes, it works if I add a phone number. However, it doesn't solve my
problem of going back to my app when I press the back key. It still
goes back to the native homescreen.

I have a dialog in my activity, from which the user action is taking
them to the native dialer. Is that the reason back doesn't bring them
back to my app (since the dialog has already been dismissed)?



On Nov 4, 6:13 pm, Frank Weiss <[email protected]> wrote:
> This works for me on the Droid:
>
> String phoneUri = "tel:" + phone.getText();
>
> Intent i = *new* Intent(Intent.*ACTION_VIEW*, Uri.*parse*(phoneUri));
>
> startActivity(i);
>
> What phone did you use? Have you tried adding a phone number?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to