Back to project page Mortgage-calculator.
The source code is released under:
GNU General Public License
If you think the Android project Mortgage-calculator 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.arjonasoftware.mortgagecalculator; /*w w w.j ava 2s .c o m*/ import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.Button; public class ImportantActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.fragment_important); Button button_sign = (Button) findViewById(R.id.button_sign); button_sign.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Perform action on click String url = getResources().getString(R.string.petition); startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); } }); } }