Just a guess here, but it looks like you are new to Java.
Don't let hat stop you though!
As a matter of fact there is not enough information in your post to tell you
whats wrong... sometimes nothing is wrong and your tools cause you trouble.
As you get used to them, you will start to recognize when that is happening
vs. an actual error.
There are still some cluse there though, and they are actually
self explanatory as you get used to the workings of Java.
1) The compiler thinks onActivityResult is a variable. There are two places
you can have a variable and only two cases where you should get an error
like that (I say only two, but I mean only two likely places). First,
understand that, this is a method declaration (if you don't know the
difference between a method and a variable, look it up now).
Issues to look for: a) you have it inside another method. b) you don't have
it in a method, but you don't have a class defined.
The minimum code for that to be valid is:
class MyClassName {
protected void onActivityResult(int requestCode, int resultCode,
Intent data) { }
}
The rest of those errors are a result of the first error, fix the first one
and you will likely get rid of the others.
I've spent a few minutes now pointing you in the correct direction. I don't
mind doing that, but its really a problem you should not be having, so If i
have to do it again I won't be so happy about it :)
I recommend going through a simple beginners tutorial, which will give you
enough basics to ask a little more advanced questions... ones that people
will be more likely to answer.
Before posting again with this sort of question, please go through this site
and actually read it.
http://www.freejavaguide.com/corejava.htm
You will *need* to understand parts 1 through 5 to get anywhere at all.
- Brill Pappin
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en