Back to project page SamyGo-Android-Remote.
The source code is released under:
GNU General Public License
If you think the Android project SamyGo-Android-Remote listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2011 Tom Quist//from www.ja v a 2 s. c o m * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You can get the GNU General Public License at * http://www.gnu.org/licenses/gpl.html */ package de.quist.app.samyGoRemote; import android.app.Activity; import android.os.Bundle; import android.text.method.LinkMovementMethod; import android.view.View; import android.widget.Button; import android.widget.TextView; public class AboutActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.setTitle(R.string.about_title); this.setContentView(R.layout.about); TextView aboutText = (TextView) findViewById(R.id.about_text); aboutText.setMovementMethod(LinkMovementMethod.getInstance()); Button okButton = (Button) findViewById(android.R.id.button1); okButton.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { finish(); } }); } }