title: upload image from android phone to the server
body: <p>I am new to android trying to work on uploading image in to server.
  Got some sample code from the Internet. But it is showing some error in the line which am not able to handle it. Can any one help me in this case. And the link which is fetch the code is  <a href="http://blog.sptechnolab.com/2011/03/09/android/android-upload-image-to-server/" rel="nofollow noreferrer">http://blog.sptechnolab.com/2011/03/09/android/android-upload-image-to-server/</a></p>
  
  <p>and the error is getting is </p>
  
  <blockquote>
    <p>"The method encodeBytes(byte[]) is undefined for the type Base64"</p>
  </blockquote>
  
  <p>and the corresponding  <img src="https://i.stack.imgur.com/t4cAt.png" alt="screen shot is"></p>
  
  <p>i have even downloaded base64.java file in the project</p>