views:

34

answers:

1

I'm trying to play around with the Android SDK and I'd like to try and run a random interactive java program on the Android. However, I'm still not sure about how to convert java's System.out.println and TextIO.getlnInt(); to Android equivalents.

Here is the program I'd like to convert/run: http://math.hws.edu/javanotes/c2/s4.html The PrintSquare example

I've run the Android SDK Hello World example, but to be honest I don't understand why we have to create a new class for outputs. Also I'd like to have this program output similar to the hello world example, that is in text without dealing with XML if possible. (Does interactive stuff require XML?)

Thanks

A: 

Check this site http://developer.android.com/guide/basics/what-is-android.html

Scythe