Published
- 1 min read
go to activity android
The solution for this is noted below
go to activity android
Solution
//going to another activity while ending the
//previous one so that users cannot go back
btListe = (ImageButton)findViewById(R.id.Button_Liste);
btListe.setOnClickListener(new OnClickListener()
{ public void onClick(View v)
{
intent = new Intent(main.this, ListViewImage.class);
startActivity(intent);
finish();
}
});
Try other methods by searching on the site. That is if this doesn’t work