Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/348364897

DESIGN AND DEVELOPMENT OF ANDROID APPLICATION "SUDOKU" FOR


MOBILE SYSTEMS ON ANDROID PLATFORM

Article · September 2020

CITATIONS READS

0 285

5 authors, including:

Abdullah Al Zubaer Mohammad Alamgir Hossain


Rabindra Maitree University, Kushtia-7000 Islamic University (Bangladesh)
14 PUBLICATIONS   1 CITATION    36 PUBLICATIONS   112 CITATIONS   

SEE PROFILE SEE PROFILE

Ariful Islam
Islamic University (Bangladesh)
8 PUBLICATIONS   0 CITATIONS   

SEE PROFILE

All content following this page was uploaded by Mohammad Alamgir Hossain on 10 January 2021.

The user has requested enhancement of the downloaded file.


e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
DESIGN AND DEVELOPMENT OF ANDROID APPLICATION “SUDOKU”
FOR MOBILE SYSTEMS ON ANDROID PLATFORM
Abdullah Al Zubaer*1, Sujit Kumar Mondal*2, Md. Nazrul Islam*3,
Md. Alamgir Hossain*4, Ariful Islam*5
*1Lecturer, Department of Computer Science and Engineering,
Rabindra Maitree University, Kushtia, Bangladesh.
*2Professor, Department of Computer Science and Engineering,
Islamic University, Kushtia, Bangladesh.
*3Associate Professor, Department of Computer Science and Engineering,
Islamic University, Kushtia, Bangladesh.
*4Assistant Professor, Department of Computer Science and Engineering,
Islamic University, Kushtia, Bangladesh.
*5Lecturer, Department of Biomedical Engineering, Islamic University, Kushtia, Bangladesh
Email: zubaerranacseiu@gmail.com
ABSTRACT
Now days for the availability of smart phones I start developing an android game application named “Sudoku”.
Before starting my project, the first thing came to my mind that I have to develop an application that can be
used for fun. Using this application a person can easily spend leisure time. In this paper, the “Sudoku”-
application is developed based on a new generation of intelligence mobile android platform and Android Studio
development environment. I will definitely try to make it more users friendly and up to date so that this
android application can be given in the Google play store.
Keywords: Android OS, Java, Mobile Applications, Performance, Design Patterns
I. INTRODUCTION
Smart phones are available now days. It takes only a few money to buy a smart phone. So android development
now days open a biggest market for the developer. My android application “Sudoku” is developed with a
purpose to help the brain development process. It will help the user to play decision making processes digitally.
Design and development of an android application “Sudoku” for mobile systems on android platform. Android
is an open source project developed by the Open Handset Alliance and held by Google Inc. It is often wrongly
attributed to the operating system based on Linux kernel alone, but in fact it contains a middleware and a
variety of additional applications. For these reasons it is fairer to say that Android is a software stack for mobile
devices [2]. All phones running the Android system come with a range of pre-installed applications like Maps,
Google Search, Gmail or YouTube. Users can easily download new applications (also called apps) directly from
their mobile devices, or by using the Android Market official web. Both paths provide a very seamless
experience and require only a little user interaction. The system takes care of the whole installation process in
the background including finding a path for the new application [1]. Users are only asked if they agree on the
application’s permissions which basically mean a set of actions that the new app will be permitted to perform
(like accessing resources or device’s sensors). It is also important to mention that all applications within the
Android system are equal. Regardless to whether it is a third party application or a core system application,
they all run in the same environment and potentially have the same access rights to all phone resources. This
way, for instance, new applications can easily replace the old ones if they offer similar functionality. Android is
based on an event-driven mechanism so it is all a matter of listening to specific system broadcast messages and
acting accordingly. One of the most appreciated aspects of Android is its openness. The source code has been
revealed to the public, enabling many developers around the world not only to have better understanding of
what is happening in the background of the system, but also to actively contribute to the project. It makes
Android more flexible, allowing new cutting-edge technologies to quickly incorporate in the system [3].

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[636]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
II. ANDROID REVOLUTION
It has been a little three years now from the moment the first Android phone has been released to the public.
Within this short period of time Android has come a spectacular way from an early stage project with prototype
devices to being the second most popular OS in the smart phone market in the world. Moreover, according to
some recent surveys it has managed to dethrone Nokia’s Symbian from its ten-year top position. Without any
doubt, Android is now a global leader in terms of a year-to-year growth and still has great potential for future
increase in sales Table 3.1 shows the data collected in 2010 compared with 2009. Despite a significant growth
in the whole market (70% year-to-year), Android managed to increase its shares in 2010 from less than 4% to a
little less than 23% selling approximately ten times more units [4].

