Stream Socket Access denied Windows Phone 8.1 Bluetooth

前端 未结 1 1184
离开以前
离开以前 2021-01-17 02:39

I try to connect a Bluetooth device with my Windows Phone (8.1) with the StreamSocket-Class.

Now every time I call socket.CallAsync(HostName, RemoteServiceName) I ge

1条回答
  •  粉色の甜心
    2021-01-17 03:37

    I had the same issue. But finally I've found a solution at http://www.codefest.at/post/2014/02/03/Bluetooth-in-Windows-81-Apps-nutzen.aspx

    The Internet (Client & Server) capability doesn't do the trick. It's a riddle to me why MS doesn't provide the bluetooth capability in the GUI of Visual Studio.

    Just add the following xml into your appxmanifest:

    
        
          
            
          
        
      
    

    Regards

    0 讨论(0)
提交回复
热议问题