Taifun
September 24, 2023, 1:24am
22
you are sending us a video having 1:25minutes... the first 1:10 minutes is very much uninteresting while we whatch until the app is installed... then you click both buttons and end the video...
depending on your device and the number of mp4 files you stored on that device it takes a few seconds until you get a result... my guess therefore is, you just do not have enough patience to wait for a result...
Taifun
1 Like
Anke
September 24, 2023, 7:02am
23
Not_An_Admin_User:
It is not work
I doubt you're testing it on a device running Android 14 .
The storage permissions should be queried there one after the other and look like this:
So test this version and save us the installation process (!) in your video, but record the video from the moment you open the (previously uninstalled and reinstalled) app.
1 Like
Anke
September 24, 2023, 10:40am
24
@Not_An_Admin_User Try also this APK posted in the Niotron community:
and post a screenshot after opening the app.
Anke
September 28, 2023, 6:56am
25
Since we don't hear from @Not_An_Admin_User anymore, I'm pretty sure I was right in my assumption
or Android 13.
akin
February 1, 2024, 1:34pm
26
You may actually be able to target the right API with this guide How to Update Your App SDK To Target Android API Level 34
It should be the case since last summer's update that so long as you include the permission block somewhere in the app (I don't think it even has to be attached to anything), then App Inventor should add it to the manifest automatically. Note that it must be the permission block, not a string with the permission name, for this to work.
Anke
February 1, 2024, 5:38pm
30
Yes, as I said here (in post #20 ):
In addition, READ_MEDIA_... permissions are declared only when the blocks intended for this purpose are used. In other words, if READ_MEDIA_IMAGES is requested as a string, this permission is NOT declared in the manifest. None of this makes any sense at all.
@ewpatton
Blocks <a class="lightbox" href="https://community.appinventor.mit.edu/uploads/default/original/3X/a/b/ab3e785294bedf71d6fbedb6f1643e9fa8e78642.png" data-download-href="https://community.appinventor.mit…
Can I do the same for a list of folders?
How is that accomplished? I don't see any methods to fetch Directories, so I'm guessing there must be some kind of a 'trick' way to do that?
Taifun
January 28, 2025, 12:29pm
34
Try the DirectoryList method
Taifun
Yes I do see that block but it has to be attached to something else unlike FileList. What would/should I attach it to and why is different?
Taifun
January 28, 2025, 12:46pm
36
The DirectoryList method returns the result immediately, same as the FileList method
Set Label1.Text to DirectoryList...
Read the documentation about the difference between FileList and FileListAsync and when to use
Taifun
I thought I could get a listing using ///data/ folder but nothing displays?
Taifun
January 28, 2025, 1:47pm
39
rfresh1011:
///data/
There is no such folder, you probably mean /Android/data
Please note that Google restricted access to several directories including that /Android/data directory
You might be able to still access that directory like this
In this guide I show you, how to request and grant → MANAGE_EXTERNAL_STORAGE on devices with Android 11+. Be aware that this permission is usually not granted by Google. However, let’s assume the app is only intended for private use or for special users or for other app stores.
This permission must be declared in the Manifest (since it is not declared the Companion app you can't test this with Companion):
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Here is a s…
Taifun