System.Environment.SpecialFolder

rmaciasrmacias USBeta, University ✭✭✭✭✭

I was looking at the API documentation for the SpecialFolder enumeration, and it appears it needs to be filled out. :) So my question is, in regards to Android, which file paths do these enumerations map to? Specifically, I'm interested in ApplicatonData, LocalApplicationData, and Personal. But it would be useful to know what these file paths are in Android and what type of data is appropriate to store in each location. Anyone know?

http://androidapi.xamarin.com/?link=T:System.Environment+SpecialFolder

Best Answers

Answers

  • Chris.3704Chris.3704 USUniversity ✭✭

    +1 for completing the documentation. Try searching for SpecialFolder and then click on the autocomplete link:
    Error: Your request has found no candidate provider [hs="(null)", id="(null)"]

  • JohnHardmanJohnHardman GBUniversity mod

    @remiguittaut - Did you ever find/receive an answer to your question above?

    Thanks,

    John H.

  • SteveMolbachSteveMolbach USMember ✭✭

    Bump. Need that answer too please. Thanks!

  • MP1376MP1376 USMember ✭✭

    Bump. Looking for answer as well.

  • ericwu1991ericwu1991 BRMember

    Yay. No answer as of November / 16.

  • I found the answer.
    .
    Create separate class in your android project.
    .
    Use the following assembly references and erase all the default..,

    using System;
    using System.IO;
    using Xamarin.Forms;
    using (your android project).Droid;
    .
    .
    It worked for me

  • van8tkavan8tka RUMember ✭✭

    I repeat.
    Is Environment.SpecialFolder.Personal kept in case of an app update?

Sign In or Register to comment.