I am currently developing an app that seems to hang my Windows Phone 7 phone. If I start the application and then press the home button or use the back arrow and then repeat this several times then the phone actually hangs in the middle of the app start animation and I need to restart the phone.
To troubleshoot this issue I created a new project and removed all my code and put there my xaml and animations only. My xaml with the animations inside are about 2800 lines long. When used under debugger no exceptions are thrown nor any other error messages are shown.
I created a project for demonstrating my issue. Here are the steps to reproduce the problem
Open the project in Visual Studio
Select Windows Phone 7 Device
Run the application.
Start using the home or the back button to quit the app and then relaunch it again and again.
Repro_Crash - This is the project that I am using to reproduce my issue.
Image of the Crash - from this point I am forced to restart the phone.
I am looking for hints or tips regarding how to figure out what is happening!
I've tried your project and it runs perfectly fine on my HTC HD7 NoDo. It displays only a large wall of letters without any animations and does not crash the phone. I'm using the latest Mango Beta 2 Refresh SDK.
Related
I have a problem with WPF applications built with MS VS2013 and VS2015 on windows 10. When I turn off the display monitor (connected to computer by HDMI), the application layout freezes but the process continue working fine. When I turn on the display monitor back again, the application layout comes back rendering. It's possible to me see this problem through a TeamViewer session.
Additionally, when I runs the WPF application with display monitor turned off, only the layout hangs with a white screen (the application process keeps working)
I have already create a very simple WPF application (with only one button) and happens the same problem.
My computer have only a Intel HD integrated graphics.
Is it a general problem with the current build of windows 10? Is there any solution to the issue or should I wait for a windows update?
Thanks in advance.
I'm dealing with a strange issue that's been giving me headaches for a long time.
I've got a Windows Phone 8.1 (WinRT) app, whose first version I published a couple of years ago. Over the last few months, I've been working on a major update which includes augmented reality as the most prominent feature.
Obviously, the app needs to make use of the camera preview, and that's where trouble starts. I've read discussions in other threads about problems with the camera API, but I didn't find a definite solution.
Before submitting the update, I performed extensive tests on my Lumia 620 and all worked fine. But if the app is downloaded from the store, it crashes and the camera picture goes green as soon as the camera preview starts. It is the very same app package and all required capabilites have been declared.
So basically I can't tell if my app works or not, unless I submit it to the store.
Any help will be appreciated.
Edit: After several hidden-app submissions, I've narrowed down the cause of the crash to the following block of code:
RandomAccessStreamReference rasr = RandomAccessStreamReference.CreateFromUri(new Uri("ms-appx:///Assets/Square44x44Logo.scale-100.png"));
var streamWithContent = await rasr.OpenReadAsync();
The last of the above lines causes the app to terminate. The same code works fine when the app is deployed from VS.
Any ideas?
It looks like the problem is now resolved. The cause of the crashes was the asset file. This file is a scaled version of the app tile, which is created automatically by Visual Studio. Using this file is allowed when the app is deployed from VS, but not in the store.
I have a Desktop Based piece of Touch Screen Software. As part of the process you capture a photo of the user to store later on. The Application works perfectly fine in all versions of Windows other than Windows 8.1 on a Surface Pro 3 (seems to be machines with Metro on).
When it comes to Windows 8.1 the Application Captures the image with no issues. When you then go back to the page to capture again it is unable to grab the camera to take another photo?
Using the Camera Capture in Windows 8.1 itself uses the camera with no issues again. Restarting the Surface Pro allows the camera to work in the application again for one instance and then stops again.
I've tried scouring the web but not having much luck so far. We're using the DirectShow lib
Any advice/ideas/help would be greatly appreciated.
Thanks
Paul
After updating to the 7.1 SDK, my app will sometimes (appears to be random) crash to the home screen immediately after launching. This happens on the simulator and the device. I haven't been able to reproduce this at all on the 7.0.3 SDK. When debugging on the device, there are no error messages received when this happens. The app will crash to the home screen and the last line in the Application Output on Xamarin will read:
Launching /private/var/mobile/Applications/7840DFD4-9B41-4DA5-86FB-CBBF37A03BB2/MyApp.app -debugtrack -monodevelop-port 10000 -connection-mode usb
On the device, if I try to launch the app again by tapping the icon, it will keep crashing out to the home screen. However, if I delete the app and re-deploy it will usually work and then I can open and close the app without any crashes. On the simulator, after the initial app crash I can relaunch the app by tapping the icon on the home screen and it will work without issue.
I've checked the System Log after a crash and compared it to the System Log with no crash. The only difference is the following four lines:
SpringBoard[8050] <Warning>: LICreateIconForImage passed NULL CGImageRef image
SpringBoard[8050] <Warning>: SMS Plugin initialized.
SpringBoard[8050] <Warning>: Sharing Plugin initialized.
SpringBoard[8050] <Warning>: SIMToolkit plugin for SpringBoard initialized.
These lines don't show up at all during a successful launch, but will show up every single time I get the immediate crash described above. I'm really having a difficult time tracking down the reason for this, as like I said it only happens on 7.1. Any help would be much appreciated.
Thank you.
I'm writing a SharpDx(directX) Windows Phone 8 game where everything worked until now. When I changed the size of the DrawingSurface, the phone screen during debugging was only black. Immediately I have everything undone and uninstalled the app, then the screen was still black. Now I have checked with breakpoints where the program stops working, at the end came out that, the phone every line passes through to the line
TouchCollection touchCollection = TouchPanel.GetState();.
After that nothing happens, there is also no warning or anything. However, when I start the app without debugging, I can easily operate the app.
Has anyone an idea?
Here is a Screenshot:
![]]1
I have now found the solution to my problem.
Solution(Very simple):
The DrawingSurface doesn't work because an Microsoft Advertising SDK has disturbed it.