开发者

use jcifs in android [closed]

开发者 https://www.devze.com 2023-03-21 11:13 出处:网络
开发者_开发问答 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not g
开发者_开发问答 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消