Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 3.1 KB

README.md

File metadata and controls

26 lines (19 loc) · 3.1 KB

Mobile-Quiz

INTRODUCTION

Its a quizzing app made over bluetooth and covers questions on topics like reasoning,aptitude,verbal ablility and few puzzles . The USP of this app is that it is able to connect around 4 devices to the main server device. The app is broadly divided into two segments:-Two Devices and Multipe Devices.

ABOUT CODE

The App uses Android's Bluetooth API and establishes RFCOMM channels. The server listens for various clients using a unique UUID and the client having the same UUID is connected to the server. In Multiple Devices server creates 4 RFCOMM channels with 4 different UUIDs and then each connection is maintained on a different thread by the server so that if anyhow connection with a particular client fails then the connection with other clients is uninterrupted.

INSTRUCTIONS

While connecting as server in two device

Select any number questions from any category by selecting the checkbox beside each question and then set time in dialog box and go connecting to clients.As server is also a participant , it can't view questions ,it can just randomly select them.

While connecting as client in two devices

You have to wait till server selects and then along with server click on discover clients. Both server and client would be a part game.

In multiple devices

Server will select questions and later would act as score board but will not be a part of quiz.As server does not participate in quiz therefore it can also view question. The quiz would be between all the clients

SCREENSHOTS