Community news, upcoming events and general discussions
Threads: 34 Posts: 86
Get technical support from the community
Threads: 1303 Posts: 7140
Threads: 16 Posts: 58
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 74 Posts: 326
I install Virtual XDK.apk in my andriod phone(Bluetooth opened),The app tips"no devices found(yet)",I use “Bluetooth debugging assistant software" can find XDK bluetooth and recevie XDK hardware data. Why?Please help me!Thank you!
Unfortunately, I am not able to reproduce your issue, since scanning and finding an XDK device on my Android (version 6.0.1) and the newest Virtual XDK app (version 2.0, as available in the Google Play Store) is working.
I think the device scan might have gotten stuck. I’d suggest, you keep the XDK turned on (with the Virtual XDK Demo flashed and running), and terminate the Virtual XDK app process entirely on your Android device. Then, start the Virtual XDK app again and try scanning it again.
If that does not work, the issue might lie in the fact that your android phone does not support Bluetooth Low Energy (BLE), but the Virtual XDK requires it.
To verify if your Android Device supports BLE, please refer to the following thread. The post in question is the one by Manuel Cerny. Especially the first step (Install “BLE Checker”) is important.
Please follow these steps, and tell me about your progress in this matter and do not hesitate to ask further questions,
Kind regards, Franjo
Thank you very much!After a day's trying，Successfully connected to my android mobile.But PC(Win10) demo(same as android demo) can't find devices.PC BLE already connected XDK BLE.Are there any places that need configuration? Do you have PC demo operation manual?
I am glad to hear that you were able to make the Virtual XDK app work.
Unfortunately there is no documentation available about how to run the Virtual XDK app on Windows 10. In order to help you, I would ask you to clarify about how you run the Virtual XDK app on Windows 10. Did you use an emulator to run android apps or did you cross compile the Virtual XDK app for Windows 10 from the unity folder, which is shipped with the Virtual XDK demo?
If you cross compiled the Virtual XDK app from the unity folder, I assume it should work exactly like the Android and iOS app and does not require any further configuration.
Please tell me if this is helpful and do not hesitate to ask if you have further questions.
Thank you for your earnest reply.My android(.apk) and WIN10 app(.exe) cross compiled from unity code( VirtualXDK_v2),Run android program with my android phone(not emulator ),Android app can read XDK hardware data,WIN10 can't.Can you read the data from win10 app?
Dear community member,
thank you for providing the necessary information. Unfortunately I do not have a crosscompiled Virtual XDK app yet. But I will compile it for Windows 10 and analyze it in more detail to get it running.
The only thing I can do right now is ask you for patience, until I have useful results.
I will get back to you as soon as I know more.
Hello community member,
I analyzed the issue regarding the Virtual XDK demo app on Windows 10 in greater detail by creating my own cross compiled app. As such, I observed, that the cross compiled app did not find any devices, neither did it display a message indicating that no devices were found.
I took a deeper look at the implementation in the unity project and came to the conclusion that there is a plugin missing which is required for the proper use of the BLE adapter of the Windows host system. This is because there are only plugins included for Android and iOS.
Therefore I assume that your Windows 10 app cannot connect and receive data of the XDK, because the BLE plugin for Windows 10 is missing.
Nevertheless you can feel free to extend the functionality of the Virtual XDK demo app. I assume, you can use the plugins for Android and iOS as starting point and implement your own Bluetooth plugin for Windows 10. Afterwards the Virtual XDK demo should work with Windows 10, too.
Please let me know, if this was helpful and do not hesitate to ask if you have further questions.