I am a beginner to android. I am trying to figure out the errors I am getting when using the following syntax:
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
The following are the errors: 1.void is an invalid type for the variable onActivityResult. 2.Syntax error on token "," ";" expected. 3. same as 2. 4.Syntax error on token "(" ";" expected. 5.Syntax error on token ")" ";" expected. Sorry if you find this question trivial.