Comments (5)
Is this a UWP or Win32 app?
from myphone.
The HFP demo here should work without errors.
from myphone.
Hi
"Is this a UWP or Win32 app?": UWP app
When i run HFP demo i get an error.
from myphone.
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:
MyPhone/MyPhone/Package.appxmanifest
Lines 55 to 57 in 5d0015d
from myphone.
This issues was resolved.
Thanks you.
from myphone.
Related Issues (20)
- Unable to build on Windows 11 HOT 23
- Publish Releases HOT 15
- USB cable support HOT 1
- Plans for MyPhone HOT 5
- iphone support HOT 4
- Support for multiple numbers & devices HOT 3
- Use mic on phone
- Not able to run the sample on windows 10 desktop HOT 9
- Can you add a release or re-run Github Actions? HOT 1
- statue panel not showing calling number or name
- two phones connected ? HOT 1
- After I Change a blueteeth Adapter .Thrown "Object reference not set to an instance of an object" HOT 2
- Where is the .exe? HOT 3
- PhoneLineTransportDevice API no longer works on Windows 22H2 HOT 17
- Why call audio not transferred to PC when making calls with Handsfree profile? HOT 1
- TransportDevice.ConnectAsync() not working on Windows Form application.
- MAP demo doesn't work with iPhone HOT 14
- Could not open the UWP App: System.IO.FileLoadException HOT 12
- Migrating to Windows App SDK (WinUI 3) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myphone.