public static void main(String args[]) {
try {
try {
byte[] content = readFileImage(args[2]);
System.out.println("content length:" + content.length);
ImageItem pic = new ImageItem("pic", content);
String s = java.net.URLEncoder.encode(args[1], "utf-8");
Timeline tl = new Timeline();
tl.client.setToken(args[0]);// access_token
Status status = tl.UploadStatus(s, pic);