Mobile Application Development Report
Mobile Application Development Report
This is to certify that the Mini Project Report entitled “Asynchronous Task with Time
Stamp and Background ” is a bonafide Mini Project work carried out by Amrutha
R[1DB20CS011], Kavana K A[1DB20CS056],Keerthana V[1DB20CS059] and Kusuma S
K[1DB20CS063] . in partial fulfillment of ‘6th’ semester for the Degree of Bachelor of
Engineering in Computer Science and Engineering of Visvesvaraya Technological University,
Belagavi, during the academic year 2023. It is certified that all corrections/suggestions
indicated for Internal Assessments have been incorporated with the degree mentioned.
.
DON BOSCO INSTITUTE OF TECHNOLOGY
Kumbalagodu, Bengaluru-560074
DECLARATION
At the various stages in making the mini project, a number of people have given me invaluable
comment on the manuscript. We take this opportunity to express our deepest gratitude and
appreciation to all those who helped us directly or indirectly towards the successful completion
of this Mini project.
We would like to thank Principal Dr. B S Nagabushana , Don Bosco Institute of Technology for
his support though out this mini project.
We express my whole hearted gratitude to Dr. K B ShivaKumar, who is our respectable Head
of Dept. Department of Computer Science and Engineering.We wish to acknowledge for
their valuable help and encouragement.
In this regard, a heartfelt gratitude to guide Prof. Prakruthi S T Assistant Professor of
Department ofComputer Science and Engineering, for her timely advice on the mini project
and regular assistance throughout the mini project work. We would also like to thank the staff
members of Department of Computer Science and Engineering for their co-operation.
ABSTRACT
Asynchronous task displaying a banner in mobile application development
involves the execution of a task or operation in a non-blocking manner, allowing
the application to continue functioning without waiting for the task to complete.
This approach is crucial for maintaining a smooth user experience and
responsiveness in mobile applications.
The main aim and objective of this project were to demonstrate the use of
Asynchronous task in android asyncTask is designed to be a helper class around
thread and handler and does not constitute a generic threading framework.
AsyncTasks are to ideally be used for short operations (a few seconds at the most.).
An asynchronous task is defined by a computation that runs on a background
thread and whose result is published on the UI thread ,Implement the use of
asynchronous task by implementing the functionality of a simple moving banner
using a set of start and stop buttons , and we also improvise by adding additional
features like background change, time stamp and the count indicating the number
of times banner appeared.
LIST OF FIGURES
FIGURE PAGE
Chapter-1
INTRODUCTION
In recent years, the emergence of smart phones has changed the definition of
mobile phones. Phone is no longer just a communication tool, but also an essential
part of the people's communication and daily life. Various applications added
unlimited fun for people's lives. Itis certain that the future of the network will be
the mobile terminal. Now the Android system in the electronics market is
becoming more and more popular, especially in the smartphone market. Because
of the open source, some of the development tools are free, so there are plenty of
applications generated. This greatly inspired the people to use the Android system.
In addition, it provides a very convenient hardware platform for developers so
that they can spend less effort to realize their ideas. After studying some previous
Android applications andaccess to large amounts of materials, we utilize the Java
language, the Eclipse platform, Android ADT and the Android SDK to develop
these three mobile applications. Thesesystems have a nice interface and smooth
operation. These Apps won’t steal any personal information, but can exclude
useless information and bring a wonderful user experience.
1.1 Android:
Android is a mobile operating system (OS) currently developed by Google,
based on the Linux kernel and designed primarily for touchscreen mobile
devices such assmartphones and tablets. Android's user interface is mainly
based on direct manipulation, using touch gestures that loosely correspond
to real-world actions, such as swiping, tapping and pinching, to manipulate
on-screen objects, along with a virtual keyboard for text input. In addition to
touchscreen devices, Google has further developed Android TV for
televisions, Android Auto for cars, and Android Wear for wrist watches, each
with a specialized user interface. Variants of Android are also used on
notebooks, game consoles, digital cameras, and other electronics. Initially
developed by Android, Inc., which Google bought in 2005, Android was
unveiled in 2007, along with the founding of the Open Handset Alliance – a
consortium of hardware, software, and telecommunication companies
devoted to advancing open standards for mobile devices. As of July 2013,
the Google Play store has had over one million Android applications ("apps")
published, and over 50 billion applications downloaded. An April–May 2013
survey of mobile application developers found that 71% of developers
create applications for Android, and a 2015 survey found that 40% of full-
time professional developers see Android as their priority target platform.
Chapter-2
PROBLEM STATEMENT AND OBJECTIVES
2.2 Objectives:
To design an xml code that can display a banner flow scrolling from right to left
horizontally.
To code a java program that can display output of Asynchronous Task with time stamp
and count.
Testing the code for all its intended functionalities by a android device or avd.
Chapter-3
LITERATURE SURVEY
Chapter-4
PROPOSED SYSTEM
Our proposed system aims to enhance the performance and user experience of mobile
applications by implementing an efficient and optimized asynchronous task framework.
The system will leverage the advantages of asynchronous execution to ensure that time-
consuming tasks, such as fetching data from APIs or performing resource-intensive
operations, are executed in the background without blocking the user interface. By
offloading these tasks to separate threads or utilizing asynchronous programming
techniques, the proposed system will enable the application to remain responsive and
provide a smooth user experience even during heavy processing. Additionally, the system
will incorporate proper error handling and graceful fallback mechanisms to handle
exceptional scenarios and maintain the overall stability of the application. Through this
proposed system, we intend to streamline and optimize the execution of asynchronous
tasks in mobile applications, resulting in improved performance, reduced latency, and
enhanced user satisfaction.
Chapter-5
ANALYSIS
Chapter-6
APPLICATION DESIGN
• Text view - A user interface element that displays text to the user.
• Button - A user interface element that is used to trigger actions or perform specific
tasks when tapped by the user.
• Relative Layout - is a View Group that displays child views in relative positions
XML CODE:
Chapter-7
IMPLEMENTATION
MainActivity.java
provides the bulk of your code to start (as mentioned, you did have
the option to change this when creating your new app project).
This is the code for the first activity: the first screen of your app.
AndroidManifest.XML
Every app project must have an Android Manifest. xml file (with
precisely that name) at the root of the project source set. The
manifest file describes essential information about your app to the
Android build tools, the Android operating system, and Google Play.
Chapter-8
RESULTS AND SCREENSHOTS
CONCLUSION
In conclusion, implementing Asynchronous tasks with banner flow, count and background
change in mobile applications provides a dynamic and engaging user experience while
maintaining responsiveness. By utilizing asynchronous execution, the application can fetch
and update banner content in the background without interrupting user interaction.
Incorporating a count incrementation for the banner flow adds a time that keeps the
content fresh and relevant. This approach combines the benefits of asynchronous task
execution, such as improved performance and optimized network usage, with the visually
appealing aspect of timed banner transitions. Overall, integrating asynchronous tasks with
banner flow, count and background change enhances the user experience by delivering
timely and engaging content while ensuring the smooth functioning of the application.
FUTURE SCOPE
The future scope of asynchronous tasks with a timer for displaying banners in mobile
Android applications presents exciting possibilities for further enhancing user engagement
and personalization. By leveraging advancements in machine learning and data analytics,
the system can intelligently analyze user behavior and preferences to dynamically tailor
the banner content. This adaptive approach could result in more personalized and relevant
advertisements, notifications, or information for users. Additionally, incorporating
advanced scheduling algorithms and intelligent caching mechanisms could optimize the
timing and delivery of banner transitions, further enhancing the user experience.
Furthermore, exploring integration with emerging technologies such as augmented reality
(AR) or virtual reality (VR) could enable interactive and immersive banner experiences.
Moreover, as 5G networks become more prevalent, the future scope includes leveraging
higher network speeds and lower latency to deliver real-time updates and richer
multimedia content in the banners. These advancements in technology and user-centric
approaches open up new avenues for the future of asynchronous tasks with timers in
displaying banners, enabling mobile Android applications to offer even more engaging and
tailored experiences to their users.
BIBLIOGRAPHY
Reference Book :
Google Developer Training, "Android Developer Fundamentals Course –
ConceptReference”, Google Developer Training Team, 2017.
Website:
[1]. YouTube : https://www.youtube.com/[2].
https://developer.android.com/studio
[3]. https://github.com/
[4].https://www.gitbook.com/book/google-developer-training/android-
developer-[5].fundamentals-course- concepts/details