I am working on Windows phone 8.1 app, I need to log all the exception and some information to a file and also console at the same time.
1.How can I do that?
2.Is there any third party for that?
I need to send that log file when ever the app crashes.
You could use HockeyApp. It stores crash report and sends it to the server next time user start the application. It completely free (Microsoft has acquired HockeyApp) and provides SDK for Window Phone / Windows Store platform.
http://hockeyapp.net/features/crashreports/
Related
I have an uwp app, which is being distributed using SCCM and every time after a new release is distributed, when a user tries to open the app using the protocol (Eg. Appx:\) an error is displayed by Windows saying "Invalid value for registry" . If the user opens the app using the ícon on the startup menu, it opens without problem and after that there is no problem openning the app using the protocol anymore.
Anyone have any idea why? And how to solve it ?
The uwp app is built over windows anniversary update.
Thank you
In Win 10 Mobile was setting for developers where I could set the count of crash dumps must be saved on a device. After installing Creators Update that setting disappeared and crash dumps are not saving anymore. Is it possibble to save crash dumps on a device with Creators Update ? It's necessary for me.
I know about app insights, but it's not variant - I need a full dump with native symbols.
Microsoft changed this since Windows 10 Mobile Creators update v1703. After activating Device Portal use your development PC and open the Device portal Url that is shown on the phone.
Now the updated device portal has an entry Crash data which you have to click
Now it takes around 30 seconds where the phone enumerates all sideloaded apps, lists them and offers you a checkbox to create dumps for each sideloaded app
So with the updated device portal you can now control the dump creation per sideloaded app instead of a global dump count. But I have no idea how many dumps are created, because I haven't got a crash.
Hello I am working windows phone 7 and my application is working perfectly fine into the emulator, but once I start my application into the device it will crashing so how I track the error log into my device.?
how I can check error stack into my device.?
Have a look at LittleWatson. It allows you to get exception information emailed to you from a real device.
It's easy to modify to add extra logging information if you need it to.
I don't have a WP7 device yet. Everything is functional in My App on a Simulator, but when my customer test it, app does not function at all. e.g. VDO is not playing.
Is there a way to get a crash log from Windows Phone 7? (like iPhone).
You can easily create your own crash report. Basically this is what you have to do:
In your App class add an handler for the UnhandledException event
inside the handler prepare a log with everything you need (stacktrace, memory allocated, etc.)
use an email composer Task to send the report.
You can also check BugSense which is a cross-platform(iPhone,Android and Windows Phone) tool that collects and analyzes crash reports from mobile apps.
Disclaimer: I have developed the WP7 plugin.
I know that on the iPhone you can register a URL prefix such as myapp://blah which, when opened in safari, will open up your application.
Is there anything like this for Windows Phone 7?
Unfortunately not, applications can only be launched by the user from the application list or home screen. I suspect that the hooks are there in the operating system because the YouTube application is launched when attempting to view a video on the YouTube website from the browser and the user is prompted to install the app if they haven't already got it installed. But unfortunately, this approach isn't publicly available.
You may give Receive Push Notifications in an Application for Windows Phone http://msdn.microsoft.com/en-us/library/ff402556%28v=VS.92%29.aspx a try.