Application freezes when I do resuming - Windows 10 Mobile - C# - visual-studio

When I open the app (Universal app Windows 10 / windows 10 Mobile), this work perfect but when Go Back using native hardware back key until exit application, the application freeze when i do resuming (long press back key and select the app exit before).
I have the build 10572. The same app, in PC version, works perfect.
It will problem with build mobile, since it is still preview? Or the problem are using native hardware back key to exit application?
The strange thing is that when I "Run" through Visual Studio, the application does not freeze, but when I run out of VS application has this problem!
Someone can help me?
Thanks

Related

After VS 2022 launches a web app in browser, I am unable to switch between desktop windows via clicking icons on Windows taskbar

I am battling with this issue since months, begin just after I installed VS 2022...
If I start my web app (either with debug or without debug) from VS, the browser windows launches, and after that I am unable to switch desktop windows by clicking the icon on the Windows taskbar. This applies to all running application icons on the taskbar
It seems, that VS brings the browser window to the top, with some way what fools Windows.
Diagnostics:
it is not just VS and the launched browser, say I had open a console window, after the web app launch I am unable to switch to the console window by clicking its icons on the Windows taskbar.
after I switch to other windows with other method, say alt + tab, the window handling still remains fooled, it does not work.
Configuring VS to use Edge or Chrome does not matter, both case produces the issue
Exiting VS, closing the browser window resolves the weird behavior, of course next time I launch a web app with VS the issue is back.
Using Windows 11, but no other app exhibited the issue, it is just VS when launching the browser.
Question
This is a real productivity killer for me, breaks my work hundred times a day. Does anyone experience this issue, if yes, has anyone workaround for it?
Currently I found only this workaround:
Options/Debugging/General: turn off 'Enable Diagnostic Tools while debugging'

can't debug mobile native app with tizen studio ide

I have tizen studio ide v1.0.2 installed. I created a new project from one of the samples (sensors). It builds ok. But I can't debug or run it. When I start either run or debug, the emulator window shows up, and eventually it says "Starting the kernel". The ide shows "Launching Sensor Debug", and gets to 81%, then it times out making a connection to the emulator - an error box pops up. Closing it leaves the emulator window open and I have to use the task manager to end it the emulator.
Any pointers, etc. will be greatly appreciated.
TIA
ken
Try This:
Open Emulator Manager (alt+shift+e) under Tools. Check HD Mobile (assuming that is your platform), Click Edit, Under device uncheck all the sensors that you DON'T NEED.
Click Confirm.
Now LAUNCH EMULATOR...... WAIT! I have an i7, 16 gb or RAM, SSD Hard drive, nothing else running except Tizen Studio AND it still takes A LONG TIME to load the emulator (like 30 + seconds).
Wait until you see the Tizen Home screen
THEN, Go to Build Project
THEN, Right click on Project File (Left/Top in Project Explorer window) and choose "Run As" Tizen Native Application.
Works every time for me. Ignore error that says cant open emulator because it is already running.
Hope this helps.

Deploying UWP app from Visual Studio to Windows 10 Phone requires PIN

I'm developing a UWP app for Windows 10 Phone. Since some days when I try to deploy the app from within Visual Studio I get asked for a PIN in order to connect to the device
In the phone settings I can trigger pairing so a new PIN is generated for me. But when I enter that PIN, a new dialog appears telling that the PIN was wrong:
If I press 'Cancel' then the deployment is interrupted with an error message:
1>Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.':
It's strange but some days ago I was not asked for the PIN when I deployed the app. :-( So currently the only option I have is deploy via the web portal. This works but it's enormously slow :-(
Can someone tell me how to solve the problem or what PIN should I enter in order to achieve the deployment?
I had this problem today, closing visual studio and restarting IpOverUSB service fixed this issue for me.
You might want to take a look at Ricardo Pieper Question he has listed all the things he tried to do and all the things that might work.
It looks like the problem was caused by the fact that I'm developing inside a virtual machine (VMWare Fusion on Mac). After setting up the development ebvironment on a PC the deployment works fine.
I can even debug the app running on the phone from inside Visual Studio.
Here's a solution which worked for me:
I had the same problem on my Macbook running VMWare Fusion and trying to debug on my Lumia 950 phone. I was nearly giving up, then I tried using the free VirtualBox and with a virtual USB 3.0 port (which requires the VB extension pack). And it worked!!
Here's my setup:
VirtualBox 5.0.14
VB Extension Pack
Win 10 Development VM from Microsoft – the VirtualBox variant, Build 201601: https://dev.windows.com/en-us/downloads/virtual-machines
Lumia 950 with Windows 10 Mobile 10.0.10586.29
In the VM, I configured to use the USB 3.0 port, since with USB 1.x the phone device driver could not be installed by Windows 10.
The VM contains Visual Studio 2015; I created a UWP JavaScript application and ran it with "Debug" on the connected Lumia device.
Had to go to the Developer options on the device.
Switch back to "Windows Store Apps" option, and then back to "Developer Mode"

Can't deploy xap to windows phone 7 device using MacBook Pro

I am able to sync and manage music, pictures, etc on my samsung focus using my boot camp installation on my macbook just fine but when I try to deploy a test application to my device, I get "This operation returned because the timeout period expired" via VS2010. I get the same thing when I try to manually deploy the application using the application deployment utility.
I am able to do this fine from my dell desktop. Anyone else experienced something similar to this? Any thoughts on why this is happening?
FYI - I get the same behavior whether I am booted into boot camp or using VMWare fusion and USB pass-through.
From this thread:
Try disabling the WiFi connection on your phone and deploy. If that doesn't work, try disconnecting the device and closing Visual Studio and Zune. Then reconnect the device and reopen Visual Studio.

How do I attach to an app running inside the Windows Phone emulator?

I'm trying to debug an app running inside the windows phone 7 emulator, but I can't connect to it from visual studio - Attach to Process -> selecting Windows Phone 7 Emulator transport displays an error:
"Unable to connect to 'Windows Phone 7 Emulator'. Not implemented"
What am I missing?
As a workaround:
open the solution configuration manager
next to build is a deploy column, uncheck your project
press F5
This will launch the app that is already on the device without overwriting it (and deleting its storage).
I don't think it's possible to connect to an app that is already running on the emulator.
It sounds like you're trying to connect to the emulator directly yourself,rather than the app running in it. Which I don't think is what you want anyway.
It may help if you think of the emulator as a virtual machine. That's what it is. (near enough.)
If you want to debug an app in the emulator, you need to launch it through Visual Studio.

Resources