person_add

Android 11 permission MANAGE EXTERNAL STORAGE and allow access ALL FILES

Development : Android

Posted by Relwendé Jacob ZOUNDI 3 years ago



  • Relwendé Jacob ZOUNDI 3 years ago

    Resume of code

     

    ActivityResultLauncher<Intent> mStartForResult = registerForActivityResult(new StartActivityForResult(),         new ActivityResultCallback<ActivityResult>() {     @Override     public void onActivityResult(ActivityResult result) {         if (result.getResultCode() == Activity.RESULT_OK) {             Intent intent = result.getData();             // Handle the Intent         }     } });


    Reply


Your answer!



Similars contributions