I am uploading a stream to server.But my Input-stream contain a big video file.So i want to split it in different Input-stream and then i will send them one by one.
I have gone through a question that TeeOutputStream(i do not how it work in java) in Java for doing this.But it does not exist in android.
Any help much appreciated as usual
Updated
Please donot suggest me manual way.
You do not have to split up the input or output stream.
You can upload a large file with multipart entity.In Multipart entity there is a class FileEntity which is responsible to upload a file
I have a code for multipart entity see below code.
To use MultipartEntity you will required a jar file
httpmime-4.1.2.jar.There is also another alternative of this