Deploying Universal DirectX app to Windows Phone 8.1 device - deployment

I have been playing around with DirectX on Windows Phone 8.1 through the Universal App Template and in the process I've noticed that no matter which of my solutions I am opening, whether it be a Universal DirectX template within Visual Studio or code samples from MSDN; whenever I set the default Project in the solution to the Windows Phone 8.1 Project, I dont get an option to deploy to my device(s), instead only the 6 emulators appear.
If I set the default project in the solution to the Windows 8.1 version I am given the option to run on both the device and emulators and if I create a Windows Phone 8.1 DirectX (Silverlight) app it gives me the option to deploy to both the device and emulators. So this problem is only for deploying a DirectX (Universal) app to a Windows Phone 8.1 device
To go a step further, I have tried generating an APPX and manually deploying the DirectX (Universal) app to my various devices, but even though the deployment tool that comes with the 8.1 SDK says that it was successful, it doesn't appear on the devices app lists.
So I want to know, is it even possible to deploy a DirectX (Universal) app to a Windows Phone Device? and if it is possible, how to set up the solution to allow deploying to my Windows Phone devices?
Thank you.

Try this:
create a new universal d3d app
right click the windows phone project and select 'Set as startup
project'
set the solution platform to 'ARM'
The 'Device' option should now be available.

Yes, it is possible to deploy to the phone device.
You need a Windows Phone with 8.1 on it.
Plug it into an enabled USB port.
Unlock the phone. The name of the tool that unlocks the phone is
"Windows Phone Developer Registration (8.1)"; it's available by
searching from the start menu (it isn't listed in the Visual Studio
tools menu).

Related

Is it possible to run a Flutter app on a real iPhone connected to a Windows machine in VSCode?

If I connect a physical iPhone to my Windows computer via usb, is it possible to run a Flutter app on it in VSCode?
It is not possible, you need to install XCode and XCode Command Tools in order to build for iOS. For those you need to use MacOS.

App Launch: The Huawei Lite Simulator supports only Lite projects

When trying to run my test app on a HVD emulator, I get the following error message:
App Launch: The Huawei Lite Simulator supports only Lite projects.
Meanwhile I've realized, that currently one can only use hardware or a remote emulator for such a project. But when trying to set this up, the Harmony OS Virtual Device Manager responds with 404:
Is there anything to do about it?
I haven't tried with DevEco Studio on Windows so far, but with Android Studio on Linux, which appears to be functioning now.
With HMS Toolkit version 1.0.5, it will ask for Huawei ID and then also lists devices in Düsseldorf or Ireland (where the one is a city and the other a country). However, there are currently only EMUI ROM available. It integrates better than before, but without an HarmonyOS 2.0 ROM, it still doesn't provide the expected environment.

Windows Visual Studio 2019 doesn't detect iphone XR iOS 13.4.1

I'm new to xamarin. I wrote a simple "Hello World" app using VS 2019 on Windows 10 which runs successfully on the emulators. I have an iMAC on my network and it is successfully connected to my Windows visual studio on Win10 machine. No update warnings or mismatch version error message(s) during the paring of the Windows VS to the remote iMac. On my list of emulators, I have a long list of emulators and "Remote Device" option. All in all, all is well when I work with the emulators.
Now, when I connect my iPhone XR (iOS 13.4.1) using USB to my VS 2019 on Win10, the expected result would be that my device would show up along side of all the emulators so that I can deploy to the device for debugging. My first question is whether or not that is the right assumption. If it is, then in my case that doesn't happen. When I start iTunes program on my Windows machine, it has no issues connecting to my iphone (I can do backup, restore, etc.). Interestingly, in VS, the Device Log has no issues connecting to the connected iphone either. My phone is listed on the drop down box on the top left hand corner of the screen. At this point, I can only assume that is not a connection issue.
What I'm left with is some kind of mismatch setting on VS 2019 in Win10 or on my connected iphone that is causing VS 2019 on win10 not seeing my usb-connected iphone. Any ideas what setting I should fiddle around with? Thanks in advance.
First option, you need to connect iPhone over USB on Mac device , then you can debug in iPhone device .
Second option ,If Mac device not always around you , you also can connect to iPhone device Over Wifi .
An important part of the developer workflow is deploying to a device. Xcode 9 introduced the option of deploying to an iOS device or Apple TV through a network, rather than having to hardwire your devices every time you want to deploy and debug your app. This feature has been introduced in Visual Studio for Mac 7.4 and Visual Studio 15.6 release.
This guide details how to pair and deploy to a device over the network : https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/wireless-deployment?tabs=windows
Ok, so what you need to do is select "Debug|iPhone" or "Release|iPhone" from the build configuration menu.

