telephony

List all System Modems

天涯浪子 提交于 2019-12-05 16:06:23
Is there a way in managed code to list the Modem/Telephony devices installed on the system? If .Net does not have a way, could you point me in a direction? WMI will contain all the information you need in the Win32_POTSModem class. In C# or .Net, you can utilize the System.Management namespace to query WMI. Within .Net, you can use MgmtclassGen.EXE from the platform SDK to generate a class object representing the WMI class. The command line would be like this: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\mgmtclassgen.exe Win32_POTSModem /L CS /P c:\POTSModem\Win32_POTSModem.cs and then

Can tablets make calls? (Telephony)

北战南征 提交于 2019-12-05 13:38:41
I have a permission in manifest: <uses-feature android:name="android.permission.READ_PHONE_STATE" android:required="false" /> The code that checks if the telephone is being used would probably start a security exception for devices like tablets, who can't receive calls. So, I made this method to check whether or not the device can use the TelephonyManager: private boolean doesUserHavePermission(){ PackageManager pm = getPackageManager(); final boolean deviceHasPhone = pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); return deviceHasPhone; } And in the code where I actually check if a

How do some SMS messages transmit the senders name?

徘徊边缘 提交于 2019-12-05 08:10:16
I have noticed that certain SMS messages that I receive from companies come with a 'sender name'. eg. Just today I received an SMS from a number I have never used before (not im my contacts), however the senders name showed up as 'Adobe'. I get this from other companies too. eg Facebook, Google & Banking. Is it similar to how a email server works? (you tell the server who you 'are' before you send the message) Is this the case with a carrier's cell tower? I guess I'm wondering what the service is called and how it works? (ie. can you send 'header info' with SMS messages or is the cell tower

integrating Zendesk with “ Hermes ” the telephony system

十年热恋 提交于 2019-12-05 06:16:44
问题 I have existing telephony system it's name " Hermes " it's a telephony system and now I want to integrate into zendesk, I have gone through Talk Partner Edition API but I am not getting exact idea. I wanna know how should I connect this telephony system with zendesk and how should I embed this soft-phone into "Zendesk ???? Or the steps to do this work done ??? Any help appreciated! 回答1: Zendesk provides API endpoints to search for users based on phone number, as well as the ability to create

Android : NeighboringCellInfo

吃可爱长大的小学妹 提交于 2019-12-04 21:23:47
NeighboringCellInfo() on Android API, I want to know this function return all neighbor cell? And one of result is current cell which our device connected? Thanks so much. Yes, it should. But I never found a device where it did. Please report back here if you find any GSM device with any Android OS Version that does report at least one neighboring cell. Thank you! You should be able to use the following code to get them: TelephonyManager tm = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE); List<NeighboringCellInfo> neighbours = tm.getNeighboringCellInfo(); You need the

Lookup telephone area code by latitude and longitude

╄→尐↘猪︶ㄣ 提交于 2019-12-04 19:58:31
问题 Looking for a way to get a list of telephone area codes for a given latitude and longitude (and if necessary a given intl. code.) Note, I'm not talking about international dialing prefixes but the area codes within them. For example, Denver Colorado is covered by the area codes 303 and 720. It's at 39.739 -104.985 and is in NANP 1. So given 39.739,-104.985,1 I'd like to get back [303,720]. Libraries, web services, DB's, or raw data that needs to be parsed into a DB, e.g., a web page of shape

Incoming number during a call in android?

淺唱寂寞╮ 提交于 2019-12-04 17:41:23
I am running following code, its compiling but I am not getting any result or toast displayed please help... CustomBroadcastReceiver.java this class will receive the action phone state change and will instantiate the customephonestatelistener public class CustomBroadcastReceiver extends BroadcastReceiver { TelephonyManager telephony = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE); CustomPhoneStateListener customPhoneListener = new CustomPhoneStateListener(context); telephony.listen(customPhoneListener, PhoneStateListener.LISTEN_CALL_STATE); Bundle bundle = intent

Back to the App after call

安稳与你 提交于 2019-12-04 15:10:42
问题 i'm trying to make a phone call from the app and I want it to return back to the app after the call i asked that question in this forum but i didn't understand the answer How to make a phone call in android and come back to my activity when the call is done? public void call() { try { Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse("tel:048598077")); getContext().startActivity(callIntent); } catch (ActivityNotFoundException activityException) { Log.e("dialing

Is there any API support to make conference calls programmatically in Android?

断了今生、忘了曾经 提交于 2019-12-04 11:17:27
I would like to make a conference call by selecting some contacts from my app, is it possible? also is there any limit on the number of devices in conference call? Is there any Android SDk support,any version is fine for me? Plz give some inputs.. Thanks In Advance. Kevin Junghans You cannot manage a conference with a smart phone. You need an intermediate service that can do this for you. You can program a conference manager using CCXML . Voxeo has a good hosted platform for CCXML implementations and you can look at their documentation on how to setup conferencing. There are examples in

How to find out whether a particular device has SIM Hardware support?

社会主义新天地 提交于 2019-12-04 11:00:14
问题 I wanted to disable features related to CALL and SMS in my application based on whether SIM hardware is present or not. Now a beginners approach towards this will be checking the Phone type using : if (telephonyManager1.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE) If true then its supported. Everything was fine until i came across Sony Tablet S which has a SIM support only for Data and Messaging. No voice support. So for this device i need to disable only CALL feature but continue with