how to get the value from one activity to another

view full story

http://stackoverflow.com – I want to pass a value from one avtivity to another activity by use intent.. Im not getting the value im getting as null.. There is no error in my logcat. Any help would appreciated. thanks in advance. First activity Intent intent = new Intent(Nexttopic.this, Quesans.class); String name = getIntent().getStringExtra("name"); intent.putExtra("TopicName", tname); intent.putExtra("Topicid", topicid); intent.putExtra("LevelName",TAG_LEVELNAME); intent.putExtra("Levelid",TAG_LEVELID); intent.putExtra("Groupid",TAG_GROUPID); startActivity(int (HowTos)