How can I debug Windows Phone 8 App on Remote Server? - windows-phone

Our Projects(Code/Design,etc) in remote server,They have develop windows phone scenario,such as : visual studio 2012/2013,windows phone sdk installed etc..
i know debug app must be in vs2012/2013,
but,if i want to debug app on remote server and how can connect device ?
ps:
1、Use the same network.
2、All code in the remote server.

If you want to do it programmaticaly:
Microsoft has managed APIs that allow you to install and run XAPs on either hardware device or simulator. They are implemented in 3 DLLs: Microsoft.Smartdevice.Connectivity.dll, Microsoft.Smartdevice.Connectivity.Interface.dll and Microsoft.Smartdevice.MultiTargeting.Connectivity.dll - you should be able to google usage examples.
Unfortunately, there's no APIs for remote debugging.
If you want to do it manually:
You can use remote desktop + RemoteFX USB Redirection.
Or you can use specialized hardware, such as "Conversions Technology USB Extender Over IP" or "StarTech USB1000IP".

Related

Able to ping the system using IP but not able to access api

My API is running on the Windows system. I'm calling API from another MAC system, but it's just getting a timeout.
I'm able to ping from Mac to Windows and vice versa, but API not working which is running a specific port.
Also, if I'll connect mobile Hotspots then I'm able to call API. But using WIFI router not able to connect.
Please let me know if you have any suggestions
I'm using Windows 11. After I disabled windows defender, I'm able to access API from other systems

Can we use BLPAPI remotely?

The SDKs at https://www.bloomberg.com/professional/support/api-library/ allow you to connect to localhost 8194 to fetch data. Please correct if any of the following is incorrect:
The use of the SDK requires the installation of a Terminal software on the PC where the program using the SDK is being run.
The Terminal software creates an endpoint listening on port 8194 through which the data can be fetched.
Question:
Is it possible for another computer in the local network to run the SDK and connect to the computer that hosts the Terminal service?
Does the Terminal service license support such use wherein the data leaves the PC and gets pulled to a different PC?
Regards
No, it is not technically possible to connect to another PC which is running the Terminal and even if you can get around this it is not allowed by the license. Data downloaded on a PC running the Terminal must stay on that PC.
Bloomberg offers 2 solutions which don't require the Terminal to run and do require authentication: Server API (SAPI) and B-PIPE. To clarify, because you're describing having to run the Terminal on the PC you're necessarily talking about Desktop API.

Connecting iphone with external device through bluetooth or wired connection

I have an external device that we need to connect with iPhone by using either Bluetooth or wired connection.
For connecting with Bluetooth we know that if the device has BLE then we can directly communicate with it Using CoreBluetooth Framework.
Otherwise we have to go to get it MFI registered.
Also if we want it to connect it using wired connection then also we have to get it MFI registered.But we have found a cable that connects device with iphone and that cable is MFI registerd. So if i use this cable for connecting iphone to device still do i need to get my device MFI registered??
For configuring this device initially i use desktop (putty). Through LAN cable i insert one end lan cable in device and second end in my computer, then using (putty) serial communication (through COM port) we send some commands to configure it. So, can this be done through iphone also if the device gets connected to iphone through usb cable??if Yes then how???if yes through bluetooth then how??
From the developer of that cable's website
"MFI Certified
All Redpark cables are licensed through Apple’s “Made for iPod” (MFI) program and have earned MFI certification.
Apps developed with our SDK can be deployed under your Apple Enterprise Developers license with no further review or approval from Apple."
Key here is Apple Enterprise Developers license. If you're developing this application for internal release within your company it seems you don't need MFI. To be released on the app store I believe you would still need MFI.
As far as I know to configure your device from the phone rather than through your desktop would require a jailbroken phone. See here for a little info http://www.computerworld.com.au/slideshow/365979/great-iphone-serial-port-hack/?fp=4&fpid=5

establish communication between metro and desktop

I'm trying to make my store app communication with desktop app through websockets.
I know we can make metro app as a client and do WinRT way of communicating over.
For the desktop server part, i'm planning to write a dll that will contain server code and receive metro texts being sent over.
Can someone please tell if this is possible and how to write server code in a dll and if so should we be using winhttp for wbesockets in server side ?
Windows Store (WInRT) apps are executing in a sandbox which isolates them from network communication with other applications on the local machine (localhost). That being said, this protection can be disabled using CheckNetIsolation.exe. Visual Studio automatically does the same for debugging purposes, allowing you to call e.g. a web service on your local machine during development.
As for the desktop side; to communicate with web sockets client, you can make advantage of WinHTTP. There's a working example on MSDN.
Keep in mind, though, that any application communicating with localhost will not be certified for Windows Store and will require several additional steps to install it:
The Windows Store application package will need to be sideloaded since it won't be published in Windows Store.
Any desktop component it communicates with will need to be installed separately the same way as any other desktop application.
Using CheckNetIsolation.exe loopback exemption will need to be added for the Windows Store app.
If you can avoid it, I definitely suggest you don't try communicating directly with a desktop application from you Windows Store app.

Access a Windows Azure WCF Services on a Windows Phone 7 Device on a local development machine

How do I access a Windows Azure WCF Services on a Windows Phone 7 Device on a local development machine. I've tried my local IP and also switched off my firewall. Nothing helps. Do we have any cool hacks for that?
Ok so you're trying to access the emulator on your development machine with a real Windows Phone device? Officially this isn't supported, since the emulator only accepts local connections. But you can use the port forwarding features available in Windows to bypass this limitation:
netsh interface portproxy add v4tov4 listenport=8081 connectport=81 connectaddress=127.0.0.1
Now, instead of having your WP7 connect to yourip:81 you should configure the device to connect to yourip:8081.