title: Facing Issue when downloading image in byte array from webservice and displaying it
body: <p>I am trying to fetch an image from webservice in form of byte array and then display it on screen while converting the byte array to bitmap I am getting null value.Could anyone help me how to proceed</p>
  
  <pre><code>public String FinalOutput(String response) {
  
      String status = null;
      try {
          JSONObject parse = new JSONObject(response);
          JSONObject registerParse = (JSONObject) parse
                  .get("BusinessSearches");
          status = registerParse.get("Image").toString();
  
          byte[] theByteArray = status.getBytes();
  
          System.out.println("theByteArray" + theByteArray);
  
          Bitmap bitmap1 = BitmapFactory.decodeByteArray(theByteArray, 0,
                  theByteArray.length);
  
          System.out.println("bitmap" + bitmap1);
          ApplicationConstant.bitmapValue = bitmap1;
  
      } catch (Exception e) {
          System.out.println("Error   :::::  " + e.getMessage());
      }
  
      return status;
  
  }
  </code></pre>