mineko
Lurker
Good day! XD
I'm Computer Engineering student having my internship and my boss assigned me to make an android application for Basketball Scoreboard which I'm having a hard time for I don't have lot of Java courses.
As of now,I'm confused on how to change the value of the TextView by onclicklistener. And a timer which upon clicking the textview of timer, it will start to count down from e.g. 10 minutes and to pause the timer, clicking the timer's textview again.
My java code looks like this:
package com;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
//import android.widget.TextView;
//import android.widget.TextView;
import app.scoreboard.R;
//import app.scoreboard.R.id;
public class scoreboardActivity extends Activity {
/** Called when the activity is first created. */
//private TextView HScore;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
//HScore = (TextView)this.findViewById(id.hscore); //Home Score
//this.addView(HScore);
}
}
I'm using Android 3.2 (emulated). Any help would be greatly appreciated XD
T.T help help help
I'm Computer Engineering student having my internship and my boss assigned me to make an android application for Basketball Scoreboard which I'm having a hard time for I don't have lot of Java courses.
As of now,I'm confused on how to change the value of the TextView by onclicklistener. And a timer which upon clicking the textview of timer, it will start to count down from e.g. 10 minutes and to pause the timer, clicking the timer's textview again.
My java code looks like this:
package com;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
//import android.widget.TextView;
//import android.widget.TextView;
import app.scoreboard.R;
//import app.scoreboard.R.id;
public class scoreboardActivity extends Activity {
/** Called when the activity is first created. */
//private TextView HScore;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
//HScore = (TextView)this.findViewById(id.hscore); //Home Score
//this.addView(HScore);
}
}
I'm using Android 3.2 (emulated). Any help would be greatly appreciated XD

T.T help help help