jopen 0.0.2 copy "jopen: ^0.0.2" to clipboard
jopen: ^0.0.2 copied to clipboard

PlatformAndroid

JOpen is a Plugin that allows you to open any files in Android, JOpen provides a way to open files by file path.

jopen #

JOpen is a Plugin that allows you to open any files in Android, JOpen provides a way to open files by file path

Features #

  • Open File From Path.

Usage #

To Use jopen

First: On Your AndroidManifest.xml

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Second:

You Can Implement it to Your Code Like:

final _jOpenPlugin = JOpenPlatform.instance;

Or

final _jOpenPlugin = JOpen();

Finally:

Future<String> openFile() async {
  final v = await _jOpenPlugin.open(path: "/storage/emulated/0/JustC12.png");
  setState(() {
    _openedFile = v;
  });
  debugPrint(v.toString());
}

Additional information #

Provided By Just Codes Developers

4
likes
130
pub points
64%
popularity

Publisher

verified publisherjucodes.com

JOpen is a Plugin that allows you to open any files in Android, JOpen provides a way to open files by file path.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on jopen