Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android App created by Delphi XE5 starts very slow

I have developed a few Android apps with Android SDK using Java and now that XE5 is out and i am a very experienced Delphi developer i tried a few samples off android apps and my impression is that android apps designed with XE5 runs very slowly, they start very slowly, almost 4 secs with a black screen, that ruins the whole experience.

I know XE5 Android apps run in native code, one more reason for this not happening, they should be extremely fast

Is there anything i can do about it?

I am using a Samsung Galaxy S2 to test, so it's not about the testing equipment.

like image 202
Mike Avatar asked Oct 09 '13 13:10

Mike


1 Answers

They are a bit slow to load due to the size of the native library that is loaded into memory to run.

Make sure you are running a release build on a new, capable device and it's not so bad.

But you'll always have a large native library, as things currently stand.

One possible course of action is to distract the user by use of a splash screen. This, however, is not straightforward. However it is feasible. It will be documented somewhere or other in a week or so.

like image 92
blong Avatar answered Sep 23 '22 12:09

blong