Easily Use Threads In Delphi XE5 Firemonkey On Android And IOS

Delphi XE5 Firemonkey Android IOS ThreadsThere is a unit that comes with Delphi XE5 Firemonkey called AnonThread.pas which easily allows you to use threads in your Android and IOS applications. There is also a demo project that comes with XE5 Firemonkey in the Samples/Delphi/RTL/CrossPlatform Utils/AnonymousThread/ directory which shows you how to use them. David Clegg from Embarcadero has a blog post explaining the example and how to use the anonymous threads. One reason to use threads in your IOS application is apparently any synchronous network calls that you do need to be in a thread otherwise you run the risk of your app crashing. Lastly be sure to Synchronize() any graphical control updates. I am including an example procedure below:

You can read the full blog post about anonymous threads here.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Easily Use Threads In Delphi XE5 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Show Buttons
Hide Buttons
Read previous post:
Delphi XE5 Firemonkey ORM Android IOS
ORM Framework Components For Delphi XE5 Firemonkey On Android And IOS

TMS Software has released an updated version of their ORM framework which is called TMS Aurelius. The new version of...