In your Another
class:
Bundle c= getIntent().getExtras();
String s= c.getString("key");
In this code c
is null, since android won’t set any extra to the launcher Intent
.
solved Getting RunTime Exception in android
In your Another
class:
Bundle c= getIntent().getExtras();
String s= c.getString("key");
In this code c
is null, since android won’t set any extra to the launcher Intent
.
solved Getting RunTime Exception in android