Most of the examples and tutorials I have looked show subroutines and the like actioned by events (Button click, Activity_Resume etc.) There seems to be no equivalent of a void() or main() constructs that continuously cycle where events and the like can be triggered. i.e. looking for serial inputs or updating items based on new information. What is the best way or the normal techniques to set this up in B4x?