I'm developing an android application. I wanna start an Activity to immediately run a method like "public void newNote()".
something like this:
Intent i = new Intent(MainActivity.this, WriteActivity.class);
startActivity(i);
, but including the method i wanna run ("public void newNote()").
Note that the method returns nothing..