The in call screen is an implementation detail.  You need to use
Intent.ACTION_CALL and let the system find the proper activity to
launch.  (In fact the InCallScreen isn't even part of the frameworks,
it is part of the implementation of the phone app, so it would be
impossible to make public.)

On Nov 11, 2:42 pm, j <[EMAIL PROTECTED]> wrote:
> I want to pass the intent to InCallScreen directly so that my intent
> won't be intercepted by another app:
>
>         Intent newIntent = new Intent(Intent.ACTION_CALL, uri);
>         newIntent.putExtra(Intent.EXTRA_PHONE_NUMBER, number);
>         newIntent.setClass(this, InCallScreen.class);
>         newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
>         this.startActivity(newIntent);
>
> But InCallScreen is not in the public SDK 1.0.  Why is that?  Can we
> expect it to become public in a later SDK release?
--~--~---------~--~----~------------~-------~--~----~
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