Mobi wrote:
> Hi:
> 
> I tried to place a call from my application, but it always crashes
> after the following section of code:
> 
>     Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED,
> Uri.fromParts(
>         "tel", number, null));
>     intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
>     startActivity(intent);

Why ACTION_CALL_PRIVILEGED instead of ACTION_CALL?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
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