I'm trying to send a intent between to wactivites but seem to only get blank results when i try to pull the intent from the second activity.
Code :
Sending Class :
Intent intent = new Intent(Posten.this, DetailView.class);
intent.putExtra("sporingsnummer",et_sporingsnummer.getText());
startActivity(intent);
Reciving Class :
Bundle extras = getIntent().getExtras();
if (extras != null) {
String sporingsnummer = extras.getString("sporingsnummer");
}
The sporingsnummer in the second class is null but when i look at the bundle i can find the right information at mExtras -> mMap -> [0] -> value
How can i get this to work ?