In order to reduce code duplication and ease refactoring, you might want to consider merging your samples (BLE & USB) into this library project.
For instance, use a Gradle module tree like this:
android-pcsclike
lib
lib-compiled (if you absolutely wish to keep binaries into your repository)
sample-base (depends on lib or lib-compiled programmatically)
sample-ble (depends on sample-base)
sample-usb (depends on sample-base)
I would be happy to help you merge your projects if you don't have the time to do so.
IMHO, you should also publish you compiled library to a public repo (like Bintray, JCenter...) and get rid of the bundled library binary that clutters your repository.
In order to reduce code duplication and ease refactoring, you might want to consider merging your samples (BLE & USB) into this library project.
For instance, use a Gradle module tree like this:
lib
orlib-compiled
programmatically)sample-base
)sample-base
)I would be happy to help you merge your projects if you don't have the time to do so.
IMHO, you should also publish you compiled library to a public repo (like Bintray, JCenter...) and get rid of the bundled library binary that clutters your repository.