Studyxnet / FilePicker-Plugin-for-Xamarin-and-Windows

FilePicker Plugin for Xamarin and Windows
MIT License
74 stars 52 forks source link

How to get the full path of a file? (Android) #1

Closed zipgenius closed 7 years ago

zipgenius commented 8 years ago

Hello. How do I get the full path of a file?

rafaelrmou commented 8 years ago

With OpenFile we use the same folder local of SaveFile, but i will create a GetPath() and inside SaveFile and PickFile i will return that property too. Date: Fri, 27 May 2016 08:16:39 -0700 From: notifications@github.com To: FilePicker-Plugin-for-Xamarin-and-Windows@noreply.github.com CC: Subject: [Studyxnet/FilePicker-Plugin-for-Xamarin-and-Windows] How to get the full path of a file? (Android) (#1)

Hello.

How do I get the full path of a file?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hoshisato commented 8 years ago

I would also like to get the path to the file selected

nvlled commented 7 years ago

Any update on this?

jfversluis commented 7 years ago

@hoshisato & @nvlled since the project seems abandoned I've forked it and added this feature. You can find it here on Github. It's also on NuGet :)

nvlled commented 7 years ago

@jfversluis Yeah, I ended up creating my own simple file explorer since I just needed the the full path of a file. I considered other options such as temporary files, but it was horribly inefficient since it reads the whole contents of the file in memory.

I'll try the fork when I need a file picker again, thanks.

jfversluis commented 7 years ago

I also fixed that in mine. It now streams the files :)

Good to hear you've found and alternative! Cheers!

Op 20 dec. 2016 om 05:43 heeft Ronald T. Casili notifications@github.com het volgende geschreven:

@jfversluis Yeah, I ended up creating my own simple file explorer since I just needed the the full path of a file. I considered other options such as temporary files, since but it was horribly inefficient it reads the whole contents of the file in memory.

I'll try the fork when I need a file picker again, thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jfversluis commented 7 years ago

Fixed in code now, will release a new version on NuGet soon!