Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 6 out of 11 pages
Other

ICT Assignment 3 Mortgage Home Loan Interest App Complete Source Code Skeleton Solved

Document preview thumbnail
Preview 6 out of 11 pages

This Document contains: -The entire source of the assignment -XML layout and Java class files are included -Usage of SQLLITE What you need to do: -Modify it to your liking -add icons -add images -add comments

Content preview

ICT 2612
ASSIGNMENT 3
MORTGAGE HOME
LOAN INTEREST APP
2021
COMPLETED PROJECT
SKELETON WITH
SOURCE CODE

,DISCLAIMER
I wont be held
accountable for
whatever mark the
user of this document
gets whether they
have failed or
passed,Purchase at
your own risk!!!

,
,
,
, MAINACTIVITY.JAVA


package com.example.mortgagehomeloaninterestapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import android.widget.Toast;



public class MainActivity extends AppCompatActivity {
database myDb;
functions f = new functions();

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
EditText yl = (EditText) findViewById(R.id.youtubeLink);
EditText y2 = (EditText) findViewById(R.id.yearlink);
EditText y3 = (EditText) findViewById(R.id.monthlylink);
Button button = findViewById(R.id.button);
myDb = new database(this);
myDb.deleteData("0");
myDb.insertData("0","1","1","1");
button.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
if (f.EmptyFields(yl,y2,y3)){
return;
}else{
WriteBtn(yl,y2,y3);
}}
});
}



public void WriteBtn(EditText x,EditText y,EditText z) {

Toast.makeText(getApplicationContext(),x.getText(),Toast.LENGTH_SHORT).show();
myDb.updateData("0", x.getText().toString(),
y.getText().toString(),z.getText().toString());
startActivity(new Intent(MainActivity.this,results.class));
}
}

Document information

Uploaded on
May 26, 2021
Number of pages
11
Written in
2020/2021
Type
Other
Person
Unknown
$12.84

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ITGURU
4.4
(7)
Sold
57
Followers
42
Items
13
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions