You won't be able to do this.  If nothing else, there is no way to cause the
phone to hang up, so you will leave the call running for an indefinite
amount of time without the user being aware.

On Tue, May 5, 2009 at 3:17 AM, raj.10788 <[email protected]> wrote:

>
> Hi All,
>
> I am trying to create a application, which is capable of making phone
> calls to the given number at the scheduled time (someting like
> reminder). But at the same time once it starts to make the call, my
> application should take a picture from Camera. So after starting the
> call activity, after few seconds I want the on call screen activity
> should go to back ground and my own camera app(A activity with
> surface) should come to the foreground to take a picture.
>
> I tried the above one in the following way,
>
> 1. create a Action calll intent and started the call activity from my
> Applications Main Activity.
> 2. After few seconds I started my own camera activity from my App Mail
> Activity.
>
> But it's not working. Once I start the call, the on call screen only
> showing in the foreground, that camera Activity is not at all coming
> to forground. So when I give back button the camera Activity is coming
> to foreground.
>
>
> I don know the reason. Can anyone tell me what's wrong in this. I
> think am missing some thing inthis. any pointers to this one is highly
> appriciated.
>
>
> thanks
> raj
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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