I started with my first Apps on Android some days ago. I'm using Eclipse with Android SDK.
In every Tutorial, I see Code in onCreate(). But whenever I'm doing something in onCreate(), my App crashes at the start.
Do you know what the problem could be?
If I do things like
Button btn1 = (Button) findViewById(R.id.button1);
in onCreateOptions(), it's working fine...