Working with Samsung Smart TV Emulator (eclipse)

I'm trying to create a Samsung Smart TV application. I have the SDK installed on my windows VM (via VMWare) and it all looks fine until you go to run the application in the emulator. It does nothing.. I even tried starting the emulators manually and here are the respect errors:
[2011]Samsung TV Emulator(2.5.1)
C:\Program Files (x86)\Samsung\Samsung TV SDK 4\Emulator\Emulator2011_v2.5\bin\Emulator2.exe
The application has failed to start because its side-by-side configuration is incorrect. Please set the application event log or use the command-line sxstrace.exe tool for more detail.
[2012]Samsung TV Emulator(3.5.2)
The application was unable to start correctly (0xc0150002). Click OK to close the application.
[2013]Samsung TV Emulator4
The application was unable to start correctly (0xc0150002). Click OK to close the application.
Extra Details
I'm running Windows 7 Pro on Mac OS using VMWare Fusion 5
So I'm not sure what to do at this point. Does anyone know of a work around? Thanks.
I had the same trouble.
Install vcredist_x86.EXE http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=26347
Exactly vcredist_x86.EXE 2.6 MB
Emulator will work on Windows 7 x64. Checked.

Running directx SDK samples on a Windows Mobile 6.1 device

I tried to run the directx samples from ..\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\directx\d3dm\tutorials on a Samsung Omnia and on the emulator and it doesn't work because of a deployment error.
I am using Microsoft Visual Studio 2008 and have installed Windows Mobile SDK Standard and Professional refresh.
The device is correctly plugged in and set up for active sync (I know this because other samples work, also a creating Win32 smart device application and running it works).
When I try to run a directx sample application it compiles without errors but the message:
" There were deployment errors, Continue? Yes/No" appears
If I manually copy the application from the debug folder to the device and run it from there, it works.
The same deployment error message appears if I try it on an emulator. Other applications are deploying successfully.
Is there any way to make the deployment work? Maybe there is an obscure option I need to set...
What I do is:
Connect the Mobile device to the PC,
Open Visual Studio 2008,
Open a directx sample project,
Click Run (in Debug or Release mode).
The problem with the deployment is that the file msvcr80.dll could not be found.
It was specified at the deployment options as an additional file "Project->Properties->Configuration Properties->Deployment" then "General->Additional files"
with the paths msvcr80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_WINDOWS%|0;
Removing it makes the deployment successful. I have only tested this on a Windows Mobile 6.1 device and with the D3DM reference driver on an WM6.1/WM6 emulator.
What I haven't figured out is where does $(BINDIR)\$(INSTRUCTIONSET) point to.
Also I don't know why msvcr80.dll is in the addition files if it is not actually needed.
Is there actually a msvcr80.dll compiled for Windows Mobile platform on an ARM cpu?
I was able to resolve this issue after doing some low-level Sysinternals Debugging. It was trying to deploy NETCFv35.Messages.EN.cab to the device and in my case it was deleted for some reason. Re-installing .NET CF fixed the issue for me. Wish VS 2008 said what file was missing instead of a generic message. Hope this helps you too.