I have an Activity with several Buttons. All Buttons starts an AlertDialog with the Ok and No Button. Pressing No returns to the main Activity, the Ok Button have some info (in the AlertDialog) and if the user want more info, he/she press the Ok Button and this Button starts an new Activity by Intent and in this new Activity there is a ImageView where I want to put an new Image(from drawable). Starting the new Activity is no problem, but where to put the Image change I dont know. I have tryed several option but none works. A Toast works but the time it is displayed is to short. The Image change/replacement, within or outside the Intent? Thank you! Code: Intent i = new Intent(CAUTIONLT.this, COMCAUTION.class); startActivity(i); finish();} //this works ok ImageView view = (ImageView) findViewById(R.id.IV); view.setImageResource(R.drawable.lacbus); //where to put this? if this is to be used
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

