Normally in a C or C++ program there’s a main loop/function, usually int main (). Is there a similar function that I can use in android Java development? Answer As far as an Android program is concerned there is no main(). There is a UI loop that the OS runs that makes calls to methods you define or override in