【Quiz1】Android Studio Game Tutorial – #6 [Final] Start Activity

Course Updates 2019:
【Download Links】
Sample Code:

Demo App:

【Watch Full Version】

1. Introduction

2. Create New Project & activity_main.xml

3. Show Question and Choices

4. Check Answer & Show Dialog

5. Result Activity & Save Total Score

6. Start Activity

【Android Studio Game Series】


Catch the Ball Game

The Flying Bird

Nguồn: https://indiancinema-analysis.com/

Xem thêm bài viết: https://indiancinema-analysis.com/category/cong-nghe

Related Post

13 Replies to “【Quiz1】Android Studio Game Tutorial – #6 [Final] Start Activity”

  1. Hey there ! Thanks for your tutos im really excited. It's really helpful. I just want to know how can I make the total score changeable on every play . I don't want the score to be saved

  2. thankss 😀 sara . how to stop quiz after result ? when i press back. It bring me to quiz again not in startactivity. how ?

  3. why does my code got an error where in fact I already imported Log and created quizCategory variable.. see code below. thanks
    import android.util.Log;
    import android.view.View;
    import android.widget.Button;
    import android.widget.TextView;

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Random;

    public class MainActivity extends AppCompatActivity {

    private TextView countLabel;
    private TextView questionLabel;
    private Button answerBtn1;
    private Button answerBtn2;
    private Button answerBtn3;
    private Button answerBtn4;

    //receive quizCategory from startActivity.
    int quizCategory = getIntent().getIntExtra("QUIZ_CATEGORY", 0);

    Log.v("CATEGORY_TAG", quizCategory + "");

  4. Hi Sara. I can't buy this lesson because I'm still student and I don't have a way to pay it
    Please, can you tell how we update questions according to the category and how we can store user score in leader using Sqlite.
    I will be very grateful for your help
    my email adress = taoufik.speaker@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *