title: How to store Hex string in an Integer variable in android???
body: <p>In the following code intArray[i] stores RGB values of pixels in hex format(eg:0xffff0000)   .... The method hsvToRgb() gives bak an integer value of RGB (eg:15777252) but i need back the rgb value in the original hex format after changes. 
  The second line gives me that but its a string ....What do i do to store this string value back into the array? ... please help me.      </p>
  
  <pre><code>       int disco = hsvToRgb(hsv);
  
         hexColor = String.format("0x%06X", (0xffffff &amp; disco));
         intArray[i] = Integer.valueOf(String.valueOf(disco), 16);
  </code></pre>