Xamarin android save text file

后端 未结 3 867
Happy的楠姐
Happy的楠姐 2021-01-05 01:24

I am using Xamarin.Android and I want to save a .txt file to the SD card. Here is the code that I am using:

  private void SavetoSd()
  {
               


        
3条回答
  •  一生所求
    2021-01-05 02:03

    I was having same problem and after spending couple of hours, I found that if you are running on sdk higher than 23, android version higher than 6, you should implement access request to user. please find more information here on this link

提交回复
热议问题