Creating the APK of the sample application outside of isCOBOL IDE
The isCOBOL samples directory includes a folder named mobile that contains a folder named pwd_Reminder with all the necessary files to build and test the sample from command line..
1. Change to the directory C:\Veryant\isCOBOL_SDK2021R1\sample\mobile\pwd_Reminder
2. Edit the file local.properties to specify the location of the Android SDK
3. Edit the file project.properties to specify the Android target version.
The target must be installed in your SDK. You can run the command
to obtain the list of available targets.
4. Copy ismobile.jar from C:\Veryant\isCOBOL_SDK2021R1\mobile\lib to libs
5. Compile the PASSWD program and put it in a jar named cobol.jar under the "libs" folder:
cd src iscc PASSWD.cbl jar -cf ..\libs\cobol.jar PASSWD.class cd .. |
6. Run the command
ant debug -Dout.final.file=PwdReminder.apk |
7. Find PwdReminder.apk under the bin folder.