سلام. خسته نباشید
من به شکل زیر یک اینتن ساختم ولی خطا میده و قبول نمی کنه. لطفا منو راهنمایی کنید.
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.main);
EditText matn = (EditText) findViewById(R.id.editText1);
Button d = (Button) findViewById(R.id.button1);
d.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {}
intent mafhoom = new intent(this, Dovomi.class);
});
}
اینم متن خطا که واسه خط 16 هست
دو بار این خطا رو دادهintent cannot be resolved to a type
خیلی ممنون