I have an app that extensively uses file system including external SD card.
Currently it uses File APIs to create/delete/list files but I would like to use new Android Storage Access Framework.
Issue is that almost 60% of install base is still on JB and below and I need new Intent.ACTION_OPEN_DOCUMENT_TREE. I am not quite sure how to go about implementing it.
I thought I would write a common interface to use in my app something like MyFile then use appropriate APIs according to platform version but it will be too much unless there is already a library that does it.
What other people are doing?How do you manage this situation?