As you know, Delphi XE5 began to support development for Android. So, my first program, this loop output from 0 to 17 in the Memo, in the end it took me 4 seconds to freeze the program ..

I made debugging directly in the phone, the phone Xiaomi mi2s, CPU Snapdragon 600 4x1.7GHz, that is, not in the phone case. What is the hang of the program? And such a question is how the program is compiled, when compiling Delphi code is replaced with equivalent Java code? or there is both Java code and Delphi code, then this would explain the inhibition of the program ...

And this, are all the features of the Android API that can be done in Java, implemented in Delphi? or is there limited functionality?

    1 answer 1

    The delay is due to synchronization with the actual device, so slowly. Get used to it)) Instead of a phone, connect an emulator, repeat. Maybe it will be faster.

    Dig in the settings, documentation MB can somehow speed up.

    No, Delphi code is NOT converted to Java and so on, but compiled into binary SO (analog DLL for Linux).

    I think everything that is implemented by the connected SDK can be used in Delphi.

    Do not be stupid, but go on to practice with questions of interest. It is better to try than to wait for the weather by the sea with answers on forums / chats, etc. and so on

    • A cycle from 1 to 100 filled for about 30-40 seconds. I hope this is due to debugging, release, I have hope, it will be better) - Man
    • did not write on delfy, but there was a question there what it is necessary to compile under each percent? - ProkletyiPirat
    • The reality will naturally be better, you can even write games FireMonkey. - Man_Borscha
    • I understand the release to do through: Projects-> Options-> DelphiCompiler and there choose target: Android release instead of debug? - Man
    • @ProkletyiPirat, why? There are versions of the SDK that the compiler supports. Sibiraete 2.2 android - flies at all. Collect 4.0 - does not fly on those that do not pull> 2.3. @ Yura Suchko, most likely) I haven’t really gotten into this myself yet. So, I play around. - Man_Borscha