Docs/Add Android instructions, demo app and example#882
Open
Chiogros wants to merge 2 commits intoapache:masterfrom
Open
Docs/Add Android instructions, demo app and example#882Chiogros wants to merge 2 commits intoapache:masterfrom
Chiogros wants to merge 2 commits intoapache:masterfrom
Conversation
Added a Kotlin example for connecting to a server using SSHD in Android. Updated the section on demo applications to emphasize the need for more Android examples.
Updated Android support documentation with example usage and Proguard configuration.
|
Thank you. I am developing a library that uses IKVM to make use of Apache Mina SSHD Java Library in .NET/.NET Core. This will attract more developer to use Apache Mina SSHD in the future. Sample demo for simple SFTP Server using C# https://github.com/PortaSFTPServer/ApacheMinaSSHDNetServer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi 👋🏻 ,
I'm developing Trante, an Android app to allow remote storage access from Android's file manager.
I used mina-sshd for SFTP access to remote servers and I wanted to contribute back to help future developers to use it.
This PR brings:
I addition,
so here it is.
The existing example didn't do the trick for me. I targeted Android SDK 35 and as far as I can remember, I couldn't get a
Pathto use inSupplierbecause some methods were not available anymore on the JDK. After some digging, here's what worked:Only during release builds, the app crashed. During release builds, R8 (an app optimizer) struggles to find any reference to some code pieces using reflection in the library and deletes those from the final build. Unfortunately at runtime, these deleted pieces of code were really needed for the app to work.
After hours of build & trial, I've figured out which classes need to be protected from R8 wiping. It led to this
proguard-rules.proruleset:Thank you!