Question regarding AAssetManager_openDir

22 views
Skip to first unread message

seal2002

unread,
Jul 1, 2022, 11:24:21 AMJul 1
to android-ndk
Hello,
I use the function AAssetManager_openDir to check folder inside the AAB file, however, I found that function always return a pointer is not NULL even AAB doesn't contain any folder. 
Example:
Asset texDir = AAssetManager_openDir(assetManager, "Texture")
if(texDir) {
__android_log_info(...) // always has message
}
I search around but have no more information, could someone can confirm that is expected behavior?
Thanks,
Hai
Reply all
Reply to author
Forward
0 new messages