IvanVolosyuk/diskusage

Integration with Material Files

Opened this issue · 4 comments

DiskUsage already integrates with OI FileManager and Solid Explorer. If neither are installed, upon pressing the "sʜᴏᴡ" button, DiskUsage will display the following prompt:

I asked the developer of my favourite file manager, Material Files. They had a look at DiskUsage's code, and think integration should be possible. In fact, they think integration should already be supported.

Would you kindly have a look in the other thread and explore what would be required to make these amazing apps (both available on F-Droid, unlike OI FileManager and Solid Explorer) integrate with each other?

I'm seeing that DiskUsage is trying ACTION_VIEW with inode/directory at:

intent = new Intent(Intent.ACTION_VIEW);

And that seems already supported by Material Files: https://github.com/zhanghai/MaterialFiles/blob/d85fc254e8cd9ad2d0cf44a9a919344c04e531ea/app/src/main/AndroidManifest.xml#L54

Is there any additional checks in DiskUsage before it launches that intent?

@IvanVolosyuk Would be great to see a new, updated release of DiskUsage (maybe also mentioning Material Files as one of the suggested file explorers).