How to pass it to InstallPackage method of OS lib?
This seems to be wrong...
B4X:
Dim r As Reflector
r.Target = r.CreateObject2("java.io.File", Array As String(Dir, FileName), _
Array As String("java.lang.String", "java.lang.String"))