SyntaxFix
Write A Post
Hire A Developer
Questions
The maximum value that a Java Integer can handle is 2147483657, or 2^31-1. The hexadecimal number AA0F245C is 2853119068 as a decimal number, and is far too large, so you need to use
Integer
Long.parseLong("AA0F245C", 16);
to make it work.