Multithreaded Progress Dialog In Delphi XE5 Firemonkey For Android And IOS

Multi Threaded Delphi Firemonkey Progress DialogIf you’re building almost any kind of Delphi Firemonkey app for IOS or Android with XE5 this is a must see example as it will really help your app have a polished feel.¬†Andrea Magni has a blog post which explains how to create a multithreaded progress dialog. Any time you do a lengthy operation in a mobile app you will want to show a progress dialog like this so that the user has some feed back that the app is not frozen. The example operation he uses is a HTTP GET request which is perfect because a lot of apps will probably be making HTTP requests at some point. The example creates an anonymous thread, handles any exceptions, and uses Synchronize to synchronize the progress updates with the main thread. One thing you need to be careful of is that you don’t create and free the form over and over. You should re-use the same progress form repeatedly because Delphi XE5 has a problem if you create too many forms (at least on IOS) that will cause your app to close. The blog post is in Italian but the link will auto translate using Google Translate.

Head over and read the full post on how to create a multithreaded progress dialog for mobile.

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

Multithreaded Progress Dialog In Delphi XE5 Firemonkey For 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.

4 Responses to Multithreaded Progress Dialog In Delphi XE5 Firemonkey For Android And IOS

  1. Pingback: Build A Working Dialog Like UIActivityIndicatorView For Delphi XE5 Firemonkey | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

  2. Pingback: Ten Tips For Creating Professional Android Apps With Delphi XE5 Firemonkey | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

  3. Tristan says:

    I have found issues with certain code going into these Thread’s; and found more success with Yaroslav’s dialog’s
    http://www.youtube.com/watch?v=bzEzOU3EWI4
    TfgProgressDialog and TfgActivityDialog

  4. Pingback: Native Platform Progress Dialogs For Delphi XE5 Firemonkey On Android And IOS | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Simple Custom Styled Component Delphi Firemonkey
Create A Custom Styled Firemonkey Component With The Delphi IDE

Andrea Magni has a blog post up that explains a simple method for creating a custom styled control using the...

Close