I am using the following code to pass parameters from a tabActivity to an AppCompatActivity called Eventi:
TabActivity:
Intent eventi = new Intent(this,Eventi.class);
eventi.putExtra("title,",title);
eventi.putExtra("testo",desc);
and this is the code I use to recall the parameters which I can retrieve from the onStart() method.
Eventi AppCompatActivity:
Bundle extras = getIntent().getExtras();
String not = extras.getString("title");
String messaggio = extras.getString("message");
Anyway extras
is always null. why?