Change image to a picture in Gallery
问题 I am working on an application that needs to obtain a random picture from the android device's built-in picture gallery and then display it on the screen. Here's what I have to work with: -An ImageView object called picture -The ID, TITLE, DATA, MIME_TYPE, and SIZE of the picture I want to display I think the problem is I don't know what information I need to put in this line: picture.setImageResource(???); Here's all my code to give you some idea of what I'm trying to do: public void