How to determine whether path is directory

20 views
Skip to first unread message

ancientcc

unread,
May 16, 2016, 9:52:08 PM5/16/16
to andro...@googlegroups.com

In order to determine whether path is directory, I try to use tow method.

 

In Java. Use AssetManager.list(), but it too spend CPU, for example 50ms. and have to give up.

In JNI. Use AAssetManager_openDir, but also too spend CPU, for example 50ms. and have to give up.


Is there an effective method to determine path is directory?

Reply all
Reply to author
Forward
0 new messages