android-dialer

How to open Dialer Activity from a webviewclient with clicked number?

谁说胖子不能爱 提交于 2019-12-08 04:06:26
I am implementing a web view in my application. now when a user clicks on a phone number it shows net::ERR_UNKNOWN_URL_SCHEME . But if i use chrome. it brings the dialer application with that phonenumber. I need the exact same thing in my application. When a phone number is clicked within webview then the dialer needs to be opened with that phone number. Here is my shouldOverrideUrlLoading Method for the webview. I can see there is answer here. But i am pretty new to android and java and i couldn't make this thing work till now. public boolean shouldOverrideUrlLoading(WebView view, String url)

How to open Dialer Activity from a webviewclient with clicked number?

浪子不回头ぞ 提交于 2019-12-08 03:29:56
问题 I am implementing a web view in my application. now when a user clicks on a phone number it shows net::ERR_UNKNOWN_URL_SCHEME . But if i use chrome. it brings the dialer application with that phonenumber. I need the exact same thing in my application. When a phone number is clicked within webview then the dialer needs to be opened with that phone number. Here is my shouldOverrideUrlLoading Method for the webview. I can see there is answer here. But i am pretty new to android and java and i

Is it possible to programmatically dial numbers during a phone call?

大兔子大兔子 提交于 2019-12-07 12:46:33
问题 I know it is possible in Android to make a dialer, but is it possible to make the dialer "press 1" during a phone call?(like when you call support and you have to press all sort of numbers just to talk to a person) Is there code of how to do it? 回答1: thanks to simon who pointed me to Sending DTMF tones over the uplink in-call, so it seems there is an app that does this https://play.google.com/store/apps/details?id=com.shdroid.bridgetrial&feature=more_from_developer#?t=W10 , but people don't

How does “Phone” app show information of contacts that are not on the address book?

心已入冬 提交于 2019-12-07 03:01:13
问题 Background In the "Phone" app of Google, there is an option "Caller ID & spam" : So, if you get a call from someone or some organization that isn't on the address book, yet it is identified somehow, you get a name for it, as such (called "+972-035283487") : Ever since Android M (6.0 - API 23) , apps can replace the default phone app, and then also providing alternative UI when you call someone or get a phone call, by extending InCallService class, as demonstrated here which is based on here.

Android: Directory data provider for PhoneLookup

白昼怎懂夜的黑 提交于 2019-12-07 02:48:44
问题 I'm writing a custom Android contacts directory, I have implemented the ContactsContract.Directory provider and the search from within the phone app works fine. The problem I am facing now is that when I have an incoming/outgoing call the Android dialer does not query the custom directory I registered. Is it possible to partake in caller ID resolution via PhoneLookup or some other way? Also as a possible workaround I have tried implementing an outgoing/incoming call interceptor with

Is it possible to programmatically dial numbers during a phone call?

霸气de小男生 提交于 2019-12-05 18:36:44
I know it is possible in Android to make a dialer, but is it possible to make the dialer "press 1" during a phone call?(like when you call support and you have to press all sort of numbers just to talk to a person) Is there code of how to do it? max4ever thanks to simon who pointed me to Sending DTMF tones over the uplink in-call , so it seems there is an app that does this https://play.google.com/store/apps/details?id=com.shdroid.bridgetrial&feature=more_from_developer#?t=W10 , but people don't know how to do it http://code.google.com/p/android/issues/detail?id=1428 Create call intent and

Android: Directory data provider for PhoneLookup

China☆狼群 提交于 2019-12-05 07:26:55
I'm writing a custom Android contacts directory, I have implemented the ContactsContract.Directory provider and the search from within the phone app works fine. The problem I am facing now is that when I have an incoming/outgoing call the Android dialer does not query the custom directory I registered. Is it possible to partake in caller ID resolution via PhoneLookup or some other way? Also as a possible workaround I have tried implementing an outgoing/incoming call interceptor with BroadcastReceiver but I see no way of returning the contact data to the dialer. The only option I have found for

Disable Proximity Sensor during call

戏子无情 提交于 2019-12-03 06:36:55
问题 I dropped my phone and looks like my proximity sensor no longer works reliably. It returns Near all the time. The problem is, the display turns off during call and I wont be able to use the number pad to enter pin or conference another call, or even disconnect the call. I found the Power button disconnect option in Accessibility settings and uses that now. I tried to create an app that tries to obtain a full wakelock when a call is received hoping that it will keep the display on. Created a

Android. Launch app from Dialer

丶灬走出姿态 提交于 2019-11-29 02:24:17
This is what I have so far but nothing happens when I input this combination in dialer public class DialReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, final Intent intent) { if (intent.getAction().equals(android.content.Intent.ACTION_NEW_OUTGOING_CALL)) { String phoneNumber = intent.getExtras().getString( android.content.Intent.EXTRA_PHONE_NUMBER ); if(phoneNumber.equals("*#588637#")) { Intent intent1 = new Intent(context , Activity.class); intent1.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK ); context.startActivity(intent1); } } } } and in androidmanifest