Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

I have found ready to use solution on how to pack the application to *.APK file. 2 days 5 hours ago #19006

  • Ak.Saharov
  • Ak.Saharov's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I have read this wiki article "Cross-build for Android".

pilotlogic.com/sitejoom/index.php/wiki/1...als/cross-build.html

In the end of it, it is said that
"For Deploy your new application, or how to pak your app to *.APK file,
Please search to the web..."

I have started to search to the web...

On SourceForge.net I have found ready to use example made by Key-Real.

He is from Hamburg, Germany.

He made Pascal program for Android Camera.

!!!With Android permissions granted for Camera and Storage!!!.

Here is the link.

sourceforge.net/p/nativeandroidcamera/code/ci/master/tree/


I think, I have found out some main ideas of this example: 

1. Pascal program must be library unit to create .so file.

2. Because .so file is library in Android.

3. As library unit program must have external function to import.

4. To start the application on Android device the external function of the .so file must be set as application.MainActivity in Manifest file for Android.

5. After producing .so file it has to be copied into "lib" folder of Android application template given by the author.



I think, that this example could be used as Template to create any other Pascal application for Android.

Because:

1. The author has created all folders required to create APK with Manifest file. 

2. The author has created ready to use build-script to create signed APK and sign it.


Script named "doit" can be found in the root folder!


All you need is to change the content in the folders of the APK template. 

sourceforge.net/p/nativeandroidcamera/code/ci/master/tree/apk/

And run the script named doit.

I think, it is great!

Author done well!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1