Recently, i had to integrate a quiz module in an e-book application.I would be glad to share my code along with the schema. Using SQLite, i have the following table definitions for my schema:
CREATE TABLE Quiz(Correct_Answer TEXT, Quiz_ID INTEGER PRIMARY KEY, Quiz_Text TEXT)
CREATE TABLE Answers(Answer TEXT, Answer_ID INTEGER PRIMARY KEY, Quiz_ID NUMERIC)
CREATE TABLE Android_Metadata("locale" TEXT DEFAULT 'en_US')
NOTE: Once created the database file is to be placed in the assets folder of the project.
In order to design the layout as shown in the picture above here is the code for main.xml:
main.xml
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
android:id="@+id/rdbGp1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_y="30dip"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
>
android:text="Save" android:id="@+id/btnSave" android:layout_width="100dip" android:layout_height="wrap_content" android:layout_x="50dip" android:layout_y="250dip">
android:layout_x="17dip"
android:layout_y="15dip"
android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:text="Question"
android:layout_height="wrap_content">
android:layout_x="100dip"
android:layout_y="320dip"
android:id="@+id/tvScore"
android:layout_width="wrap_content"
android:text="Score"
android:layout_height="wrap_content">
-
Here's my Database Helper containing all the methods necessary to create and the Quiz database and to query it afterwards:
DatabaseHelper.java
package com.myapps.quiz;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteOpenHelper;
public class DataBaseHelper extends SQLiteOpenHelper{
//The Android's default system path of your application database.
private static String DB_PATH = "/data/data/com.myapps.quiz/databases/";
private static String DB_NAME = "quiz";
private static String Table_name="Quiz";
private SQLiteDatabase myDataBase;
private SQLiteDatabase myData;
private final Context myContext;
/**
* Constructor
* Takes and keeps a reference of the passed context in order to access to the application assets and resources.
* @param context
*/
public DataBaseHelper(Context context) {
super(context, DB_NAME, null, 1);
this.myContext = context;
}
/**
* Creates a empty database on the system and rewrites it with your own database.
* */
public void createDataBase() throws IOException{
boolean dbExist = checkDataBase();
if(dbExist){
//do nothing - database already exist
}else{
CopyFiles();
}
}
private void CopyFiles()
{
try
{
InputStream is = myContext.getAssets().open(DB_NAME);
File outfile = new File(DB_PATH,DB_NAME);
outfile.getParentFile().mkdirs();
outfile.createNewFile();
if (is == null)
throw new RuntimeException("stream is null");
else
{
FileOutputStream out = new FileOutputStream(outfile);
// BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream(outfile));
byte buf[] = new byte[128];
do {
int numread = is.read(buf);
if (numread <= 0) break; out.write(buf, 0, numread); } while (true); is.close(); out.close(); } //AssetFileDescriptor af = am.openFd("world_treasure_hunter_deluxe.apk"); } catch (IOException e) { throw new RuntimeException(e); } } /** * Check if the database already exist to avoid re-copying the file each time you open the application. * @return true if it exists, false if it doesn't */ private boolean checkDataBase(){ SQLiteDatabase checkDB = null; try{ String myPath = DB_PATH + DB_NAME; checkDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY); }catch(SQLiteException e){ } if(checkDB != null){ checkDB.close(); } return checkDB != null ? true : false; } /** * Copies your database from your local assets-folder to the just created empty database in the * system folder, from where it can be accessed and handled. * This is done by transfering bytestream. * */ private void copyDataBase() throws IOException{ //Open your local db as the input stream InputStream myInput = myContext.getAssets().open(DB_NAME); // Path to the just created empty db String outFileName = DB_PATH + DB_NAME; //Open the empty db as the output stream OutputStream myOutput = new FileOutputStream(outFileName); //transfer bytes from the inputfile to the outputfile byte[] buffer = new byte[1024]; int length; while ((length = myInput.read(buffer))>0){
myOutput.write(buffer, 0, length);
}
//Close the streams
myOutput.flush();
myOutput.close();
myInput.close();
}
public void openDataBase() throws SQLException{
//Open the database
String myPath = DB_PATH + DB_NAME;
myDataBase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
}
@Override
public synchronized void close() {
if(myDataBase != null)
myDataBase.close();
super.close();
}
@Override
public void onCreate(SQLiteDatabase db) {
}
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
}
/// Get Book content////////
public Cursor getQuiz_Content(int bookId)
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
Cursor cur;
cur=myData.rawQuery("select quiz_text from Quiz where quiz_id='"+bookId+"'",null);
cur.moveToFirst();
myData.close();
return cur;
};
//////////////////////////
/// Get Book content////////
public Cursor getQuiz_List()
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
int i;
Cursor cur;
cur=myData.rawQuery("select quiz_id,quiz_text,correct_answer from quiz",null);
cur.moveToFirst();
i = cur.getCount();
myData.close();
return cur;
};
//////////////////////////
public Cursor getAns(int quizid)
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
Cursor cur;
cur = myData.rawQuery("select answers from answer where quiz_id='"+quizid+"'", null);
cur.moveToFirst();
myData.close();
return cur;
}
public Cursor getAnsList()
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
Cursor cur;
cur = myData.rawQuery("select answers from answer", null);
cur.moveToFirst();
myData.close();
return cur;
}
public Cursor getCorrAns()
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
Cursor cur;
cur = myData.rawQuery("select correct_answer from quiz", null);
cur.moveToFirst();
myData.close();
return cur;
}
//---updates a title---
/* public boolean UpdateFavourite_Individual(long rowid,String fav)
{
String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READWRITE);
ContentValues args = new ContentValues();
args.put("bookmark", fav);
return myData.update("lyrics", args,
"rowid=" + rowid, null) > 0;
}*/
//////////////////
}
Here's the Quiz class to add the front-end functionality(like adding radio buttons and scoring functionality):
Quiz.java
package com.myapps.quiz;
import java.io.IOException;
import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
public class Quiz extends Activity{
/** Called when the activity is first created. */
private RadioButton radioButton;
private TextView quizQuestion;
private TextView tvScore;
private int rowIndex = 1;
private static int score=0;
private int questNo=0;
private boolean checked=false;
private boolean flag=true;
private RadioGroup radioGroup;
String[] corrAns = new String[5];
final DataBaseHelper db = new DataBaseHelper(this);
Cursor c1;
Cursor c2;
Cursor c3;
int counter=1;
String label;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
String options[] = new String[19];
// get reference to radio group in layout
RadioGroup radiogroup = (RadioGroup) findViewById(R.id.rdbGp1);
// layout params to use when adding each radio button
LinearLayout.LayoutParams layoutParams = new RadioGroup.LayoutParams(
RadioGroup.LayoutParams.WRAP_CONTENT,
RadioGroup.LayoutParams.WRAP_CONTENT);
try {
db.createDataBase();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
c3 = db.getCorrAns();
tvScore = (TextView) findViewById(R.id.tvScore);
for (int i=0;i<=4;i++)
{
corrAns[i]=c3.getString(0);
c3.moveToNext();
}
radioGroup = (RadioGroup) findViewById(R.id.rdbGp1);
radioGroup.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(RadioGroup group, int checkedId) {
// TODO Auto-generated method stub
for(int i=0; i
RadioButton btn = (RadioButton) radioGroup.getChildAt(i);
String text;
if (btn.isPressed() && btn.isChecked() && questNo < 5)
{
Log.e("corrAns[questNo]",corrAns[questNo]);
if (corrAns[questNo].equals(btn.getText()) && flag==true)
{
score++;
flag=false;
checked = true;
}
else if(checked==true)
{
score--;
flag=true;
checked = false;
}
}
}
tvScore.setText("Score: " + Integer.toString(score) + "/5");
Log.e("Score:", Integer.toString(score));
}
});
quizQuestion = (TextView) findViewById(R.id.TextView01);
displayQuestion();
/*Displays the next options and sets listener on next button*/
Button btnNext = (Button) findViewById(R.id.btnNext);
btnNext.setOnClickListener(btnNext_Listener);
/*Saves the selected values in the database on the save button*/
Button btnSave = (Button) findViewById(R.id.btnSave);
btnSave.setOnClickListener(btnSave_Listener);
}
/*Called when next button is clicked*/
private View.OnClickListener btnNext_Listener= new View.OnClickListener() {
@Override
public void onClick(View v) {
flag=true;
checked = false;
questNo++;
if (questNo < 5)
{
c1.moveToNext();
displayQuestion();
}
}
};
/*Called when save button is clicked*/
private View.OnClickListener btnSave_Listener= new View.OnClickListener() {
@Override
public void onClick(View v) {
}
};
private void displayQuestion()
{
//Fetching data quiz data and incrementing on each click
c1=db.getQuiz_Content(rowIndex);
c2 =db.getAns(rowIndex++);
quizQuestion.setText(c1.getString(0));
radioGroup.removeAllViews();
for (int i=0;i<=3;i++)
{
//Generating and adding 4 radio buttons dynamically
radioButton = new RadioButton(this);
radioButton.setText(c2.getString(0));
radioButton.setId(i);
c2.moveToNext();
radioGroup.addView(radioButton);
}
}
}
is it possible to upload the project in a zip file?
ReplyDeleteI can send you the entire project if you like. Let me have your email address.
ReplyDeletesir can i have the project sample?....this is my email..juliusceasarpalma@gmail.com
Deletethat would be great! you can send it to me.view@gmail.com. thanks a lot!
ReplyDeleteI would love a copy of the project aswell if you dont mind :) trev.perkins at gmail.com
ReplyDeleteSure! Please do post your comments about how you feel about it.
ReplyDeletei have a question.. how does your database store the questions, correct answer, and the choices for each question? had problems running the app since it doesn't create the database, and if it did the database would be empty.. thanks in advance!
ReplyDeleteI have used a pre-built database.Download the SQLite browser and run the queries as directed in the beginning of the quiz tutorial.
ReplyDeleteYour feedback is appreciated
Hey Maxood,
ReplyDeleteCan you please send me the whole project in zip/rar format. It would be of great help. I really liked your project.
My email id is garimasrivastava.garima@gmail.com
Hi Maxwood,
ReplyDeleteCould you please send me the whole project in ZIP format.
Thank you very much.
my e-mail is: specijalac2@yahoo.com
Hi Maxwood,
ReplyDeleteCould you please send me the project.
Thank you very much.
Email: chrishatfield21@gmail.com
Please ensure to correspond withme on maqsood_rahman@hotmail.com. Thank you
ReplyDeleteHi, Maxood. Thanks for sharing, I would like to have a copy of it, please send to 'sunhsilu' at gmail.com.
ReplyDeleteMaxood, great tutorial! Please email me the project in zip formay to freebie@prhsolutions.com. Thanks!
ReplyDeletePaul72
please could you email me the project - I would be most grateful and happy to post my feedback once I have tested it. My email is search4it AT gmail.com
ReplyDeleteThanks
hey! Would really appreciate if you could mail the project to kayt0912@hotmail.com : )
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteLook into Logcat window and let me know about the exact error.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeletemissed off first line of log....
ReplyDeletesqlite3_open_v2("/data/data/com.myapps.quiz/databases/quiz", &handle, 1, NULL) failed
Thanks for letting me know! Just debugged the errors, edited my code and reposted it.
ReplyDeleteI like to have more feedback from you folks what else you want to add to this Quiz app.
Cheers:)
Brilliant, thanks. Had a quick look - a few comments:
ReplyDeleteText doesnt always fit on the screen and doesnt scroll - I have only tried this on an AVD, not on my handset.
It would be good if you could hide the score until the end of the quiz (and maybe also have a button you could click to reveal the answer there and then.
Finally, it would be good to have a summary of right and wrong answers at the end and maybe the option to go back and try the quiz again answering only the incorrect answers.
I will try to edit the code myself to implement this and let you know how I get on but time is short for me.
This comment has been removed by a blog administrator.
ReplyDeleteSearch4IT: Did you get a chance to update this app as per your comment on this thread on November 3, 2010 8:09 AM .... ??
ReplyDeleteI havent had a chance, Im afraid. Maqsood did email out updated code. I have uploaded it to Mega Upload which you can get here: http://www.megaupload.com/?d=FE4IYAO5
ReplyDeleteI hope this is OK with Maqsood - if not, let me know and I'll take it down.
This comment has been removed by a blog administrator.
ReplyDeleteWith the code as posted on mega upload, I was able to run the programme without modification. I am a relative novice at Android programming so would not have spotted the missing createDataBase() call.
ReplyDeleteHi Maxood,
ReplyDeleteCould you please send me the zipped project, i will check it out and let you know with feedback or more features.
Please send to clickmob (at) gmail.com
Thankyou
Lucy
Hi Maxood
ReplyDeleteI am new to the android scene and have been having some trouble with the code above, could you please email me a copy of the zipped project, unfortunately the link to the megaupload site mentioned above is now expired.
Many Thanks
Killian
88kpow ( at ) gmail.com
Hey Maxood,
ReplyDeletethanks for your great tutorial.
I really like your work!
It would be really helpful, if anybody could send me the whole project.
draschke ( at ) gmail.com
Many Thanks
Dirk
Hey guys,
ReplyDeletepls., don't forget me.
(I'm still waiting for the file for the project.)
Thank you!
Dirk
Hello,
ReplyDeleteI am extremely interested in receiving the zipped project as well. edpaten@gmail.com . Thanks so much. Ed
I am very much interested in this project as well. Please send a copy of zipped project when you got time. it's nashsaint@gmail.com
ReplyDeleteMany thanks.
could you send it to my email as well sjmurat@gmail.com thanks
ReplyDeleteHi. I would also really appreciate this project. redmercaclass at gmail.com
ReplyDeleteI'll let you know how I get on with it.
Thanks again,
James
Hi Maxood, please send me the whole project in zip/rar format.
ReplyDeleteMy email is: cp_poison@yahoo.com
Appreciate it mate!
Dave
hi excellent work, can i have the project aswell please
ReplyDeleteice_c00l@hotmail.com
great work, can i have the project in zip/rar please sendo to lautenai at gmail dot com
ReplyDeleteHello, Your Work's Very Interesting, Could you send me the source in zip or rar format.
ReplyDeletemy email : hyun.hye.jung@gmail.com
thank you.
Hey, thanks for the tutorial. Can you please send the tutorial to me to :D email: milanaman111@gmail.com
ReplyDeleteOnce again thanks !!
hello can you send me the zipped file of the project...tqvm...farez9759@yahoo.com
ReplyDeleteMaxood,
ReplyDeleteAbsolutely great. Could you be so king to send me the zip file
Many Thanks
Just found this site looks like the tutorial i have been looking for. Can i get a zipped copy. Omarblufire@hotmail.com
ReplyDeletehey, could you send the project to wisewidow@hotmail.co.uk,would love to have ago at editing it.
ReplyDeleteVery nice, thank you, can you send me project via email chung@1112group.com
ReplyDeleteHi maxood,
ReplyDeleteIts really excellent work .. so could u plz send me the entire project..?
Also plz suggest me sir how to synchronize contacts from the mobile to the sqlite cdatabase..?
Regards
munirasu
Hi maxmood
ReplyDeletePlease could you sedn me the entire project
Regards
Naran
Hi,
ReplyDeleteCan I get a copy of the project zip file?
lickey10@gmail.com
Thanks!
HI Maqsood
ReplyDeletePlease could you send me the entire project?
albanikos@gmail.com
Regards,
Alban
Dear Maqsood, Kindly send me the complete project in ZIP format with environment instructions.
ReplyDeleteWajid Hussain
0333-3018684
wjdhussain@yahoo.com
Maxood, Nice Tutorial,Thanks I'm also developing such application and I'm planing to use XML as my resource files to keep the quiz and answers instead of SQLite. What is your idea about that and what is the best way to maintain the external data?
ReplyDeleteThanks
Pathum
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDelete"rzaartz@yahoo.com".......& u wld get a simple implementation .......
ReplyDeleteThanks Raycliare! I highly value and appreciate your feedback.
ReplyDeleteCould you please send me the whole project in ZIP format.
ReplyDeleteThank you very much.
my e-mail is: avilaleonidas@hotmail.com
:-).... am glad my feedback was appreciated nice tutorial you got there it really helped me a lot. Thank you
ReplyDeleteAre u Ok with the post with my email to send the implementation if not notify me by mail and i would remove it
ReplyDeleteHi,
ReplyDeletePlease send the project in zip format, would be glad to provide comments.
Thanks,
cruzcj@cox.net
May i have the zipped project pls! THX! johnbadras@gmail.com
ReplyDeleteHi!
ReplyDeleteI would like to have the file thanks!
And thanks for such a great tutorial ;)
kajan0912@gmail.com
can you please send it to me?..
ReplyDeletezash13x@gmail.com
this would be a great help
thanks a lot for this tutorial, and share your knowledge
ReplyDeletecan you send the file zip to habib.lege@gmail.com ?
Hi Maxood,
ReplyDeleteIam a student and I have started doing Android projects. I need some help from you to solve the issues in those. Before that I kindly request you to send the quiz app to gopinm2006@gmail.com
Cheers...
Hello Maxood,
ReplyDeleteI am developing an application where the Quiz is an part of it.. Could please mail me the code so that i can refer it. My Email Id is rahilrbolar@gmail.com
thanks for this tutorial. Can I have the source code thanks (dorian at portalis.it)
ReplyDeleteThanks for the tutorial ...Can you please send me the zip source file
ReplyDeletehai can u please send me the zip source file iam strucked at one point. we have to enter data into the database
ReplyDeleteiam getting this error 05-04 18:25:17.304: ERROR/Database(15614): sqlite3_open_v2("/data/data/com.quizQuestions/databases/Quiz1", &handle, 1, NULL) failed
Can u please send me the zip source file my maild id is srikar.nandu@gmail.com
ReplyDeleteI finally found a good tutorial for making quizzes. If it isn't too much trouble can you send the zip project to mink22@hotmail thanks!
ReplyDeleteit would be great if you send me the zip source into my email.
ReplyDeleteplease send it to okiwicaksono@gmail.com
Would you please send me the zip source to my email address: pvtweb@gmail.com. Many thanks!
ReplyDeleteCan you please send me the source code. My email: darkevil1604@yahoo.com
ReplyDeleteThank so much!!
Would you like to send me your source code in zip or rar file via my email lqvinh_vnn@yahoo.com Many thanks!!!
ReplyDeletepleassse send me the source code gopikris90@gmail.com
ReplyDeletethanks in advance.. :)
Hello!
ReplyDeleteCan you please send me the zip source file
mzzsss@gmail.com
Hi!
ReplyDeleteCould you please send me entire project sources too?
korobko.sergey@gmail.com
Greetings. I'd love to have a copy of the zip source file. Please send me a copy at theoliviaong@gmail.com. Thanks!
ReplyDeleteCan I please have the zip/rar package?
ReplyDeleteWould really help me!
axsrox@gmail.com
Send it there please.
Would be great if you could send me the project so I can have a look as it should help me greatly in a new project im working on. Please :)
ReplyDeletezac@zpwebsites.com
Hi Maxwood, Thank you for posting this tutorial. It's really neat and its just what I was searching for.
ReplyDeleteCan you please mail me the project, my email is gamesha@gmail.com
Thanks a lot.
This is a great tutorial, could I please have a zipped copy of the project? chris.erac@gmail.com
ReplyDeleteThanks in advance.
Hi can you send me a copy of the entire source and project thanks in advanced
ReplyDeleteHi! Can you please send me the zipped project to my email at : robert at everyl dot com
ReplyDeleteThank you so much, you are doing a great job!
Hey, you should enter this code in [code][/code] brackets (code brackets) otherwise it is not complete (a lot of tags are excluded because the HTML tries to read them). Just a thought...
ReplyDeleteCan you send it to me, please. me(at)iminthe.us
ReplyDeleteits such a great code Id love to tweak and learn from. REALLY nice job!
Hello Maxood.
ReplyDeleteGreat work
I would also very much appreciate the package.
gruk42 at hotmail.se
Regards
Martin
This is a great tutorial, could I please have a zipped copy of the project?
ReplyDeleteharry0600@yahoo.com
Thanks in advance.
Hi Maxood,
ReplyDeleteI'm a student developing a similar application....Could I get the source files at dhanyaroji@gmail.com?
Thanks and Regards,
Dhanya
Hi! Can you please send me the zipped project to my email at : aqdashusain at gmail dot com
ReplyDeleteThank you so much, you are doing a great job!
Hi,
ReplyDeleteCould you please send me entire project sources too?
My email is : sosso.larbo@gmail.com
Hi Maxood ,
ReplyDeleteCould you please send me entire project sources too?
My e mail id: mahesh.saini.niit@gmail.com
please send me the entire project on my email id:-
ReplyDeletemohammad.abdullah296@gmail.com
Hi,
ReplyDeleteMay I have the zipped project please? dark.maverick20[at]gmail.com
Thanks and regards, keep up the great work!!
Gabriel
Hi, Can you please send me the project? vinu0819@gmail.com
ReplyDeleteHas anyone gotten him to send the source code and if so would you be willing to send it to me as I have not yet heard back from him.
ReplyDeleteHi, Can you please send me the project? vincenzo.amoruso@gmail.com
ReplyDeleteThanks in advance
Ciao
Vincenzo
Hi can you please send me the project? vamsi.saraswat@gmail.com
ReplyDeleteHi
ReplyDeleteCan you please send me the zip source file
alsmail436@gmail.com
Thanks
Sindh,
ReplyDeleteI think your project has great potential. I think you could add some categories to it as well as a randomization of question's and answers and a start from question. Could you you send me the zip file (vtpilot00@gmail) so I can investigate how to incorporate those features in your code thanks. J
Great:)
ReplyDeleteI appreciate your effort and would like to have zip file: dipen.patel@usmletutoring.com
Thank you in advance,
Hi, am interested in this project. Can you send the zip file to v.seng88@gmail.com? thx.
ReplyDeleteWow your example is great!!
ReplyDeleteI request your source zip file.
I am just student in University.
Can you send the zip file?
please help me
mail : dolmaus@gmail.com
The example looks fantastic. Could get a zipped copy of the source as well?
ReplyDeleteThanks for posting this.
kevin.scott@coldwarcafe.com
Thanks!
Awesome work! Plz mail me the zip of source code!
ReplyDeletemail: delhi.king@gmail.com
Thanks.
Hello Maxood,
ReplyDeleteI am developing an android application where the Quiz is an part of it. Could please mail me the code so that i can refer it.
My Email Id is dineshslg@gmail.com
Its really urgent.
Thanks a lot,
Dinesh
Hi Maxood,
ReplyDeleteI would also love a copy. Great work!
My address is chris.mundt@gmail.com
Thanks in advance!
Chris
Thanks for appreciating the code buddies! I shall be sending the zipped file on this weekend to interested Android lovers. Thanks again and keep browsing my blog for new updates every week.
ReplyDeletehello buddy!
Deletecan i have the source code for these?
you can send me at my email
---> sepsisbra@yahoo.com
thanks in advance!
Sure! I will send the sourcecode to you via email today.
DeleteMaqsood
hi maxood, can you please send me the zip file..here is my email address..
ReplyDeleterosemariearaos@gmail.com
thank you..
Could i get a copy too?
ReplyDeleteMy email:
commander_jay@hotmail.com
Thanks!
Great!! can you please send me the zip file?
ReplyDeletethanks a lot!
dulcegao@gmail.com
Dear Maxood,
ReplyDeletePlease send me the entire project.
aqdashusain@gmail.com
Thanks in advance.
Regards,
Aqdas Husain
I would like to look at the code for this project as well. Please send an email with the project to rchassereau1@gmail.com.
ReplyDeleteThanks
Nice!
ReplyDeleteHi Maxood!
Please send me the zip file of this project, my email id is: pak2army@gmail.com
with best Regards,
Mohsin Raza
Could you? please send me the project .zip?
ReplyDeletedale.magnin@gmail.com
great program!
best!
ReplyDeleteHello Maxood!
Please send me the zip file of this project, my email id is: tahwee@yahoo.com
thx
with best Regards,
Tony
please send me the entire project on my email id:-
ReplyDeleteabdihusseinow@gmail.com
Thanks in advance!
Hi Maxood!
ReplyDeleteI´m realy interested in your project.
Please be so kind and send me the zip file, too. My email is: lukaszet@yahoo.de
thx
with best Regards,
Lukas
Hi Maxood,
ReplyDeleteWill you be so kind to send me the entire project? Very useful it is! My email is: arvi90 'monkeys tail' gmail dot com
Regards,
Arvind
Hi!
ReplyDeletePlease send me the zip file of this project
andsoft.andreev@gmail.com
Thanks!
kindly plzz send the zip file at alupandey(at)gmail.com...
ReplyDeletei urgently need it..thanking u in anticipation..
Great Work! Please send me zipped copy of the project to makther08@gmail.com
ReplyDeleteNice project.
ReplyDeleteHello Maxood!
Please send me the zip file of this project, my email id is: napoleon_dan@yahoo.com
thx
with best Regards,
Dan
hey can yu send yur project to my id ?
ReplyDeletetestingking10@gmail.com
Hi Maxood,
ReplyDeletewill u be so kind to send me the source files (r.scheibelhofer@gmx.at).
big thx,
Robert
that would be great! you can send it to krlos.sdas@gmail.com. thanks a lot!
ReplyDeleteCan u send the project zip file to me also?
ReplyDeletee_besalti@hotmail.com
nice tutorial, could u please send me the project
ReplyDeletethx
rika.psari@gmail.com
Nice one! Can you please mail me the project too?
ReplyDeletedjeggie@gmail.com
nice tutorial, plz sent me the project.
ReplyDeleteemail: duc.nguyenmanh@gmail.com
thanks!
Hello Maxood
ReplyDeleteCan you please send me the project as zip file.
Email: adityakrishnarao@gmail.com
Thanks.
This comment has been removed by the author.
ReplyDeleteHi!
ReplyDeleteCan you send the code to: isaacgango@gmail.com. Thanks ! : )
Hi!
ReplyDeleteI try to analysts your code and see in onCheckedChanged functions you are using
for(....)
RadioButton btn = (RadioButton) radioGroup.getChildAt(i);
if (btn.isPressed() && btn.isChecked() && questNo < 5){
// todo something
}
I think it complex and some time rabiobutton will not checked when pressed (i tested it).
Why you are not using:
public void onCheckedChanged(RadioGroup group, int checkedId) {
RadioButton btn =(RadioButton)findViewById(checkedId);
if (btn.isPressed() && questNo < NumQues)
{
//todo something
}
}
what do you think about the my code?
Ur Program is very nice,,,,
ReplyDeleteHi! Can you please send me the zipped project to my email,,,, karthi.vels@gmail.com
Thanks in Avdvance,,,
nice work!
ReplyDeletecan i get a copy of the project too?
tolis_za@hotmail.com
thanks a lot
can I get a copy of the project too?
ReplyDeleteahmedsouid11@gmail.com
thanks :)
could u please send me the project file to my email mohameed1986@gmail.com
ReplyDeletethx a lot
hi
ReplyDeletecan you please send me the complete source code please.
email id: nagarjuna.alcove@gmail.com
hello..
ReplyDeletecan you please send me the project file to my email Shenz17@live.com
I'll be really thankfull if you can send it..
Great tutorial
ReplyDeletePlease send me a copy of the project to seker.v.c@gmail.com
Thanks and Regards
Thank you very much maxood.Your code helped me a lot.But i wish to have the entire project if u dnt have a problem.can u send me on nishantprasad29@gmail.com ??
ReplyDeletePlease could I have the code. Emails karlritchie@gmail.com
ReplyDeletehi
ReplyDeletesir could you please send me the source code
my email id is:nani01216@gmail.com
hello Max
ReplyDeletecould you please send me the project file to my email because i am facing some bugs
mohammed_tahir@ymail.com
hi,
ReplyDeleteplz send me the project to (rathish100@gmailcom)
Hello, very nice project, can you send me a copy please. I would greatly appreciate that. Thanks in advance my email is sfcddm1@gmail.com
ReplyDeleteThanks
Good job. Much appreciated example. Please send me the source code to my email id: tepaper.info@gmail.com
ReplyDeleteThanks
Another fan here, could you please send me the zipped project also, eine.love at gmail.com?
ReplyDeleteThanks for the good work.
Maxood, great tutorial! Please email me the project in zip formay to :
ReplyDeletefischerfaysal@hotmail.fr
Thanks!
Very good indeed! Please email me the zipped project to: nanjgo@gmail.com... Or anyone who alredy have the project. Please and thanks! :)
ReplyDeleteCan anybody answer my beginner questions ?:(
ReplyDeleteWhat can i do to make this tutorial work?
I have to create a database(name quiz with table Quiz), and locate it "/data/data/com.myapps.quiz/databases/"; ?
I got errors on checkDataBase function and MyOutput variable and the Quiz.java too :( Somebody pls help me.
please send me this zip code my email add shivangtrivedi@yahoo.co.in
ReplyDeleteHi;)
ReplyDeleteplease send me this zip code ;))
my email rozmiarek.marcin@gmail.com
Salam Maxood,
ReplyDeleteDoes the App count how many correct/wrong user did in quiz?
Can you please send the project in zip format to banu.nasim@gmail.com ?
nice tutorial man. can you or anyone here send me a zipped version of this or a similar project to cillscarpetfitting@gmail.com
ReplyDeletecheers!
Hi, can I have the zipped project as well?
ReplyDeletemilanmilojevic at hotmail.com
could i have the zipped project too ?
ReplyDeleteThanks !
jhimmel219@gmail.com
Can you please send it to tanu_138@hotmail.com. Would really appreciate, Thank you
ReplyDeletePlease send the zip project to my mail id
ReplyDeletekumaranand2014@gmail.com
Thanks in advance!!!
Great work! Can you send me the zip file please?
ReplyDeletedavemcavanagh@gmail.com
Thanks
Hey Maxwood,
ReplyDeleteI had sent you email earlier. I need zip file for this. Can you check your email plz..
I would really appreciate for your sharing.
Thank you.
Thanks for your post, if you don't mind send the entire project.zip to my mail id. My mail id is rameshmenan@ymail.com
ReplyDeleteplease send it to me too, jepoy.82@gmail.com and if you like to link exchange :)
ReplyDeleteHi Maxwood,
ReplyDeletePlease send me the whole project to the email
; loccis@gmail.com
can u mail the project file at rachitank@gmail.com
ReplyDeletePlease send me the whole project to the email
ReplyDeleteqt.revolution@gmail.com
Hello sir can you send me the zip file of this project I'll thankful to you..my
ReplyDeleteEmail id-mvishnoi35@gmail.com
Thanks
very nice tutorial.
ReplyDeletePlz send me Project code at gulfdice.com@gmail.com
.thanks in advance.
Hello Viewers,
ReplyDeleteI had uploaded the quiz application in media fire here is the link download
http://www.mediafire.com/?j8y6dbmz919xvx3
This comment has been removed by the author.
ReplyDeleteHey there, can you please send me the whole project at heavensiege@yahoo.com
ReplyDeleteThanks for the good work :D
can you send me the code on
ReplyDeletehassen.yessine@gmail.com
thanks
sir kindly send project to my id
ReplyDeletesudharsan10mar1989@gmail.com
Sir please send me the Zip for this project.
ReplyDeletemy id is vikaspanwar.vik9@gmail.com
Could you please send me the zip file for the project? My email is gdangas@ellab.gr
ReplyDeletei would like to make an game for my friends, so i'd like the code aswell if it would be possible, my email is schwinchn@gmail.com. Keep up the good work
ReplyDeleteMany thanks for the tutorial, would it be possible to have a look at the source-code (nic.antonucci@gmail.com)?
ReplyDeleteBest,
Nicoletta
Could you please send me the zip file for the project? My email is anastasia4@hotmail.it
ReplyDeleteThanks.
Hello Anastasia
This comment has been removed by the author.
ReplyDeleteHi there, thank you for the tutorial. Would it be possible to get the zip file? My email is one2rufilipino@gmail.com Thank you so much.
ReplyDeleteHi, could you send me the zipped application to franco [at] vivalapappa.it?
ReplyDeleteHello Muhammad, really interesting. Could you please send me the zipped project file? My email is megasalexandros356323@yahoo.it. Thanks!
ReplyDeletehello,nice tutorial. Could you send the zip file? the email is kingrebound[at]tiscali.it
ReplyDeleteThanks!
Hello this is a very nice tutorial, would be grateful to you if you send me a copy of the zip file....to my mail id ghani.adc@gmail.com.
ReplyDeleteThanks in advance
Ghani
Nice tutorial! I'm working with something similar. Can you send me the zip file to rey110011@gmail.com?
ReplyDeleteThanks
Rey
hi, im a newbie. can you help me by sending the source code to my email??
ReplyDeletesephisbra@yahoo.com
its a big help.. thank you!
Hello, you're good buddy,
ReplyDeletecan you help a newbie like me? pls send me the zip file @ my email
sephisbra@yahoo.com
im counting on you buddy, Thanks!
Could you send me the zip file please matthew845@msn.com
ReplyDeleteHI, Could you send me the zip file please 99oror@gmail.com greate toturial!
ReplyDeleteHi Maxwood, Thank you for posting this tutorial. It's really neat and its just what I was searching for.
ReplyDeleteCan you please mail me the project, my email is hollward at hotmail.com
Thanks a lot.
Hello Maxwood,I've seen your project here and it's interesting,being a newbie I want to know the entire project :) Can you send it to me the zip file on this project? Here's my email MarkVincentPenales@yahoo.com
ReplyDeleteThanks man!!! :D
Hi Maxwood, thank you for this tutorial. My database code is completely different from this, i want to try this also for gaining the knowledge on databases in android, so can u please mail me the code to my mail: srikanth.gnani@gmail.com
ReplyDeleteDid you received any reply from Maxwood? :)
DeleteI will be sending the sourcecode to you folks today. Accept my apologies for the delay.
DeleteMaqsood
This comment has been removed by the author.
ReplyDeleteHI, Could you send me the zip file please my is mahamattahir48gmail.com
ReplyDeletecan you send me the project in a zip file please at adistaktos@hotmail.com?
ReplyDelete