Skip to content

Instantly share code, notes, and snippets.

@pullmonkey
Created November 13, 2011 04:28
Show Gist options
  • Save pullmonkey/1361596 to your computer and use it in GitHub Desktop.
Save pullmonkey/1361596 to your computer and use it in GitHub Desktop.
hello android tutorial in mirah/pindah
package com.example.android.hello_world;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
class HelloWorld < Activity
def onCreate(state:Bundle)
super state
tv = TextView.new(self)
tv.setText("Hello, World!")
setContentView(tv)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment