Professional Documents
Culture Documents
CERTIFICATE
This is to certify that the mini project report entitled ROCK PAPER SCISSOR ANDROID
APPLICATION has been successfully completed by MEDHINI K SHETTY bearing USN
1RN20IS086, NAMRATHA UK bearing USN 1RN20IS092 and NEHA B A bearing USN
1RN20IS094 , presently VI semester students of RNS Institute of Technology in partial
fulfillment of the requirements as a part of the Mobile Application Development Laboratory
(18CSMP68) for the award of the degree of Bachelor of Engineering in Information Science
and Engineering under Visvesvaraya Technological University, Belagavi during academic
year 2022 – 2023. It is certified that all corrections/suggestions indicated for Internal Assessment
have been incorporated in the report and deposited in the departmental library. The mini project
report has been approved as it satisfies the academic requirements as a part of Mobile
Application Development Laboratory.
External Viva
1.
2.
ABSTRACT
Throughout the development process, Android Studio's built-in tools, such as the layout editor and
debugging capabilities, are utilized to enhance productivity and ensure a smooth user experience.
Adhering to Android's design principles, the application prioritizes responsiveness, performance,
and compatibility across a wide range of Android devices.
iv
ACKNOWLEDGMENT
The fulfillment and rapture that go with the fruitful finishing of any assignment would be inadequate
without the specifying the people who made it conceivable, whose steady direction and support
delegated the endeavors with success.
We would like to profoundly thank the Management of RNS Institute of Technology for providing
such a healthy environment to carry out this Mobile Application Development Laboratory with Mini
Project Work.
We would like to express our thanks to our Principal Dr. Ramesh Babu H S for his support and
inspired us towards the attainment of knowledge.
We wish to place on record our words of gratitude to Dr. Suresh L, Professor and Head of the
Department, Information Science and Engineering, for being the enzyme and master mind behind
our Mobile Application Development Laboratory with Mini Project Work.
We would like to express our profound and cordial gratitude to my Mini Project Coordinators, Ms.
Poornima S M, Assistant Professor, Department of Information Science and Engineering for their
valuable guidance, constructive comments, continuous encouragement throughout the Mini Project
Work and guidance in preparing report.
We would like to thank all other teaching and non-teaching staff of Information Science &
Engineering who have directly or indirectly helped us to carry out the Mini Project Work.
Also, we would like to acknowledge and thank our parents who are source of inspiration and
instrumental in carrying out this Mini Project Work.
Place: Bengaluru
Date: 19/06/2023
iv
TABLE OF CONTENTS
CERTIFICATE ii
ABSTRACT iii
ACKNOWLEDGMENT iv
TABLE OF CONTENTS v
LIST OF FIGURES vi
ABBREVATIONS vii
1. INTRODUCTION 8
1.1. Introduction to android 8
1.2. History 8
2. INTRODUCTION TO PROJECT 13
3. SYSTEM DESIGN 14
3.1 System requirement 14
3.2 User interface 14
4. IMPLEMENTATION 18
4.1 About Android Studio 18
4.2 XML 18
4.3 Java codes 19
5. TESTING 23
5.1 Test cases 23
6. RESULT 24
7. CONCLUSION AND ENHANCEMENT 26
8. REFERENCES 27
vii
LIST OF FIGURES
6.1 Step1 23
6.2 Step2 24
6.3 Step3 24
6.4 Step4 25
25
vii
ABBREVATIONS
OS Operating System
UI User Interface
vii
Chapter 1
INTRODUCTION
1.1 Introduction to Android
Android is a software platform and operating system for mobile devices. Android is
available as open source. It allows developers to write managed code in Java Language,
controlling the device via Google-developed Java libraries.
Android is a Linux based operating system and it was bought by Google in 2007.There
are tons of application available and one of the prime reasons for this vast number is
android being an open source. On the other hand, android based device like mobile, tab is
very user friendly. A survey has done by ―Light Castle Partners‖ research wing which
indicates that though other operating system mobile users exist but the majority users are
goes with android operating system.
1.2 History
The history and versions of android are interesting to know. The code names of android
ranges from A to J currently, such as Astro, Blender, Cupcake, Donut, Eclair, Froyo,
Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, and Lollipop. Let us
understand the android history in a sequence.
Initially, Andy Rubin founded Android Incorporation in Palo Alto, California, United
States in October, 2003.In 17th August 2005, Google acquired android Incorporation.
Since then, it is in the subsidiaryof Google Incorporation.
The key employees of Android Incorporation are Andy Rubin, Rich Miner, Chris
White and Nick Sears.
Originally intended for camera but shifted to smart phones because of low market
forcamera only. Android is the nick name of Andy Rubin given by coworkers
because of his love to robots.
In 2007, Google announces the development of android OS. In 2008, HTC launched
the first android mobile.
The skeleton of Android framework and its constituents are shown in the following figure:
1.4.1Applications Layer
Android ships with a set of core applications including an email client, SMS
program, calendar, maps, browser, contacts and others. All applications are built
using the Java.
The next layer is the application framework. This includes the programs that
manage the phone’s basic functions telephone applications, switching between
processes and keeping track of the phone's physical location. Application
developers have full access to Android's application framework.
The next layer contains the native libraries of Android. These shared libraries are
all written in C or C++, compiled for the particular hardware architecture used
by the phone and preinstalled by the phone vendor.
Android Runtime layer includes Dalvik Virtual Machine (DVM) and a set of core
java libraries. Every Android app gets its own instance of DVM. Dalvik has 14
been written so that a device can run multiple virtual machines efficiently and it
executes files with .dex (Dalvik Executable Format) extension optimized for
minimum memory.
1.4.5 Activity
Broadcast Receiver is yet another type of component that can receive and respond
to any of the broadcast announcements.
1.4.7 Service
A Service is a body of code that runs in the background. It can run in its own
process, or in the context of another application's process, depending on its needs.
Other components "bind" to a Service and invoke methods on it via remote
procedure calls. A Service keeps the music going even when the UI has completed.
Content Provider is data storehouse that provides access to data on device, the
classic example is Content Provider used to access the user's list of contacts. Our
application can access data that applications have exposed via a Content
Provider, and can also define our own Content Providers to expose data of own.
1.5.1 Windows
Follow the setup wizard in Android Studio and install any SDK packages that it
recommends. That's it. The following video shows each step of the setup
procedure when using therecommended .exe download.
As new tools and other APIs become available, Android Studio tells you with a
pop-up, or you can check for updates by clicking Help > Check for Update.
Rock paper scissor is a popular board game played by 2 players, and this project
aims to recreate the game's mechanics and functionalities in a mobile application.
The Rock paper scissor app is a mobile application that brings the classic game of
Rock paper scissor to your fingertips.
Designed for Android devices, this app provides a convenient and immersive way
to enjoy the timeless fun of Rock Paper Scissor with friends and family. Whether
you want to relive nostalgic memories or discover the game for the first time, the
Rock Paper Scissor app offers an engaging and entertaining gaming experience.
Unlike the physical game, which requires setting up the board, gathering players,
and finding a suitable playing space, the Rock Paper Scissor app offers the
convenience of accessing the game anytime, anywhere, directly on your Android
device. This accessibility makes it easy for players to indulge in a quick game of
Rock Paper Scissor during spare moments or when they are on the go.
The app's user-friendly interface enhances the overall gaming experience. The
intuitive controls and visually appealing design make it easy for players to
navigate through the app, select moves. This simplicity allows players, whether
they are familiar with Rock Paper Scissor or not, to quickly grasp the play
mechanics and start enjoying the game without any confusion
Chapter 3
SYSTEM DESIGN
3.1 System Requirements
• Instruction
Multiplayer game
4.2 XML
The Extensible Markup Language (XML) is a simple text-based format for representing
structured information: documents, data, configuration, transactions, invoices, and much
more. It was derived from older standard format called SGML order to be more suitable
for Web use.
Chapter 5
TESTING
Software testing in an essential phase in the development life cycle of an application.
Testing ensures that the developed system meets its functional and non-functional
requirements. Two important terms in software testing are Verification and Validation.
Verification is the process of evaluating work-products like requirement specs, design
specs and test cases etc. of different development phases to make sure that they meet the
requirements for that phase. It ensures that the system is built in the right way. Whereas
Validation is the process of evaluating the software at the end of the development phase to
make sure that it meets the business requirements. It is used to make sure that the product
fulfils its intended use and that the end product is built right. One of the most important
tools to test and debug an Android app is the Dalvik debug monitor server (DDMS) that is
part of the Android framework. DDMS helps you to debug your code as it prints errors,
warning and other information from your code. It also provide stack traces for exceptions
on the Logcat output. Various other testing strategies have been adopted to make sure the
correctness of the Image Steganography app. They are discussed in this chapter.
RESULTS
Step 1: The game will start at a point when we enter the home screen and we get
different options to play the game for eg: Rock, Paper, Scissors.
Step 2: To know the rules and regulations of the game we click on the see the
instructions (at the bottom) we will come to know about the instructions.
Step 3: When we will choose an option (for eg: rock and the system chooses
Scissors then the player 1 will get the point and it will be updated in
the Scoreboard with a star and vice-versa).
Step 4: After playing certain rounds in a best of 3 format you will get your result
(win or lose).
Chapter 7
CONCLUSION AND ENHANCEMENT
7.1Conclusion
Our app provides a modern and user-friendly interface, making it accessible to players
of all ages and skill levels. The intuitive design allows users to easily navigate through
the game, select their desired play mode, and start enjoying the classic Rock Paper
Scissors challenge.
One of the unique features of our app is the inclusion of different game modes.
Whether you want to play against the computer, challenge your friends in multiplayer
mode, or compete with players from around the world online, our app caters to all
these preferences. This versatility adds a new level of excitement and variety to the
traditional game, keeping users engaged and entertained.
Chapter 8
REFERENCES
www.geekforgeeks.com
www.stackover.com
www.javapoint.com
www.tutorials.com
https://developer.android.com
https://www.edureka.co
https://www.tutlane.com
https://www.androidauthority.com
https://en.wikipedia.org/wiki/Android_Studio
https://developers.google.com/admob/android/quick-start
https://www.quora.com/What-is-the-recommended-hardware-for-Android-Studio
https://source.android.com
https://www.kindacode.com