phone-call

Change voice during phone call android

醉酒当歌 提交于 2019-12-20 09:37:37
问题 I want to make an android application that allow user change the voice during phone call. For example: You are a man, you can change the voice to a woman or robot when talking over phone. It is like a funny prank. I work around android's API and google for some days but still have no idea. Some one told is impossible but I see some app on google play can do: https://play.google.com/store/apps/details?id=com.gridmob.android.funnycall So I think there are some ways to do that. I think about

Android reject incoming call

空扰寡人 提交于 2019-12-20 07:29:27
问题 In my android project(with target sdk version 23), I want reject incoming call. I know that there are a lot of question about this, in particular 1 How to import com.android.internal.telephony.ITelephony to the Android application 2 How to Reject a call programatically in android 3 How to reject any incoming call when I have already detected it In the first one link, the suggest solution is use reflection on the interface ITelephony because it's an internal interface. But this solution use

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

我与影子孤独终老i 提交于 2019-12-20 07:13:42
问题 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

Android 2.1+ Pause for incoming/outgoing call, resume when done

女生的网名这么多〃 提交于 2019-12-20 05:38:29
问题 Is there a reliable way in Android to detect the beginning and end of incoming and outgoing calls, in order to do things like pause and play audio. I have done the following: telephonyManager = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE); callEventListener = new PhoneStateListener(){ @Override public void onCallStateChanged(int state, String incomingNumber) { super.onCallStateChanged(state, incomingNumber); if (state == TelephonyManager.CALL_STATE_IDLE){ //.... }

Blackberry - make a call from native address book

偶尔善良 提交于 2019-12-20 04:26:11
问题 how to make a call from menu item appended in native book of BB('Call from ABC' option)? 回答1: Initiate call programmatically For RIM OS 4.7 and lower use Invoke: PhoneArguments phoneArgs = new PhoneArguments(PhoneArguments.ARG_CALL, "555-5555"); Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, phoneArgs); For RIM OS 5.0 declared we can use Phone.initiateCall method: Phone.initiateCall(Phone.getLineIds()[0], "519-555-0100"); See Make a call from a BlackBerry device application (multi-line

How to reject/close specific incoming number

别说谁变了你拦得住时间么 提交于 2019-12-20 03:46:13
问题 In my application I want to block the specific incoming number.I do google,and following Blocking Incoming call - Android. But this code is not working for me.I am testing on android 2.3.5 Here I have no activity class. >> First class is extends BroadcastReceiver. manifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.blocknumber" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion=

Is it possible to simulate a phone call on iPhone simulator?

微笑、不失礼 提交于 2019-12-20 02:35:37
问题 I am building an app that will make a phone call. How can I test this feature on the simulator? I get no response when I call openURL . Though of course this does work on the actual device. Also is it possible to know whether the iPhone is currently in calling mode? 回答1: Sorry Pal. You cannot check it in on a simulator. All the best. 来源: https://stackoverflow.com/questions/4447763/is-it-possible-to-simulate-a-phone-call-on-iphone-simulator

How to detect a call Drop in android

南笙酒味 提交于 2019-12-20 01:49:07
问题 I'm writing an app that runs on background during a telephone conversation and logs the coordinates to a file after the conversation has end,I know Android telephony API can detect a call manual disconnect by user*(correct me,if I'm wrong)*, But what I want is to know whether the service disconnection have caused due to call drop,is there a way or an API I can use to achieve this, All what I need is to programmatically differentiate a disconnected call and a dropped call. Please help. 回答1:

clicklistener and longclicklistener on the same button?

故事扮演 提交于 2019-12-19 10:40:14
问题 i am creating a call/dial button, when i click on that call/dial button, a call will be made based on the input that is displayed in the edittext. I managed to do that part. can you guys advise me whether i can do a longer click on that same call/dial button, so that a toast can come out to ask user to choose something else?? I did some research on "setOnLongClickListener" but i am not sure if i can combine it in the same call/dial button? I have attached on the working dial function which i

Can I fetch details of the incoming call phone number in my applicaton?

社会主义新天地 提交于 2019-12-19 10:22:04
问题 Can I fetch details of the incoming call phone number in my iPhone application? 回答1: No, you can't and for good reason Apple does not enable applications to snoop on the phone calls the user makes. 来源: https://stackoverflow.com/questions/6817456/can-i-fetch-details-of-the-incoming-call-phone-number-in-my-applicaton