My aplication shows nothing except a black screen

  

By user3665067 Hy, my first Adrod aplication generates number based on a key provided by the user, so it has 2 Editboxes and a litle 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”, screen stays black and after a minute or so if I toch “Back” I get “Aplication is not responding”. On my Android phone, if I run my aplication, it keps 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:

interface

uses
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;

type
TMainWindow = class(TForm)
Label1Key: TLabel;
Key: TEdit;
numar: TEdit;
LabelNumber: TLabel;
PanelCentrare: TPanel;
procedure …read more

Via: StackOverflow

Comments are closed.