By doing:
public void tutdb(View v) { try { Intent intent = new Intent(this, dbtut.class); startActivity(intent); } catch (OutOfMemoryError e) { Toast tost = Toast.makeText(getApplicationContext(),"!!!",Toast.LENGTH_SHORT); tost.show(); System.gc(); } }
"!!!" does not come out, the application crashes:
What to do (need to somehow be able to open dbtut.class)?
ps the transition takes place on the multicartic page, so if you pre-fill the operative, then it is not enough