Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    2,318

    Re: Eclipse goes beyond me a bit

    I'm not sure what the problem is. The reason the b.setOnClickListener() line works in the code you posted is exactly what I said- it's inside another method, onCreate(). Your problem was that you...
  2. Replies
    5
    Views
    2,318

    Re: Eclipse goes beyond me a bit

    I'm referring to the entire block that begins with record.setOnClickListener(. You can't call a method at the class level like that. Put that inside another method, possibly a constructor.


    ...
  3. Replies
    5
    Views
    2,318

    Re: Eclipse goes beyond me a bit

    You can't call methods at the top of your class like that. You can only initialize variables. To call a method, you have to be in a valid method block.

    Even if you could, you're missing a closing...
Results 1 to 3 of 3