By user3665067 Hy, my first Android application generates a number based on a key provided by the user, so it has 2 editboxes and a little code. It is working on all Android 4.x devices I’ve tested, except the person’s tablet I made the aplication for. It doesn show anything, just a black screen. It’s an Android 4.2, Cortex A7, 1,2GHz QUAD Core tablet.
I’ve put a ShowMessage dialog in the Main Windows’s “OnPaint” event and it shows it on runtime, I click “Ok”, but the screen stays black and after a minute or so if I touch “Back” I get “Application is not responding”. On my Android phone, if I run my application, it keeps showing the ShowMessage dialog as the main windows is redrawn, but it’s working fine.
I don’t know how to find the problem if I don’t have an error.
I am working on Delphi XE5 Update 2. Thanks, The code is below:
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
IdGlobal, IdHash, IdHashMessageDigest, FMX.Edit;
TMainWindow = class(TForm)