I've experimentally switched to option 1) to see how things work... trying to see how much stuff breaks, and there were immediately changes required for Interface Builder... the URI is URLencoded with the filename separated by a %3A (encoded : character) so I had to add Android special case handling for that.
Added DW_FILE_MASK which can be bitwise ANDed to get the open flag, on Android.
Also added DW_FILE_PATH which will cause Android to always return a path, if it would otherwise have returned a URI (it is 0 on other platforms since they always return paths already).
DW_DIRECTORY_OPEN also always returns a path on Android.
Edit: Basically I needed to put handling into all my apps for Android URIs, not sure if this is the way to go... if anyone has any input please let me know... you can see the necessary changes in the HandyFTP, Interface Builder and DWTest component of Dynamic Windows itself. Not sure if it is too much Android specific handling... if I should try a different option that appears more cross platform.
Added DW_FILE_MASK which can be bitwise ANDed to get the open flag, on Android.
Also added DW_FILE_PATH which will cause Android to always return a path, if it would otherwise have returned a URI (it is 0 on other platforms since they always return paths already).
DW_DIRECTORY_OPEN also always returns a path on Android.
Edit: Basically I needed to put handling into all my apps for Android URIs, not sure if this is the way to go... if anyone has any input please let me know... you can see the necessary changes in the HandyFTP, Interface Builder and DWTest component of Dynamic Windows itself. Not sure if it is too much Android specific handling... if I should try a different option that appears more cross platform.