Vote UpVote

Background Operations on Delphi Android, with Threads and Timers

Marco's Tech Blog – You should never do slow, blocking operations on mobile. You should probably avoid those also on desktop, but on mobile the scenario is worse as your app will own the entire screen. In fact, the Android OS does complain almost immediately if your app is not responsive. To better explain the scenario and show some possible solutions, let me start with some code. Slow Code, Unresponsive UI If you've read my book, the code won't be new: let's compute how many prime numbers are there below a given value. The simplest solution is to compute the value in the OnClick event handler of a ...
Favorite? Off-Topic? marcocantu @ 2014-05-21 11:48


Visits: 1022
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Kyle A. Miller
Marco Cirinei
Mohammed Nasman
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)