protected
void
onCreate(Bundle arg3) {
class
implements View$OnClickListener {
(MainActivity arg1) {
MainActivity.
this
= arg1;
super();
}
public
void
onClick(View arg2) {
if
(gogogoJNI.check_key(MainActivity.
this
.eText1.getText().toString()) == 1) {
MainActivity.
this
.txView1.setText(
"Congratulations!"
);
}
else
{
MainActivity.
this
.txView1.setText(
"Not Correct!"
);
}
}
}
super.onCreate(arg3);
this
.setContentView(2131296284);
this
.eText1 =
this
.findViewById(2131165238);
this
.txView1 =
this
.findViewById(2131165322);
this
.findViewById(2131165318).loadUrl(
this
.u);
this
.findViewById(2131165318).getSettings().setJavaScriptEnabled(
true
);
this
.button1 =
this
.findViewById(2131165218);
this
.button1.setOnClickListener(
new
(
this
));
}
}