Windows phone 8.1 BLE device connect/disconnect - windows-phone-8

I am creating a Windows phone 8.1 application which uses Bluetooth Low Energy feature(BLE). I need to discover all the near by BLE devices in my app and connect discovered devices. But I couldn't find any source to achieve this. I only found the code to scan the paired devices. In ios and android it is possible to scan, connect / disconnect through code. Please help me.

I don't know if it could help, but I think this guy has reach it with Windows IoT.
http://blog.falafel.com/arduino-btle-gatt-bracelet-and-windows-iot-core/
Maybe this could help to start making your own BLE stack for Windows Phone 8.1.

Related

Windows Phone 8.1 device registration error code 0x64

I wanted to get started with app development for windows phone 8.1. I own an up-to-date Lumia 630 device with Windows Phone 8.1 which I wanted to use as test device. Now, the problem is that i can't register this device as a test device. The registration tool which came with the sdk 8.1 always give me the 0x64 error code. I googled this problem but none of the solutions (including the ones here on stackoverflow) solved the problem for me. My phone has internet connection through wi-fi and is unlocked and up-to-date (tryed restarting and not using wi-fi). Also the windows background service is running (also tryed restarting it). An up-to-date windows 10 is running on the laptop with which I want to develop.
My microsoft account is not a developer account but from my understanding, i should still be able to use at least one device as test device without having to pay.
I also posted this question in the microsoft forum.
I appreciate any help.
I think your account must be associated with dev account.
Not sure what changed, but it appears this is now fixed. I am able to register multiple devices to my developer account again.

Using WP8 Emulator without Windows 8 Pro or Actual Device

Is there any way to do this by running a WP8 emulator in a virtual machine? I would really like to publish WP8 apps but I need to do some testing and don't want to pay to upgrade to the pro version of windows. Thanks for any help you can give.
Currently there is no solution for this. You have to have a emulator or a device to test the app and testing on a device is mandatory now. There used to be Nokia Remote Device Access but it is deprecated now. http://developer.nokia.com/resources/remote-device-access
Short answer is no.
Windows Phone emulator needs hardware virtualization features (enabled in BIOS) and only the pro version is capable of using them (http://en.wikipedia.org/wiki/Windows_8_editions search for hyper-v).
You can find some reference here:
http://msdn.microsoft.com/en-us/library/windows/apps/ff626524%28v=vs.105%29.aspx

Windows Phone Power Tools not showing proper emulator?

I am installing windows phone power tools.
I am getting emulators like emulator Windows Phone7.5, like that.
But i need a windows emulator like Emulator WXGA.
Please help me for this.
I would suggest that you un-install the SDKs, and then get the SDK for WP8 from the official site.
It has the WP7.5 support there as well, thus should work for both development purposes. Also do remember to check the Windows Phone Emulator for Windows Phone 8, do note the requirements for SLAT, DEP & that you need to have Windows 8 Pro or Enterprise 64 bit Operating System for the Hyper V to be present in there as well.

How upload XAP file with Windows Phone Power Tools on tablet?

I would need to upload a XAP file done for Windows 8 Phone to a Windows 8.1 Tablet.
I know that Windows Phone Power Tools do it but since this tool was done for Windows 8 Phone and not for Tablet, for it. Could I upload this XAP into my Tablet with it? Is it possible?
Thanks in advance
Best Regards
Alejandro
Windows Phone 8 apps are not compatible or in other words do not work in Windows 8. Though you can share some code using PCL (Portable Class Libraries), the development environment and architecture is different for both.
So the answer for your question is, it is not possible to deploy or run your Windows Phone apps on a Windows 8 tablet.

Which Windows Mobile emulator is the best?

I have Windows 7 system. I need a free downloadable Windows Mobile emulator for testing my mobile webpages. I have downloaded and tried to use Cellular Emulator, which is asking for Visual Studio. Can you recommend a user-friendly Windows Mobile (version 7) emulator which does not require Visual Studio? If so, please provide the link. Thank you.
Here you can test everything on several Lumia Devices:
Remote Device Access for Nokia Lumia
Some devices you can access:
Microsoft themselves provide the best emulator (which I used extensively). It is much better than any open third-party emulator.
Link: https://www.microsoft.com/en-us/download/details.aspx?id=53424
Note: you need to use a Windows 8 machine.