Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Folder Picker for Android

$
0
0

Hi,

I'm trying to make a folder picker for Android using an Interface. I need to use an Interface with the DependecyService in my pcl application. I have succeded to open the folder picker, but I don't know how to get the selected path.
This is the code I'm trying to use :

    Intent intent = new Intent(Intent.ActionOpenDocumentTree);
        intent.SetFlags(ActivityFlags.NewTask);
        Application.Context.StartActivity(intent);

I don't know if this can be the correct solution
Thanks for any help.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>