All blocks:
About Testing: Tested from android version 7 to 14 with no issues.
AIA File For Testing In MIT AI2 Companion:
PDFANdImage.aia (28.0 KB)
Extension Size: 12 Kb
Price: $4 OR INR 299
Regards & Other works: Bharat Technologies
All blocks:
About Testing: Tested from android version 7 to 14 with no issues.
AIA File For Testing In MIT AI2 Companion:
PDFANdImage.aia (28.0 KB)
Extension Size: 12 Kb
Price: $4 OR INR 299
Regards & Other works: Bharat Technologies
Where will the image and pdf be stored? In ASD? In shared storage? In case the latter, whete exactly?
Aa far as I know the sharing component is only able to share from shared storage...
Taifun
Both the PDF and image (PNG) files are stored in the app-specific external storage directory
Which means, before being able to share the image or pdf it must be copied or moved to shared storage so other apps can access it on newer devices
Taifun
No, test the AIA, you don't need to copy or move anything, use sharing component it will take your file for sharing then select the app using which you want to share the file.
You mentioned earlier, that you tested on Android 9... Test it on newer devices and you will see
Taifun
I tested on all devices consisting of real+emulators. I mentioned that in android 9 without read/write external storage permission extension was unable to store PDF and sharing component too was not getting the file from ASD. I've not more newer devices but tested in Android version 14, it worked.
Yes exactly
Your extension is fine, but if you want to use the sharing component to share the image or pdf, you have to copy or move it to shared storage before being able to share it on newer devices, because other apps are not able to access the ASD of your app anymore on newer devices
So if you want your example app to work on all devices, then you should consider this
Taifun
Newer means starting from which version?
Citing your own statement from the other thread
Android 11 has storage rules strict for accessing other app's files
Taifun
I tested up to Android 14 Sharing component is working, other apps are getting generated pdf and image. No need to copy/move generated pdf/image, here are the blocks required>>>
Android 14 Test Result
You are testing on an emulator, try a real device
Taifun