Hybrid App filesystem access

0
0

I am curious about how the OpenFileDialog and SaveFileDialog behave in a WiseJ Hybrid application. Do they always show the local filesystem, or does it depend on whether it is a Hybrid Local vs Hybrid Remote scenario?

Similar question on serial ports, are local serial ports accessible under either configuration? If so, is it via Maui or can you just use System.IO.Ports?

  • You must to post comments
0
0

Hi Brian,

You’re correct that it depends on which environment you’re running in. Hybrid Remote is the remote web server’s file system. Hybrid Local should be the local device’s file system. I haven’t tested the dialog with the local device’s file system so not sure if you’ll run into some issues there. I would think it would be ok if you use the application temp directory (Environment.GetTempPath() or Device.FileSystem.CacheDirectory) as a root.

For the second question, I would recommend sending us an email at support AT wisej DOT com to look at your case further. System.IO.Ports will only work on Windows and macOS. If you’re running on Android and iOS you’ll need to integrate with platform-specific APIs. If it’s a remote app we’ll need to wire the data back to the server.

HTH,
Levie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.