发现一个奇怪的东西
aide吧
全部回复
仅看楼主
level 11
(>﹏<)我也不知道是什么,求教
AssetManager assetManager =getAssets();
String[]files =null;
try{
files =assetManager.list("");
for (int i=0;i<files.length;i++)
{
Toast.makeText(this,files[i],Toast.LENGTH_SHORT).show();
}
}catch(Exception e){
// Toast.makeText(this,e.toString(),Toast.LENGTH_LONG).show();
}
2015年09月26日 07点09分 1
level 11
以上的代码,为什么在我assets文件夹下没有文件的时候显示出3个文件名
2015年09月26日 07点09分 2
@山林狂客 精贴
2015年09月26日 09点09分
level 11
2015年09月26日 08点09分 3
level 13
额,没遇到过
2015年09月26日 09点09分 4
你可以试试啊[委屈]
2015年09月26日 09点09分
level 12
io一点都不懂[泪]
2015年09月26日 09点09分 5
呃呃呃呃呃
2015年09月26日 09点09分
level 12
又跟楼主学到一点东西了
2015年09月26日 09点09分 6
→_→
2015年09月26日 09点09分
level 14
还好我什么都不会
2015年09月26日 10点09分 7
[不高兴]
2015年09月26日 11点09分
level 12
[滑稽]
2017年09月21日 01点09分 8
1