Android Open Source - AndroidUploader Bridge






From Project

Back to project page AndroidUploader.

License

The source code is released under:

Apache License

If you think the Android project AndroidUploader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package z.hol.uploader.bridge;
/*from   w  ww .  ja va2  s . com*/
import java.io.IOException;

/**
 * ???
 * Created by holmes on 10/15/14.
 */
public interface Bridge {

    /**
     * ??????
     * @param data
     * @param len ????????
     * @return ??????????, -1 ?????.
     *      ?????? data.length()
     */
    int uploadData(byte[] data, int len) throws IOException;

    /**
     * ????
     * @return
     */
    boolean finish();
}




Java Source Code List

z.hol.uploader.FileHttpUploader.java
z.hol.uploader.HttpUploader.java
z.hol.uploader.StreamUploader.java
z.hol.uploader.UploadStateCallback.java
z.hol.uploader.UploadUiHandler.java
z.hol.uploader.Uploader.java
z.hol.uploader.bridge.Bridge.java
z.hol.uploader.bridge.HttpBridge.java
z.hol.uploader.bridge.StreamBridge.java