₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,440 members, 8,422,045 topics. Date: Sunday, 07 June 2026 at 03:17 PM

Toggle theme

I Need The Help Of Java Gurus In The House. Please Enter.... - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingI Need The Help Of Java Gurus In The House. Please Enter.... (1287 Views)

1 Reply (Go Down)

I Need The Help Of Java Gurus In The House. Please Enter.... by lekropasky(op): 7:25pm On Dec 15, 2015
GoodDay Programmers.

I am trying to implement a stand-alone CBT application using Java. I have been able to do more of the task. But, my problem is, i want to create a Database(OR Maybe an Array) that will hold my questions and the options for each questions( four Options ) which i dont know how to do. I believe Java/Mysql Gurus here will lead me through, if only i can get the Login to solve the Problem, i'll be happy.

Thanks In Advance.
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by Nobody: 10:38pm On Dec 15, 2015
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by Nobody:
See similar codes related to your project
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by Nobody:
TimerActivity.java

import java.util.Timer ;
import java.util.TimerTask ;
import android.app.Activity ;
import android.widget.Button;
import android.os.Bundle ;
import android.widget.TextView ;
public class TimerActivity extends Activity {

new CountDownTimer( 30000, 1000) {
public void onTick (long millisUntilFinished ) {
mTextField . setText ( "seconds remaining : " + m
public void onFinish () {
mTextField . setText ( "done! " );
}
} . start ()

}
@Override
public void onPause() {
super.onPause();
timerHandler.removeCallb
(timerRunnable);
Button b =
(Button)findViewById(R.id.button)
b.setText("start" );
}
}
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by lekropasky(op): 8:47am On Dec 16, 2015
Thanks Bro... Really Love your contribution....it helps alot...@proxy.
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by Nobody: 10:21am On Dec 16, 2015
Can't wait so see screenshot. You are welcome Bro .
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by Nobody: 10:27am On Dec 16, 2015
You have to change the timer because it is milliseconds that's divide by 1000
Re: I Need The Help Of Java Gurus In The House. Please Enter.... by DonSegmond(m): 12:02am On Dec 17, 2015
lekropasky:
GoodDay Programmers.

I am trying to implement a stand-alone CBT application using Java. I have been able to do more of the task. But, my problem is, i want to create a Database(OR Maybe an Array) that will hold my questions and the options for each questions( four Options ) which i dont know how to do. I believe Java/Mysql Gurus here will lead me through, if only i can get the Login to solve the Problem, i'll be happy.

Thanks In Advance.
Do you know how to hold your data in memory? Arrays for instance?
If you do, then saving them to a database and loading them is a matter of a few things.

1. You have to install/setup a database software.
2. You have to create a table(container) to store your data in that database.
3. Each table you create will have at least 1 or more fields/columns to store various data, and you have to define the type of data.
4. You have to make your application talk to your database, using a database driver, ie, ODBC or something specific to your database.
5. Once you can connect to the database, you have to learn how to store data in it and how to fetch data via SQL queries.

Here is a tutorial for talking to Mysql using Java.
http://zetcode.com/db/mysqljava/
1 Reply

Java Gurus Please I Need This Little Assignment Solved ''appreciation Involved"Excuze Me .... Java Gurus.. Dnt Pass By.JAVA Gurus, Check This Little Code!!!!234

Which Is A Better Rewarding Career, Programming Or Networking?I Need An Expert ProgrammerCan I Proceed To Learn Android Developing With Java Basic?