android java image code example Example: android java image image.setImageResource(R.drawable.imageid);