在html中用js调用java代码,从而达到在html中用java来实现功能啥的参考Var call=...call.innerHTML = "<a href='javascript:test.call(\""+num+ "\")'>"+ num+ "</a>"; public void call(String phnum){ Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:"+ phnum)); startActivity(intent);}本答案来自于互联网,仅供参考学习作用