问题
When I use these code in PC,it runs fine.
SmbFile root=null; root=new SmbFile("smb://10.20.137.155");
But the same code in android , it throws exception,why? Can anyone help me?
回答1:
I am answer my question on my own. It get exception becasue I haven't got the permisson to access Internet. After I add it runs well.
来源:https://stackoverflow.com/questions/6761710/use-jcifs-in-android