Skip to content

fly1tkg/android-stream-file-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-stream-file-upload

Travis-CI(master)

Build Status

#Description Simple stream file upload library! You won't worry about "OutOfMemory".

The File upload will be done in background.

#Jar download

https://github.com/fly1tkg/android-stream-file-upload/tree/master/jar

#How to Use new FileUploadFacade fileUploadFacade = new FileUploadFacade(); String url = "http://posturl.com" // post url File file = new File("path") // java.io.File you want to upload fileUploadFacade.post(url, file, params, new FileUploadCallback() { @Override public void onSuccess(int code, String response) { // if upload success }

    @Override
    public void onFailure(int code, String response, Throwable e) {
        // if upload failure
    }
});

How to create Jar

mvn clean package

or assemble with dependency

mvn clean compile assembly:single

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages