I want to start a new Activity by Intent with a Button and replace the Image in an ImageView in the new Activity. Where, in the Intent (if its there it should be) do I put the replacement of the Image (the new one) when starting the Activity. The Image is in the drawable. Code: alertbox.setPositiveButton("OK, SHOW ME", new DialogInterface.OnClickListener(){ public void onClick(DialogInterface dialog, int which) { Intent i = new Intent(); i.setClassName("com.MaintOnPhone", "com.MaintOnPhone.COMCAUTION"); startActivity(i); view=(ImageView)findViewById(R.id.IV); view.setImageResource(R.drawable.priinv); finish();}
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en