Android Open Source - Mortgage-calculator Important Activity






From Project

Back to project page Mortgage-calculator.

License

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.

Java Source Code

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)));
      }
    });
  }
}




Java Source Code List

com.arjonasoftware.mortgagecalculator.DataActivity.java
com.arjonasoftware.mortgagecalculator.ImportantActivity.java
com.arjonasoftware.mortgagecalculator.ListAdapter.java
com.arjonasoftware.mortgagecalculator.MyApplication.java
com.arjonasoftware.mortgagecalculator.ResultActivity.java
com.arjonasoftware.mortgagecalculator.RowView.java