[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Chris Stratton

On Sep 17, 7:12 am, Mark Murphy  wrote:

> 2. You cannot "hangup/terminate call programmatically" from an SDK
> application.

Can you turn off the radio / enter airplane mode?   Or will that only
pop up a dialog for the user?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Mark Murphy

Chris Stratton wrote:
> On Sep 17, 7:12 am, Mark Murphy  wrote:
> 
>> 2. You cannot "hangup/terminate call programmatically" from an SDK
>> application.
> 
> Can you turn off the radio / enter airplane mode?   Or will that only
> pop up a dialog for the user?

I think you can programmatically enter airplane mode through
Settings.System, though I have not tried it. However, to hang up a phone
call, going into airplane mode is a bit aggressive -- you take out WiFi,
Bluetooth, and perhaps GPS (not sure if airplane mode affects that).

In terms of turning off just the GSM/CDMA radio...there might be a way,
but I don't know how.

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

Android App Developer Training: http://commonsware.com/training.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Ajaz Ahmed
Thank you!


On Thu, Sep 17, 2009 at 4:12 PM, Mark Murphy wrote:

>
> Ajaz Ahmed wrote:
> > Hi,
> >
> > Can any one tell me how can i hangup/terminate call programmatically?
> > With the help of intent.
>
> 1. Please do not cross-post. Post to a single list only, and only post
> to another list if you do not get a response in a reasonable period of
> time (e.g., 1 day).
>
> 2. You cannot "hangup/terminate call programmatically" from an SDK
> application.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Mark Murphy

Ajaz Ahmed wrote:
> Hi,
> 
> Can any one tell me how can i hangup/terminate call programmatically?
> With the help of intent.

1. Please do not cross-post. Post to a single list only, and only post
to another list if you do not get a response in a reasonable period of
time (e.g., 1 day).

2. You cannot "hangup/terminate call programmatically" from an SDK
application.

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

_Android Programming Tutorials_ Version 1.0 In Print!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---