2011-09-22 172 views

回答

3

尝试一下本作露天走廊

Intent intent = new Intent(); 
intent.setType("image/*"); 
intent.setAction(Intent.ACTION_GET_CONTENT);// 
startActivityForResult(Intent.createChooser(intent, "Select Picture"),10); 
2

你应该能够显示使用此代码库中的图像..

Intent intentquick = new Intent(Intent.ACTION_VIEW); 
intentquick.setDataAndType(<full path to image to be displayed>,"image/*"); 

intentquick.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
startActivity(intentquick); 
相关问题