fgx-firemonkey icon indicating copy to clipboard operation
fgx-firemonkey copied to clipboard

TfgActivityDialog is not showing on android

Open hraztan opened this issue 7 years ago • 2 comments

Hi I just installed Delphi Tokyo Release 1.

The TfgActivityDialog is not showing on android. It's working fine on iOS.

Please, advise

hraztan avatar Oct 24 '17 06:10 hraztan

Hi,

I have the same problem, but so far I have not found a solution...

the problem is change in version 10.2 Tokyo

Unification of Delphi and Java threads on Android: CallInUIThread has been deprecated. All code is now running in the Java UI Thread, removing the need for thread synchronization. The ProcessMessages method used to call the CheckSynchronize method, which called callbacks from the Java Native thread. There used to be two threads: the Delphi UI thread and the Java Native thread. After the refactoring work in 10.2, there is only one thread: the Java Native thread, which receives all notifications from Android and forwards them to the Delphi event handlers. While it is blocked via the while cycle, no event handler can be executed, preventing an exit from the cycle. Callbacks and events in general are called if there is no code holding the app main thread.

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/What%27s_New

Please help

mat100 avatar Jan 17 '18 22:01 mat100

Hi guys, some news on the subject, I need the component to work on Android 10.2.3

thanks

recardo08 avatar Apr 10 '18 14:04 recardo08