How to upload Video on twitter using twitter android sdk


#1

i want to upload video on twitter using android sdk. i found this link https://dev.twitter.com/rest/media/uploading-media#chunkedupload but i am not able to understand this. i have used volley library for posting data to server. i have used this link( http://upload.twitter.com/1.1/media/upload.json) to post data to server. and post following command=INIT&media_type=video/mp4&total_bytes=4430752 but it give me volley error. is there any one who use twitter video upload using above link or some other source.please help on it.