Closed vvtoan closed 3 years ago
Is this a UWP or Win32 app?
Hi "Is this a UWP or Win32 app?": UWP app When i run HFP demo i get an error.
You should run the Do()
method instead.
DoTest
is a demo to show how to use the PhoneLineTransportDevice
API, which can only be called in an MSIX-packaged app. That's why you got this error in MyPhone.Demo because it is a Win32 .NET console app. I will document the demo code later.
For UWP apps, if you want to use the PhoneLineTransportDevice
API, you need to add these permissions in the manifest:
https://github.com/BestOwl/MyPhone/blob/5d0015dc7f49fe1b794b2e9f2c079498529717a2/MyPhone/Package.appxmanifest#L55-L57
This issues was resolved. Thanks you.
Hi. I want to handle incoming call to display customer's informations in our crm. Is there any api can do that? When i use var result = await BTDevice.GetRfcommServicesForIdAsync(RfcommServiceId.FromUuid( new Guid("0000111F-0000-1000-8000-00805F9B34FB")),BluetoothCacheMode.Uncached);
I has an error 'DeniedBySystem'
Thanks you.