Back to project page Galaxy-Torch.
The source code is released under:
Copyright (c) 2012 Santoso Wijaya Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
If you think the Android project Galaxy-Torch listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.swijaya.galaxytorch; /* w w w . j a v a 2 s . c om*/ import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Toast; import com.swijaya.galaxytorch.util.ClipboardManagerWrapper; public class BitcoinDonateActivity extends Activity implements View.OnClickListener { private static final String TAG = BitcoinDonateActivity.class.getSimpleName(); public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.btcdonate); } @Override public void onClick(View v) { Log.i(TAG, "Copying Bitcoin donate address to clipboard"); ClipboardManagerWrapper.copyToClipboard(this, getResources().getString(R.string.bitcoin_donate_address)); Toast toast = Toast.makeText(getApplicationContext(), R.string.toast_address_copied, Toast.LENGTH_SHORT); toast.show(); } }