- 浏览: 1808 次
- 性别:
- 来自: 上海
最新评论
文章列表
WIFI Share
use a mac to share WIFI, so that it can share VPN with ROKU
Basic introduce
1. power on ROKU devices
2. Connect ROKU to WIFI (through which it can vist break site)
3. install the APP in ROKU through a computer that can get access to ROKU ip
How to install App in ROKU
1. Connect r ...
Environment Required
TOOLS: JDK,ANT,Eclipse
1. Install ANT
Download: http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.2-bin.zip
a. First decompression the apache-ant-1.9.2-bin.zip into your hard disk , I put it in ” D:\apache-ant-1.9.2”
b. Make a new enviro ...
package test;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.mail.EmailAttachment;
import org.apache.commons.mail.MultiPartEmail;
imp ...
package test;
import java.io.File;
import org.apache.tools.zip.ZipOutputStream; //这个包在ant.jar里,要到官方网下载
import java.io.FileInputStream;
import java.io.FileOutputStream;
public class CompressBook {
public CompressBook() {}
public void zip(String inputFileName) throws Exception {
...