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?
In Android environment, there is no main(). The OS relies on the manifest file to find out the entry point, an activity in most case, into your application.
You should read http://developer.android.com/guide/topics/fundamentals.html for more detail.