I am trying to send a bundle from one activity to another. When I load the bundle in the recieving activity all the information seems to be null. Here is some code:
I don't know if anyone still needs this but, in your intent.putExtra("Hotel Bundle", b);
It's either you send just intent.putExtra(b);
so you can get the data via
Bundle b = this.getIntent().getExtras();
String hotelName = b.getString("hotelname");
or if you want to keep the Hotel Bundle
key
Bundle b = this.getIntent().getBundleExtra("Hotel Bundle");
String hotelName = b.getString("hotelname");
Sorry, I needed the answer here, so might as well help those who run into this. Cheers.