I have a string that contains a value such as "0x1800785" (get from edtitext user input) but the function I want to give the value to requires an int, how can I convert this to an int? this is my code:
int offset=0xffffffff;//max 8 chars int newoffset=Integer.reverse(offset);
Thanks so much.
User contributions licensed under CC BY-SA 3.0