注册。在德尔福Android应用程序的大小应用程序、大小、德尔福、Android

2023-09-07 14:28:40 作者:朋友你蠢炸天

当我是通德尔福XE7产生的android应用程序中,App_Name.Apk文件6 MB,当我安装在手机中,应用程序大小为25 MB。请提供给我,有任何其他的设置,以减少应用程序的大小尺寸的信息。而在code我遇到只有单一的形式,6类声明。另外我使用的版本设置,这是在选项(SHIFT + CTRL + F11)。

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).

推荐答案

德尔福XE7是一个跨平台的开发工具。功率是它的跨平台性。它提供了一个名为Firemonkey框架在所有四个平台(安卓,IOS,OSX,Windows)中的作品。该Firemonkey运行时库重量为6MB和10MB根据不同的平台和使用单位之间。如果您正在使用Firemonkey的图形控件,您将有大小的足迹。

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.

类似的跨平台如Adobe AIR,QT,和其他框架有一个同样大小的足迹。但是,你可以添加控件上千code线和数百规模仍将是大致相同的。

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.

有可能使一个bare骨骼的Andr​​oid应用程序,而无需使用用C ++ Firemonkey 或Object Pascal中,但你无法访问所有的Firemonkey控制。

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.