Next, add a folder armeabi in the src folder and drag and drop the file libmlpijavaandroid.so from the folder mlpi4Java/bin/. Add the MLPI to an existing project, by just dragging and dropping the javamlpi.jar from the lib folder of the mlpi4Java Toolbox to your project root libs folder in the Package Explorer of your Android Studio project. To use the MLPI in Java, you need to add the javamlpi.jar library which can be found in the folder mlpi4Java/lib of the MLPI-SDK. Start by creating a new "Android Application Project" in your workspace: Be sure that you have successfully created and downloaded an Android app without MLPI to your phone or tablet before proceeding with integration of the MLPI. Note Please make sure that you are at least familiar with Android app development.
#Rational application developer create new java file how to
There, you can find detailed instructions and articles how to program and develop for the Android platform. For all downloads and informations regarding Android app development, it is recommended to have a look at. The Java downloads can be found by courtesy of oracle.
![rational application developer create new java file rational application developer create new java file](https://i.stack.imgur.com/vZOVc.png)
MLPI-SDK with all libraries of the MLPI.Android Studio (Integrated Development Environment), to edit you code.Java JDK (Java developing environment), to compile Java applications.Java SE (runtime environment), to run Java applications.To start programming in Java, you need a working Java environment. It is the successor of the ADT which was based on Eclipse IDE. This manual shows how to set up a Java project with Android Studio running on Android smart devices which uses the MLPI to communicate with the target device.Īndroid Studio is the new development IDE for Android based devices.