Delphi XE7 and Android – App crash using TEdit


Delphi XE7 Version 21.0.17017.3725

Hi, I put in the form 2 TEdit. When I run it in my Android 5.0.2 cellphone then app crash while I change the focus or, sometimes, when I close the virtual keyboard.

I tried to fix it with the follow methods:

Editing the androidmanifest.template.xml, changing current the line:
android:configChanges=”orientation|keyboardHidden” to

1.1 Link : android:configChanges=”orientation|keyboard|keyboardHidden”

1.2 Link : android:configChanges=”orientati‌​on|keyboard|keyboardHidden|navigation|screenLayout|screenSize”
Link I created I new project
Link Change the FMX.Platform.Android.TWindowManeger.AddWindow (and RemoveWindow). In this case I didn’t found a way to recompile this unit (ok, solved).

Someone fix it by other ways?


Thanks for answer, I tried change the FMX.Platform.Android.TWindowManeger.AddWindow (and RemoveWindow), adding the FMX.Platform.Android on my project. This compiles fine, but not fixed the problem..

the question stays.. Someone fix it by other ways?


Comments are closed.