Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi :)

well, I like to write some Apps to learn more about WinRT....I only used databases and usual textfiles to save content which was given by the user (f.E. his adress information). Now I like to know if there are new or let´s say more modern methods to save user content, specialy in WinRT?!

I like to say thanks for all your help!
greetings
Posted

I'm a bit new to WinRT myself (who isn't? ^^)
But I think you can't share file between AppA and AppB (at least automatically)

However if this is the same app for the same user on different device you can save data in the roaming folder.
I.e.
ApplicationData.Current.RoamingFolder

will get you a StorageFolder that will be synchronized by Windows on all device with this app!
Nice hey! ;)
 
Share this answer
 
Comments
Alex Großmann 5-Jan-13 8:54am    
Oh, thank you! Well this is pretty cool! So I also can save these text Files in it? Awesome! I´ll check this out now :)
Nope there is none.
WinRT even have limited file system access! :~ You can't just go and write file anywhere!

That said you can use some article on CodeProject here and use a NoSQL database?
Try RaptorDB[^]
 
Share this answer
 
Comments
Alex Großmann 5-Jan-13 8:11am    
Thanks for your help man. Well that´s REALLY weak from WinRT...
Anyway, how some Apps manage to get the same Data, like Login Informations to other devices? Like using the Youtube App in PC A, save the login informations and already got it on PC B?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900