diff options
author | David A. Madore <david+git@madore.org> | 2010-04-29 04:08:34 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2010-04-29 04:08:34 +0200 |
commit | d19282f8ce9d4256875e37358eda3ee19527d1f6 (patch) | |
tree | 04efd39dfc66313cdb414f861f7ac851c6e5686c /src/org | |
parent | 1c0450a270ff1d26a0fbf8b6f48d3e9c05003cf1 (diff) | |
download | UnicodeMap-d19282f8ce9d4256875e37358eda3ee19527d1f6.tar.gz UnicodeMap-d19282f8ce9d4256875e37358eda3ee19527d1f6.tar.bz2 UnicodeMap-d19282f8ce9d4256875e37358eda3ee19527d1f6.zip |
Improve "about" (and provide link to my programs page).v0.0.2
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/madore/android/unicodeMap/UnicodeMapActivity.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java index b0c1948..8e93e36 100644 --- a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java +++ b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java @@ -11,6 +11,7 @@ import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; +import android.net.Uri; import android.view.View; import android.view.ViewGroup; import android.view.Window; @@ -504,12 +505,23 @@ public final class UnicodeMapActivity extends ListActivity { dialog.setOwnerActivity(this); dialog.setContentView(R.layout.about_layout); dialog.setCancelable(true); - final Button btn = (Button) dialog.findViewById(R.id.aboutOk); + Button btn; + btn = (Button) dialog.findViewById(R.id.aboutOk); btn.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { dialog.dismiss(); } }); + btn = (Button) dialog.findViewById(R.id.aboutMore); + btn.setOnClickListener(new View.OnClickListener() { + public void onClick(View view) { + dialog.dismiss(); + Intent intent + = new Intent(Intent.ACTION_VIEW, + Uri.parse("http://www.madore.org/~david/programs/#prog_unicodeMap")); + startActivity(intent); + } + }); dialog.show(); } |