On an Android 14 tablet, it is possible to load file data from the file explorer with the browseForOpen method.
It works fine in documents, on Google Drive files, but cannot recover a OneDrive file
Flex 4.16.1 AIR 50.2.3.8
Android 14 - Google Pixel Tablet
Steps to Reproduce
protected function btn_openFile(event:MouseEvent):void
{
_fileToLoad=File.documentsDirectory;
_fileToLoad.addEventListener(Event.SELECT, docSelected);
_fileToOpen.addEventListener(Event.COMPLETE, onCompleteLoad);
_fileToLoad.addEventListener(PermissionEvent.PERMISSION_STATUS, permissionStatusAndroid);
_fileToLoad.requestPermission();
}
protected function permissionStatusAndroid(event:PermissionEvent):void
{
var pdfFilter:FileFilter=new FileFilter("PDF Files", "*.pdf");
_fileToOpen.browseForOpen("Select File", [pdfFilter]);
}
protected function docSelected(event:Event):void
{
_fileToOpen.load();
}
protected function onCompleteLoad(event:Event):void
{
/// This méthod il never call with OneDrive File
trace ("onCompleteLoad");
}
Problem Description
On an Android 14 tablet, it is possible to load file data from the file explorer with the browseForOpen method. It works fine in documents, on Google Drive files, but cannot recover a OneDrive file
Steps to Reproduce
Give us a minimal example:
Document file :![image](https://github.com/airsdk/Adobe-Runtime-Support/assets/33663119/4f86d6b5-4e1e-4525-9c48-bfc67a8bd557)
Google Drive file :![image](https://github.com/airsdk/Adobe-Runtime-Support/assets/33663119/e5ea6d36-e4b9-4ea0-a617-9928f43e10bc)
One Drive file :![image](https://github.com/airsdk/Adobe-Runtime-Support/assets/33663119/00f34abd-2375-490d-b66f-c4eccc3cf50d)
Error from errorHander : Error 2038