Android Question ManageExternalStorage_1.00 (agraham) and DirRootExternal

a n g l o

Active Member
Licensed User
Longtime User
In many answers Erel refer to File.DirRootExternal as broken code.

my question is :
if you use agraham ManageExternalStorage_1.00 (and get the permission) -
is File.DirRootExternal not broken and can be used safely ?
(my tests answer YES - but i'd like to hear more authorized opinion)

thank you
 

aeric

Expert
Licensed User
Longtime User
It just that your app would not able to pass Google play store review.
Eventually new version of Android will stop working with lower SDK.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
np

????? i did not mention low SDK... i'm tagreting >30 sdk .
SDK 30 is not new.
I got users told me the app is failed to install in Android 15.
My solution is to use higher SDK.
Note that agraham's library may not work if you target latest SDK.
I think he explained this before.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
how and what it solves ?
My point is, it will work until it fails.
With every new version of Android, Google will block app with older SDK support.
You will have to update the manifest file.
While if you use other directory such as XUI.DefaultFolder or File.DirInternal then you don't need to worry for restrictions and your apps can run on most version of Android.
 
Upvote 0

a n g l o

Active Member
Licensed User
Longtime User
ok. now i understand your point. i know all that. its a 12 years old app that faced all those issues over the years. now, working well on android 14 and sdk 34.
dirInternal is not enough for me.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
It's frustrating to make new version of Android to be able to run the app while not breaking the old devices having older version of Android.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…