Table-1: Worldwide smart phone sales by operating system (source: Gartner Research
http://www.gartner.com/it/page.jsp?id=1543014

Figure-1 shows market shares of the top three mobile operating systems across six months from June 2010.
This period of time is very interesting as Google’s biggest competitor in this market, Apple, has launched its
new iPhone 4 on the 24th of June. Despite a massive marketing campaign Apple did not manage to get even
close to the increase of Android which gained extra 14% of the US market within just six months.

Figure-1: U.S. Smartphone Operating System Share.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[637]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
Naturally, Android itself is not a single operating system. It comes in many versions with new major updates
being released every half year or even more frequently. So far all new updates have kept a total backward
compatibility but this is likely to become more problematic as Google is launching a tablet optimized version
3.0 – Honeycomb. Now latest version is Android9-Pie [7]. All versions and their distributions shown in the
following chart and related figure shown in the following

Figure-2: Android versions (2018), source: Android Developers.


The recently released versions are Android 9 (Pie) .When designing a new Android application; one has to take
under consideration not only a variety of platform versions but also a target device’s specification. The most
important feature is probably the screen resolution. Oppositely to Apple’s iPhone, Android is not limited to a
single device and Google does not manufacture its own phones [5]. As it was mentioned beforehand, Android is

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[638]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
a software stack and thus it can be installed on practically any device that satisfy a minimal set of requirements
and it was meant to support a variety of resolutions or even screen orientations. The next chart (figure-3)
shows that the vast majority of devices have either high or normal density screens, but it is good practice to
support other options (especially as larger screens are likely to appear in the near future).

Figure-3: Android devices resolutions, source: Android Developers


http://developer.android.com/resources/dashboard/screens.html
The Runtime
Each Android application runs in a separate process, with its own instance of the Dalvik virtual machine. Based
on the Java VM, the Dalvik design has been optimized for mobile devices. The Dalvik VM has a small memory
footprint. [11] Figure-4 illustrates
How Android software stack layers are arranged.

Figure-4: Android Stack Architecture


www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[639]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
As can be seen from the figure-1, Android software stack is made up with several layers from top to bottom.

Figure-5: Android devices


As seen in figure 5, devices have big screen size which and can offer advanced
capabilities the same as personal computers.
III. DEVELOPMENT ENVIRONMENT
3.1 Introduction to Development Process
Developing applications for Android devices is facilitated by a group of tools that are provided with the SDK.
We can access these tools through an Eclipse plug-in called ADT (Android Development Tools) or from the
command line. Developing with Eclipse is the preferred method because it can directly invoke the tools that you
need while developing applications [6].

Figure-6: The development process for Android applications


(http://developer.android.com/resources/dashboard/screens.html)
However, you may choose to develop with another IDE or a simple text editor and invoke the tools on the
command line or with scripts [13]. This is a less streamlined way to develop because you will sometimes have
to call command line tools manually, but you will have access to the same number of features that you would
have in Eclipse. The basic steps for developing applications (with or without Eclipse) are shown in figure 2.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[640]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
3.2 Android Studio Installation on Windows
Install Android Studio Setting up Android Studio takes just a few clicks. First, be sure you download the latest
version of Android Studio [7]. To install Android Studio on Windows, proceed as follows: If you have an .exe file
then double-click to launch it and then follow this steps
Step-1:

Step-2:

Step-3:

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[641]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
Step-4:

Step-5:

Step-6:

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[642]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
Step-7:

Step-8:

Step-9:

Step-10:

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[643]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
Step-11:

Step-12:

Step-13:

IV. PROJECT DESIGN AND IMPLEMENTATION


User interface should be taken in mind when a software developer creates an application. A friendly user
interface was the first thing I considered when doing this project. The Android platform enables applications
developers to create GUI easily using XML layout. The XML files are stored in the layout directory of the project
[8]. The graphical representation of some activity xml files is shown in the following:

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[644]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
main.xml:

Figure-7: main.xml

array.xml:

Figure-8: array.xml
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[645]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
puzzleview.xml:

Figure-9: puzzleview.xml

about.xml:

Figure-10: about .xml

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[646]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
Class name and their related element are shown in the following figures:
1. Sudoku: It is an activity. Displays all button to going play setting and exit.

Figure-11: Sudoku
2. About: It is an activity. Displays developer’s information.

Figure-12: About
3. Game: It is an activity. Displays the different types of level in the game.

Figure-13: Game
4. Puzzle View: This class helps to represent the puzzle view in the game.

Figure-14: Puzzle View


5. Keypad: This class helps to represent the key number in the game.

Figure-15: Keypad
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[647]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com

Figure-16: Activity Life Cycle

V. PERFORMANCE AND RESULT ANALYSIS


5.1 Expected Result
The objective of this project was to design and develop an “Attendance” android application so that using this
app we can easily give our class attendance to our teachers without using pen or paper. After completion of our
project, I run it through emulator and after that install apk file on our android mobile phone. It provides perfect
results and also stores data in my mobile storage that can be accessed anytime. According to our design and
implementation, its provide the expected result. It’s a complete android project. Anyone can access in any place
this application [12].
Another objective was to learn android coding. The expected result is positive. I acquire a proper amount of
knowledge to create any another android project. Android app development coding is not difficult to learn. It
provides necessary features, class and documentation to develop an application.
5.2 Performance Analysis
Performance depends up to user. Users have right to declare where a apps is satisfiable or not. I try to make our
apps user oriented. Design our graphical layout according to users’ necessity. It is able to launch any word
quickly [9]. It can provide necessary information about the entire procedure. This app adjusts quickly with
android mobile environment. Apk file install successfully. After running the application, following screen
appear:

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[648]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com

Figure-17: Sudoku Activity


VI. CONCLUSION
Project is complete. Design and development process is over. It is now waiting to release in the android market.
Android is the most powerful and customize operating system. Who knows, tomorrows mobile market may
only rule by android. I am eagerly waiting for that day. This project gives me a little more confidence to stay
with android. I spend much effort to make my project better. When creating a class, I had to acquire much
knowledge about what I will do with this class. I modify graphical layout several times for our satisfaction.
Finally this project is now on air. It is now able to provide service to users. I got much help from developer’s
site. Using build-in class makes my program much easy. This gives me confidence that’s creating android
applications is not so much difficult. I discovered that it is possible to include voice in our project. Though this
project is not containing voice [10]. I observed that android versions are changing day by day. Gingerbread, Ice
Cream Sandwich, Jelly Bean, Marshmallow, Naughat already lunch in the market. More new versions is waiting
to come. I set the API level for our project is 21. So users of update versions of android phones can easily use
this application.
VII. FUTURE DEVELOPMENT
I wish to include following feature to our project in future:
➢ This application can be developed for other handheld devices specifically Android based tablets (Samsung
Galaxy Tab, Motorola Xoom etc) & other touch phones.
➢ iPhone/iPad/iPod devices required. Need to be downloaded from Apple iTunes Store.
➢ Customize more by providing user ability for entertainment,
➢ Improving graphical layout.

VIII. REFERENCES
[1] Abas, Zoraini Wati. (1993),Komputer dalam pendidikan, Kuala Lumpur: Penerbit Fajar Bakti Sdn. Bhd.
[2] Paweł Bedynski, Łukasz Kidzinski, Google Code Project–Dood API.
[3] James Steele, Nelson To, Android Developer’s Cookbook, Pearson Education Inc., 2011
[4] Android Developers Group: http://groups.google.com/group/android-developers.
[5] AndroiDevelopers:http://developer.android.com/resources/dashboard/platformversionhtml.
[6] Android Developers: http://developer.android.com.
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[649]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:09/September -2020 Impact Factor- 5.354 www.irjmets.com
[7] Download the Busy Box binary (at your own risk, or compile it for yourself).You can find the binary
online at http://benno.id.au/blog/2007/11/14/android-busybox, where Benno has kindly hosted it for
you. (Thanks, Benno!)
[8] Chris Nesladek, German Bauer, Richard Fulcher, Christian Robertson, Jim Palmer,Google I/O 2010 –
Android UI design pattern http://www.google.com/events/io/2010/sessions/android-ui-design-
patterns.html.
[9] Gargenta “Learning android“; Printing History: March 2011, First Edition. ISBN: 978-1-449-39050-
1[LSI] 1299702297.
[10] Ed Burnette, “Hello, Android: Introducing Google’s Mobile Development Platform”; ISBN-10: 1-934356-
17-4 ,ISBN-13: 978-1,934356-17-3,Printed on acid-free paper, P1.1 printing, May 26, 2008,Version:
2009-5-26.
[11] Lauren Darcey, Shane Conder “android wireless application development 3rd edition” Part II:
Application Development Printing History: 2012 Third Edition ISBN: 978-0-321-81384-8.
[12] RetoMeier,“professional_android_4_application_development”, printing History: 2012 ISBN: 978-1-118-
22385-7.
[13] Reto Meier, Google I/O 2011 – Android Protips: Advanced Topics for Expert Android App Developers.
[14] Oxford Dictionary: Oxford University Press; Indian Edition,First Published 2004 ISBN-10:0-19-806464-0.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[650]
View publication stats

You might also like