Three edittext boxes: suggestions to clean up code
Replace "43560*144" by a constant.
Store new Double(sS), new Double(srS), new Double(pop) in variables
before if (checkifempty(boxes) &lt;2). It'll improve speed and clarify
the code.
Correct indentation in the onCreate method