2
votes

When i'm generating android application through Delphi Xe7, the App_Name.Apk file 6 MB and when i'm installing in the mobile, the application size is 25 MB. Please provide me the information that there are any other settings to reduce the size of the application size. And in the code i'm having only single form, 6 class declaration. Also i'm using the Release settings which is in the Options (Shift+ctrl+F11).

1
What does "I'm using the debug option only" mean? The way to build small applications for android is to use the platform native tools.David Heffernan
Sorry i'm using the release version. This settings will be in options.Work 2 Enjoy - Enjoy 2 Work

1 Answers

9
votes

Delphi XE7 is a cross platform development tool. The power is in it's cross platform nature. It provides a framework called Firemonkey that works on all four platforms (Android, IOS, OSX, Windows). The Firemonkey run time library weighs in at between 6MB and 10MB depending on the platform and the units you use. If you are using the graphical controls of Firemonkey you will have that size footprint.

Similar cross platform frameworks like Adobe AIR, QT, and others have a similar size footprint. However, you can add thousands of lines of code and hundreds of controls and the size will still be about the same.

It is possible to make a bare bones Android app without using Firemonkey in either C++ or Object Pascal but you lose access to all of the Firemonkey controls.