100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary ICT2612 Assignment 3 2022 Marathon Race App Solved Source Code

Rating
-
Sold
8
Pages
9
Uploaded on
21-03-2022
Written in
2021/2022

Document Contain -Java classes -xml layouts -pictures of app

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
March 21, 2022
Number of pages
9
Written in
2021/2022
Type
Summary

Subjects

Content preview

ICT 2612
Assignment 3
Marathon Race
App
2022

,DISCLAIMER
BY PURCHASING AND USING
THIS DOCUMENT YOU
AGREEING TO NOT MAKING
ME HELD RESPONSIBLE FOR
WHATEVER MARK THE USER
OF THIS DOCUMENT GETS

,
, Mainactivity.java
package com.example.marathonraceapp;

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.ImageView;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
methods m = new methods();


@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView title= findViewById(R.id.title);
ImageView medal= findViewById(R.id.pic);
EditText hour =findViewById(R.id.hour);
EditText minute =findViewById(R.id.minute);
Button vcalc1 =findViewById(R.id.button);

vcalc1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String TheMedal;
medal.setImageResource(R.drawable.ic_7565);
TheMedal =
m.GetMedal(medal,m.theCalculation(m.getHour(hour),m.getMinute(minute)));
Intent i = new Intent(MainActivity.this,Result.class);
String time =
String.valueOf(m.theCalculation(m.getHour(hour),m.getMinute(minute)));
i.putExtra("time",time );
i.putExtra("medal",TheMedal );
startActivity(i);
}
});
}
}

Get to know the seller

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 University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
55
Member since
4 year
Number of followers
42
Documents
10
Last sold
2 months ago
ITTECHGURU – Expert IT Solutions & Code

Welcome to ITTECHGURU, your go-to hub for high-quality, fully coded IT assignments, projects, and solutions. Whether you need expertly crafted software, scripts, databases, or web apps, I provide professional-grade work with efficiency and precision. Get your projects done right—fast, reliable, and 100% functional!

4.4

7 reviews

5
4
4
2
3
1
2
0
1
0

Recently viewed by you

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

Frequently asked questions