phone-call

How to Block a call when first call is ongoing?

痞子三分冷 提交于 2019-12-02 10:47:23
I have created an application for call blocking which is working fine but it's stuck in one scenario: Scenario: When the first call is ongoing(user talking with the first caller) in between second caller call to same user & that new caller is in my Blocklist when my call blocking logic runs both calls ended immediately. In the above case, I want to end call of second caller only. How to achieve this? Is there any way to identify & block the particular call? Here is my call blocking logic: TelephonyManager telephony = (TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE);

Record the conversation of phone - ios [duplicate]

余生长醉 提交于 2019-12-02 10:34:42
Possible Duplicate: Is an iPhone Call Recorder theoretically possible? I am an iPhone devleoper. I want to record the conversation during phone call. I don't know apple is allowing to do this or not. If yes, than can anybody guide me how can i do this? Basically In my app ,I am recording 1 audio . Now when i call someone from my contact ,I want to play that audio as well as record the conversation. Both play and record thing I want. I am confused whether it is possible or not. There is no public API for recording the calls made (or received) by the built-in Phone app. You will have to

Handling incoming calls in Android

对着背影说爱祢 提交于 2019-12-02 07:56:25
I want to handle incoming call in Android. Actually I want to set a time duration in which if my cell phone receive any call then automatically a message send to each of them. Any ideas? Dinash Just extend your class to PhoneStateListener and override onCallStateChanged method. Sample code: class myCallListener extends PhoneStateListener{ @Override public void onCallStateChanged(int state, String incomingNumber) { // TODO Auto-generated method stub switch (state) { case TelephonyManager.CALL_STATE_RINGING: // your logic here break; default: break; } super.onCallStateChanged(state,

Android custom dialler on tapping phone number links

不想你离开。 提交于 2019-12-02 07:40:47
问题 I have to implement custom dialler application. Well it will not make regular phone call, instead it will connect to some service to estabilish VoIP connection. That is simple part I think I can handle it. But the other part is a bit tricky for me. I want to "register" my dialler somehow in the system to have it in context menu when you click on a phone number link in an e-mail for example. Now, when you click the number, default dialler appears. I want context menu to be shown where you can

Is there a way to add a “name” to an ACTION_CALL intent in android?

蹲街弑〆低调 提交于 2019-12-02 07:29:50
Here's a code snippet of what I have: call_phone = new Intent(Intent.ACTION_CALL); call_phone.setData(Uri.parse(parameter)); // parameter is a phone number tel:someNumber con.startActivity(call_phone); Since the phone number is not listed in my actual contacts - I just wanted to know if there was a way to pass a putExtra or a setName or something along those lines - that would let me make the dialer display any name I want to call - along with the number? I have looked around on stack overflow and on the android developer website - but can't find anything specific like setting the name,

Windows Phone 7 - Events triggered on phone-call-connect and phone-call-disconnect

孤街醉人 提交于 2019-12-02 06:09:39
问题 I'm writing an application for Windows Mobile 7 which required information about "When a voice call was placed" and "when a voice call was hanged up or disconnected". Are there any API's or events/triggers that can give me this information. 回答1: The current SDK doesn't offer this capability - generally, you cannot keep track of user activity (like calls) outside the application due to a sandboxed environment that by default doesn't offer any system process hooks. 回答2: While you can't get any

How to detect incoming call with the help of Broadcast Receiver?

冷暖自知 提交于 2019-12-02 05:17:26
问题 I'm trying to recognize incoming calls in thru a broadcast receiver. I'm UNABLE to do so! Infact, I'm unable to 'trigger' the broadcast! Here's my code: activate.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Toast.makeText(getApplicationContext(),"Clicked",1).show(); final String BROADCAST_ACTION_NAME = ".BroadcastMM"; Intent intent = new Intent(); intent.setAction(BROADCAST_ACTION_NAME); sendBroadcast(intent); } } I dunno if this 'sendBroadcast' is ever

Android custom dialler on tapping phone number links

人走茶凉 提交于 2019-12-02 04:22:25
I have to implement custom dialler application. Well it will not make regular phone call, instead it will connect to some service to estabilish VoIP connection. That is simple part I think I can handle it. But the other part is a bit tricky for me. I want to "register" my dialler somehow in the system to have it in context menu when you click on a phone number link in an e-mail for example. Now, when you click the number, default dialler appears. I want context menu to be shown where you can select if you want to use phone or my dialler. Is it possible? Can someone provide me some more tips?

Is it possible to hide the number that is called from an app?

白昼怎懂夜的黑 提交于 2019-12-02 04:16:57
I have a list of people in my app and when the user taps one of the list items, that person is called. Is it possible to hide the called number, so the person would be called but the number would't show in android dialer application and during the calling? No. When you pass the Intent off to startActivity or startActivityForResult, the other activity has control until that activity exits. This is to prevent apps from making calls to 900 numbers without the user's knowledge. 来源: https://stackoverflow.com/questions/5969881/is-it-possible-to-hide-the-number-that-is-called-from-an-app

On Android : making a phonecall using a browser application

限于喜欢 提交于 2019-12-02 03:53:13
问题 On Android devices, does anyone has checked that if a user clicks on a link <a href='wtai://wp/mc;5551231367' title='Call'>555.123.1367</a> this would propose the user to make a call to this phone number ? If not, do you know how is it possible to do it ? 回答1: The link needs to be <a href="tel:<number you want to have dialled"> Call </a> so for the number you used: <a href="tel:5551231367"> Call 555.123.1367 </a> 来源: https://stackoverflow.com/questions/1022125/on-android-making-a-phonecall