Cinder icon indicating copy to clipboard operation
Cinder copied to clipboard

look into making boost::filesystem operations work transparently with Android Asset Manager

Open richardeakin opened this issue 9 years ago • 1 comments

When porting a project to android, one of the first holes you fall in is that direct access to files doesn't work, instead you need to somehow go through Android Asset Manager. app::loadAsset() and loadFile() have already been made to work, and fs::exists() has also been overloaded on android to query the Android Asset Manager (here).

I think we should add a similar overload for is_directory(), that somehow checks AAssetManager_openDir to see if the directory exists. I'm not sure if there are others that would currently fail but could be made to work. Obviously not all are going to work, or would be very difficult to make work, like directory_iterator for example.

richardeakin avatar Feb 07 '16 00:02 richardeakin

This should no longer be necessary if we no longer depend on boost. The question then becomes, 'what is the baseline functionality'?

alias-r-cummins avatar Mar 02 '20 18:03 alias-r-cummins