How to store Hex string in an Integer variable in android???
问题 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. int disco = hsvToRgb(hsv); hexColor = String.format("0x%06X", (0xffffff & disco)); intArray[i] = Integer.valueOf(String.valueOf