2014年8月6日星期三

android >4.2.2 intent action problem

Intent photoPickerIntent = new Intent(Intent. ACTION_MULTIPLE_PICK); //will call onActivityResult before activity.stop() in android 4.2.2以下;

Correct:

Intent i = new Intent();


i.setAction(Action.ACTION_MULTIPLE_PICK);