This is an example project repository showing how to use the Java wrapper for the libplctag PLC communication library.
This is ongoing work, as we learn about Android and its build system, so expect frequent updates. We welcome any patches or pull requests for this project!
This is a direct copy of the great work done by @GitHubDragonFly with some minor tweaks to use the core C library and the build configuration. Without @GitHubDragonFly, this example and libplctag on Android would not exist!
You will need an Internet connection.
git clone https://github.com/libplctag/libplctag4android
Once all this is done, you should be able to build the APK for the project. Note that you will likely see a warning about not finding or being able to resolve JNA. That's OK and it will resolve when you try to build the first time.
There are two ways to ask for help or contact us.
If you have questions or comments about the this example project, the libplctag library, its use, or about one of the wrapper libraries, please join the Google group libplctag!
The forum is open to all, but is by request only to keep the spammers down. The traffic is fairly light with usually a small number of emails per month. It is our primary means for users to ask questions and for discussions to happen. Announcements about releases happen on the forum.
If you find bugs or other problems, please file them on GitHub's issue tracker for this project.
Especially with this project, we would love to get pull requests and patches!