i am new to android and my first question in this site so if made a mistake let me know. I am confused because some tutorials say
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
this is the start of the program.
The others say the program starts at onCreate() method when the user clicks the
app icon from the Home screen the onCreate() method is called. i think onCreate
method here act like listener to the start icon.
My question here
1) If onCreate called first what is the use of using MAIN and LAUNCHER ?`
2) If MAIN and LAUNCHER are the starting point who call the onCreate mehtod?
My question is not duplicate to this question my question is who is the starting point of android program if it is .MAIN the who is calling onCreate() method?