Dave Tolls wrote:What does your AsyncTask look like?
How is it called?
Knute Snortum wrote:You would need to create "getter" methods for your fields in Class2, like so:
Then you could use them with a Class2 object:
Also note that variables should start with a lowercase letter.
incompatible types: void cannot be converted to int
constructor TipOpreme in class TipOpreme cannot be applied to given types;
required: no arguments
found: Connection,int
reason: actual and formal argument lists differ in length
incompatible types: void cannot be converted to int
Rob Camick wrote:
Thank You for suggestion, tried that but still same error.
So then you still haven't told us the statement that is causing the problem!!! How do you expect us to help?
I noticed that everything is executed twice
So you have a bug in your code somewhere. Time to do some debugging.
Rob Camick wrote:
So get rid of the
Campbell Ritchie wrote:
Does that tell us where the exception was thrown? Please answer RC's question.Josip Skako wrote:. . . I'll describe it more precisely. . . .
Rob Camick wrote:Well we have no idea which statement is causing the Exception, so how do you expect us to help?
java.lang.ArrayIndexOutOfBoundsException: -1
Someone just used your password to try to sign in to your account from a non-Google app. Google blocked them, but you should check what happened. Review your account activity to make sure that no one else has access.