import java.io.IOException;
import com.qq.open.common.json.JSONException;
import com.qq.open.qzone.bean.param.QqAddAlbumParamBean;
import com.qq.open.qzone.photo.QqAddAlbum;
public class TestAddAlbum {
/**
* @param args
* @throws JSONException
* @throws IOException
*/
public static void main(String[] args) throws IOException, JSONException {
// TODO Auto-generated method stub
QqAddAlbumParamBean bean = new QqAddAlbumParamBean();
bean.setAccessToken("138F0112CC9B350B8AE00899CB47D489");
bean.setOpenId("2D78AAACEAF41021180BEAA2A47871B8");
bean.setAlbumName("JavaSDK2.0专用");
bean.setAlbumDesc("这是JavaSDK2.0创建的相册");
bean.setAlbumPriv(1);
QqAddAlbum qqAddAlbum = new QqAddAlbum();
qqAddAlbum.addAlbum(bean);
}
}