CHAPTER 6: Android Screen Design: Writing to the Display Using Activity and View 209
Figure 6-38. Using the String class’s .valueOf( ) method inside of the .setText( ) method, to convert integer values
Now again use the Run As ➤ Android Application menu sequence, and see if your code will run,
and is doing what you wanted it to. As you can see in Figure 6-39, everything is working, and the
application runs and does not crash, but there seems to be an extra data variable listed on the right
side of the galaxy information screen.