I know I can use opendialog to allow the user to choose a file but how would I get the user to choose a directory.
In my application a user has related files in one directory. So if they want to open a different collection they need to tell me what directory they reside in.
There is no native FolderChooser on the device. So yes it should be done with code.
Next version will make it easier. You will be able to add the FolderChooser as a module.