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?
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?
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.