Show modal dialog in delphi firemonkey to Android mobile application


I have used this example to show a Dialog Box in my Android app in Firemonkey:

Closing modal dialog in delphi firemonkey mobile application (Android)

but I get next error:

android.view.ViewRootImpl$CalledFromWrong ThreadException: Only the
original thread that created a view hierarchy can touch its views.

How I can solve it?


If I want the form that I have not run full screen in the emulator how have to define it? I have by default in full-screen.

Thanks in advance

Comments are closed.