java - How to obtain a OutputStream on Soundcloud account to upload my content using Outstream.write() ?? -


here detailed objective of mine

  1. get input stream of audio publicly available link
  2. get output stream of soundcloud can write after reading input stream using

    inputstream input = new url("http://mywebsite.com/my.mp3').openstream(); bytesread = input.read(buffer); while (bytesread != -1) {      outputstreamofsoundcloud.write(buffer, 0, bytesread);     bytesread = input.read(buffer); } 

the java wrapper soundcloud needs file access audio upload (discussed here how upload audio in soundcloud via app , want send id server ) .. how outstream/buffer write soundcloud upload content ??


Popular posts from this blog