Terminate call programmatically

by Ajaz Ahmed » Thu, 17 Sep 2009 19:10:21 GMT

Sponsored Links

Can any one tell me how can i hangup/terminate call programmatically?
With the help of intent.

Imtiaz Ali Shah


Terminate call programmatically

by Mark Murphy » Thu, 17 Sep 2009 19:13:48 GMT


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

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

_Android Programming Tutorials_ Version 1.0 In Print!


Sponsored Links

Terminate call programmatically

by Ajaz Ahmed » Thu, 17 Sep 2009 19:24:14 GMT

 Thank you!


Terminate call programmatically

by Mark Murphy » Thu, 17 Sep 2009 23:09:43 GMT


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 


Terminate call programmatically

by Jack Ha » Thu, 17 Sep 2009 23:13:00 GMT

 You cannot hangup/terminate call programmatically.

Jack Ha
Open Source Development Center
obilestick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


Terminate call programmatically

by Chris Stratton » Thu, 17 Sep 2009 23:14:10 GMT


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


Other Threads

1. Tanya X10i

Bapak2 ibu, saya yasir , pakai xperia 10i baru baru saja, yang saya alami 
batery boros sekali, pake mode airplane saja pagi full jam 12 siang sdh habis 
separo, pemakaian normal sampai jam3 sdh tdk mampu on lg, kadang klo sering ??? 
 sdh habis sekitar jam 1, apa ada solusi menghemat batre, ato saya salah 
seting, ato memang batre yang saya dpt jelek yah, kan klo memang batrenya ga 
normal bisa saaya klaim ke sony nya..makasih banyak sebelumnya

tuaN yaSiR

"Indonesian Android Community [id-android]" 

2. ContentValues, strings, and escaping...

Early Sunday morning (or late Saturday night depending on where you were 
sitting) I released my first app in beta form on the Android Market (Gas 
Up). Since that time, I've had data trickling in from users, and I 
noticed a difference between what my server says a particular gas 
station's name is, and what seems to be getting stored on my users' 
phones. In particular, someone submitted the gas station name "Loaf & 
Jug" complete with the ampersand. My database server didn't blink at the 
ampersand; it stored it properly, and the ampersand is getting sent to 
the clients properly as well. However, in the database on the emulator 
and actual devices (my G1 and Nexus One at least), only "Loaf " seems to 
be getting stored.

Under other circumstances, I would expect that this might have been caused by failing to escape the data before inserting it into the database, but I'm not sure that's the problem here because I know for a fact that it was inserted using ContentValues and SQLiteDatabase's insert() call. While not absolutely guaranteed to be error proof or immune to unescaped string errors, this method has allowed some other characters that need to be escaped into the database without any problems. (Single quotes for example.) Should I be doing some additional string manipulation/escaping before inserting string values into the SQLite database? A quick search I did on SQLite and the ampersand suggested using question mark/prepared statement form of queries... Would it be better to switch over to that? Thanks, Raymond -- Raymond Rodgers http://www.badlucksoft.com/ --

3. you tube di spica

4. XML Parsing Strange Error

5. Muncul label inbox dan spam

6. Reading from XML

7. OOT --- WTI: Review Layanan AHA di Surabaya