Guest User

Untitled

a guest
Nov 18th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. byte[] outputInBytes=null;
  2. try {
  3. outputInBytes = paramsStr.getBytes("UTF-8");
  4. }
  5. catch (UnsupportedEncodingException e) {};
  6. OutputStream os;
  7. try {
  8. os = connection.getOutputStream();
  9. os.write( outputInBytes );
  10. os.close();
  11. }
  12. catch (IOException e) {}
  13. }
Add Comment
Please, Sign In to add comment