- Home /
How to open mobile file browsers
Hi I have been banging my head trying to do this and even getting pointed in the right direction is a huge undertaking - does anyone know how to open a file browser on mobile to get access to media and other types of files. I have been searching the web for days (including here) trying different implementations from EditorUtility.OpenFilePanel to Xamarin, intents (just trying to collect clues) etc on android but nothing seems to work. Are there specific assemblies and librarys that I need to expose to ge this functionality for mobile in unity if so where do I find them? Has anyone done this or seen any code that is able to do this in unity?
Please any assistance is greatly appreciated as this seems to be some big internet secret and there must be some way of doing this in unity?
Many Many Thank you's to anyone that is able to assist!!!!
Answer by xxmariofer · Jul 30, 2019 at 09:58 PM
not sure if this will work for you but i have used this plugin some times and worked fine, but i wanted only to access media https://assetstore.unity.com/packages/tools/integration/native-gallery-for-android-ios-112630
Thank you so much I shall give this a shot and then update on this thread if it does what it says on the tin it definitely looks like somewhere to start though thank you.
i have use it multiple times but only in android and worked really well, the only thing i dont remember is how it handles permisions you may need to update the manifest (just in case you dont get browse permisions, maybe there is already a manifest in the plugin cant remember)