请问下android的代码如下,
URL url = new URL(urlStr);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
DataOutputStream dateInput = new DataOutputStream(con.getOutputStream());
InputStream is = con.getInputStream();
用Native.js如何实现。
请问下android的代码如下,
URL url = new URL(urlStr);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
DataOutputStream dateInput = new DataOutputStream(con.getOutputStream());
InputStream is = con.getInputStream();
用Native.js如何实现。
jwy
没有回答到问题啊。 特别是 (HttpURLConnection) url.openConnection() 要怎么写成 native.js
2019-10-24 15:44