我有以下一段代码,基本上是从示例中复制粘贴过来的,因为我是Java和Android的新手(不是编程新手):
URL vurl = new URL(voteurl); //vuteurl is a string containing a proper URL
HttpURLConnection hc;
hc=null;
hc = (HttpURLConnection)vurl.openConnection();
hc.setRequestMethod("GET");
hc.setDoOutput(true);
我对visual basic有点生疏,但是我需要将它用于我正在处理的一个需要.NET语言的项目。
我注意到,在编写一些代码来更新windows应用程序中文本框的文本值时。
'weve read the stuff...now lets update the textbox with the ADC value
DataQSingleDevice.GetInterleavedBinaryData(BinaryData, 0, 18)
DataQSingleDevice.Stop()
DATAQHandler(0).Disconnect()