This is wrong. You have a double value, convert it to String (it's sufficient the string concatenation operator adding to "" or more cleanly the String.valueOf method) and then invoke setText passing...