1

Passing a String value across Activities?

view story
linux-howto

http://stackoverflow.com – I am currently attempting to pass a string across activities. The string is used to set an image in the second activity. So the user is clicking a button in the first activity and then the appropriate image is loaded in the second activity based upon what was selected. There are three buttons in the first activity all which should send a String value to the next activity. This is what I have in my first activity: Button archerButton = (Button) findViewById(R.id.Button_Archer); archerButton.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { String select (HowTos)