I've been searching for a good 7hrs now as to how to create a directory in Internal Storage upon the starting of the app for the first time (similar to what WhatsApp and many other apps do)
I came to the conclusion that this code doesn't work anymore since it's deprecated, and starting from Android 11 it just doesn't work
File file = new File(Environment.getExternalStorageDirectory(),"AppName");
file.mkdirs();
I've seen in a YouTube comment that it's simply not possible to do what I'm aiming for starting from Android 11, and that the most I can do is create the directory in Internal Storage/Android/data/data/com.example.myapp but how is it not possible? I've seen many apps having that feature