docs: include info on helper JAR

This commit is contained in:
Chris Waldon 2020-06-20 16:11:32 -04:00
parent aef2cf562d
commit 1215aa671d
No known key found for this signature in database
GPG Key ID: 35BBC7C073F5A5D3

View File

@ -24,6 +24,17 @@ For now, add:
replace git.wow.st/gmp/jni => git.wow.st/whereswaldon/jni v0.0.0-20200620152723-b380472956a0 replace git.wow.st/gmp/jni => git.wow.st/whereswaldon/jni v0.0.0-20200620152723-b380472956a0
``` ```
Additionally, this package requires a helper JAR archive to function on Android. You can
generate this jar file with:
```
javac -target 1.8 -source 1.8 -bootclasspath $ANDROID_HOME/platforms/android-29/android.jar ./android/NotificationHelper.java
jar cf NotificationHelper.jar ./android/NotificationHelper.class
```
Place this JAR file in the main package of your Gio application so that it will automatically
be bundled into your APKs.
See the package documentation of `./notification_manager.go` for usage information. See the package documentation of `./notification_manager.go` for usage information.
## Name ## Name