Click here to Skip to main content
12,691,231 members (30,317 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# WinRT
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 4-Jan-13 14:49pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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! ;)
  Permalink  
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 :)
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170117.1 | Last Updated 5 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100