Home > Mobile >  Use the android native to open the file manager why millet mobile phone can't multiple files?
Use the android native to open the file manager why millet mobile phone can't multiple files?

Time:11-22

Intent Intent=new Intent (Intent. ACTION_GET_CONTENT);
Intent. SetType (" * */");
Intent. PutExtra (intent. EXTRA_ALLOW_MULTIPLE, true);//open multiple files
Intent. AddCategory (intent. CATEGORY_DEFAULT);
Intent. AddFlags (intent. FLAG_GRANT_READ_URI_PERMISSION);
StartActivityForResult (Intent. CreateChooser (Intent, ""), 2);

CodePudding user response:

Still oneself write a file selector, a native of adaptation too troublesome, different type different versions may not be the same

CodePudding user response:

If the API version

CodePudding user response:

"No API support 9,

CodePudding user response:

Write their own not to come out, to multi-select

CodePudding user response:

https://mp.csdn.net/console/editor/html/107080751

I write my own radio, choose more, a little humble, can under reference

CodePudding user response:

Write their own, android fragmentation so much with the suitability of native problem is very big,
  • Related