for how long data in Isolated storage is persistent - windows-phone-7

I have read that data stored in Isolated Storage in wp7 is permanent.But I am a little confused about the term 'permanent'. I don't have wp7 device so I can't check this on a real device. I tried the emulator and everything is working fine until I close my emulator. I want to know if the same problem exists on the real device when the application is closed or the device is switched off.

On the device, the IsolatedStorage will keep your data, until you uninstall/delete the application. When you use an emulator, the "installed app" remains only until you close the emulator. Closing your emulator is equivalent to deleting your application.

In device Isolated Storage data is stored till the application is Uninstalled.
Whether it may IsolatedStorage data or Application Settings.

When you are using windows phone instead of emulator IS is persistent. But in emulator the story is different refer this question Automatic login process in Windows Phone 7.1 application

Related

Windows 10 Mobile Error reporting not available [duplicate]

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.

Creating Crash Log for Windows Phone 8.1

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/

Way to Programmatically Reboot iOS Device?

Basically, I'm looking for any way to go about this at all, no matter how cumbersome or unintuitive, so long as it can be done on iOS 7 (which the third party SBSettings framework currently cannot), and can be done on a non-jailbroken device.
This is for an app which will be loaded into iPads in a physical enclosure so the power button is inaccessible. The device itself will be in single app mode, which cannot be enabled or disabled except through our network-accessed MDM solution. The issue I'm trying to find a way around is that every now and then, the network connection stops functioning and the only way to re-establish it is to restart the device, which can't be done without an internet connection other than to physically press the inaccessible buttons. The reboot action would be password-locked in a hidden event handler and so inaccessible to normal users. This is not an app that will ever see the app store, so Apple's user interface guidelines don't necessarily apply.
Alternatively, is there any way to enable/disable assistive touch programmatically or any other possible method that will enable rebooting the device while in single app mode without physically touching the power button?
This is not a real answer (just thinking aloud).
Obviously, you can't do this through public API.
I believe, API's like SBReset can't do this either, because they are protected by entitlement.
I believe your simplest option to find some reasonably low level API which crashes and use it to crash a device.
I had exactly the same question some time ago:A way to reboot iOS device or restart Springboard using private API?
P.S. I don't have a way to find these crashes. I would recommnd to talk to jailbreak community (people who come up with jailbreaks for iOS devices). They collect all kinds of crashes. Most of these crashes aren't exploitable. However, you don't need an exploit, you just need a OS crash.

Cordova localstorage not persisting

I am developing an Hybrid Mobile app using Windows Phone 7 sdk and phonegap. Using Cordova local storage I am storing value. The stored value does not persist If I close the app and launch again in windows phone emulator. Anybody used local storage or alternative persistant storage in windows phone shares idea would be great.
window.localStorage.test = "Some test data";
console.log(window.localStorage.test) //It prints result but does not persist
I believe the correct syntax is:
window.localStorage.setItem("test", "Some test data");
console.log(window.localStorage.getItem("test"));
Assigning properties appears to work simply because javascript allows you to attach new properties to objects.
Original Answer Are you closing the emulator between executions? The emulator clears its user state when you close it.

How do I debug my .net CF app on my physical device?

I am pretty new to WinMo development. I managed to write my first app, debug it via the emulators but I failed to run the debug session on my physical phone.
I connected my phone to the development PC via ActiveSync, but that alone did not make my phone show up on the list among the selectable emulators. Is there anything I need to do before this would work?
Alternative: I want to program with the G-sensor and the bluetooth capabilites of the phone. Is there a way to play with them via emulators? How on earth do you shake an emulator? :)
After you hooked up and confirmed that ActiveSync is working, you should be able to select the "Mobile Device" form the target list. It is not listed by name, it simply is the only entry not ending in emulator.

Resources