Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (33 sloc)
1.19 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.theglorious.re4der.cantreye; | |
| import android.content.Intent; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.view.View; | |
| public class AboutActivity extends AppCompatActivity { | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_about); | |
| } | |
| public void donate(View view){ | |
| Intent intent = new Intent(Intent.ACTION_VIEW); | |
| intent.setData(Uri.parse("https://www.paypal.me/re4der")); | |
| startActivity(intent); | |
| } | |
| public void goToPolishPortal(View view){ | |
| Intent intent = new Intent(Intent.ACTION_VIEW); | |
| intent.setData(Uri.parse("http://cantr.pl/")); | |
| startActivity(intent); | |
| } | |
| public void goToTicks(View view){ | |
| Intent intent = new Intent(Intent.ACTION_VIEW); | |
| intent.setData(Uri.parse("http://joo.freehostia.com/cantr/ticks/")); | |
| startActivity(intent); | |
| } | |
| public void goToWiki(View view){ | |
| Intent intent = new Intent(Intent.ACTION_VIEW); | |
| intent.setData(Uri.parse("http://wiki.cantr.net/")); | |
| startActivity(intent); | |
| } | |
| } |