E
E
enchikiben2013-12-06 13:24:38
Android
enchikiben, 2013-12-06 13:24:38

Is it possible to programmatically control the android dialer?

Good afternoon, is it possible to programmatically control the android dialer? Those. call it in any state (dialing, talking, ending).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jimpanzer, 2013-12-06
@jimpanzer

A very vague question. Try to reformulate, and I will try to answer the part:
Just call - you can do this:

Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:55555555"));
startActivity(callIntent);

+ let's not forget about permissions:
<uses-permission android:name="android.permission.CALL_PHONE" />

A
anyd3v, 2013-12-06
@anyd3v

on the emulator, you can manage it like this
telnet <emulator port>
gsm call <number>
and you can look through help gsm other methods (in telnet)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question