摘要:
1、通过GPRS从服务器下载ZIP包并存储到设备上。(1) 服务器WS中将ZIP包转换成 byte[]并发送出去关键代码如下://将ZIP包转换成 byte[]并发送出去 public byte[] convertZip2ByteArray() { byte[] buf = new byte[1024]; int bufLength = -1; ByteArrayOutputStream bos... 阅读全文
摘要:
strdFilePath = @"\存储卡\gprstest_all\DataExchange\Received\"; if (!Directory.Exists(strdFilePath)) { Directory.CreateDirectory(strdFilePath); } 阅读全文