You are on page 1of 28

A Project Report

A Project Report
On
Android Car Music Player App
Submitted to
Amity University Uttar Pradesh

In Fulfilment of Practical Training -1


Of
Bachelor of Technology
In
Information Technology

By
Dhananjay Yadav

Under the guidance of


Mr Naveen Garg
Department of Information Technology
Amity School of Engineering and Technology
Amity University Uttar Pradesh, Noida

Android Car Music Player

1.0 INTRODUCTION
In This World More recently, as mobile devices such as smartphones and tablets have become
more powerful, energy efficient and numerous, their excess computing power became just as
attractive a resource to scientists. There are now about 900 million Android devices, and their
total computing power exceeds that of the largest conventional supercomputers.
As mobile devices become more like PCs they will come to replace objects we tend to carry
around such as checkbooks, credit cards, cameras, planners, mp3 players, etc. In short, we will
be using them to accomplish our daily tasks.
One application that falls into this category is Android Car Music Player for the Android
Phones. About 60% of the smart phone users are using Android based phones. The objective
behind developing this application was to facilitate the people to drive safe and enjoy the music
beats on the road.
The Project is developed in Java Programming language by using the Eclipse Galileo Integrated
Development Environment (IDE). We use the Android Software Development Kit (SDK)
which includes a variety of custom tools that help us to develop mobile applications on the
Android platform. The most important of these are the Android Emulator and the Android
Development Tools (ADT) plug-in for Eclipse.

1.1 EXISTING SYSTEM


As we know that in exiting system we connect our mobile phone to the car Audio system to
play our Song. We in exiting system have too much of option and new technique in audio
system who can play anything on our fingertip.

1.2 DRAWBACKS OF CURRENT SYSTEM


Driver distractions are the leading cause of most vehicle crashes and near-crashes. According
to a study released by the National Highway Traffic Safety Administration (NHTSA) and the
Virginia Tech Transportation Institute (VTTI), 80% of crashes and 65% of near-crashes
involve some form of driver distraction. The distraction occurred within three seconds before
the vehicle crash! The Drawback in current system is that as we are having too much of
specialized option music player but we wanted something simple and effective while driving
car or any motor vehicle to play our desired music while busy on the Road.

Android Car Music Player

1.3 NEED FOR THE NEW SYSTEM


Driving is a skill that requires your full attention to safely control your vehicle and respond to
events happening on the roads around you. Driving involves constant and complex
coordination between your mind and body. Events or things that prevent you from operating
your car safely are distractions. There are three types of distractions and they are anything that
takes yours

Eyes off the road (visual).

Mind off the road (cognitive).

Hands off the steering wheel (manual).

1.4 GOAL OF PROPOSED SYSTEM


The primary goal of the project is to design, develop and test an Android Application Android
Car Music Player App The proposed system designed to make listening to music in your car
safer and easier with simple designed screens.

Our goals in developing the proposed Android Application are:


Accuracy: The level of accuracy in the proposed system will be higher. All operation would be
done correctly and it ensures that whatever information is coming from the centre is accurate.
Access: The Car Music player has a specially designed interface that will let you listen to your
tunes in your car safely and easily.
Immediate retrieval of information: The main objective of proposed system is to provide for a
quick and efficient retrieval of information.
Easy to Operate: The system should be easy to operate and should be such that it can be
developed within a short period of time and fit in the limited budget of the user.
Android Car Music player is designed to make listening to music in your car safer and easier
with simple designed screens
Bluetooth and Aux connectivity.

Android Car Music Player

1.5 SCOPE

Big, easy to use buttons.

Full access to all of your Music into Playlist.

Big friendly button, great for quickly getting some tunes going.

Large text, brilliant for when in the car.

Inline playlist viewing with just a click on the screen.

Lock orientation. Don't like your player constantly changing orientation in your hand?

Ability to pause and start from paused state.

Easy to access options with just a swipe of the screen

Shiny, reflective, catchy app screen.

Horizontal mode orientation, windows themed styled large button.

Bluetooth controls supported.

Aux controls supported.

Gapless playback.
1.6 SOFTWARE USED

1.6.1 ECLIPSE
In computer programming, Eclipse[1] is a multi-language Integrated development
environment (IDE) comprising a base workspace and an extensible plug system for
customizing the environment. It is written mostly in Java. It can be used to develop applications
in

Java

and,

by

means

of

various

plug-ins,

other

programming

languages including Ada, C, C++, COBOL, Fortran, Haskell, JavaScript, Perl, PHP, Python,
R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang.
It can also be used to develop packages for the software Mathematical Development
environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse
CDT for C/C++ and Eclipse PDT for PHP, among others.
The initial codebase originated from IBM Visual Age. The Eclipse software development
kit (SDK), which includes the Java development tools, is meant for Java developers. Users can
extend its abilities by installing plug-ins written for the Eclipse Platform, such as development
toolkits for other programming languages, and can write and contribute their own plug-in
modules. Released under the terms of the Eclipse Public License, Eclipse SDK is free and open

Android Car Music Player

source software (although it is incompatible with the GNU General Public License). It was one
of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea.
The Eclipse Platform uses plug-ins to provide all functionality within and on top of the runtime
system, in contrast to some other applications, in which functionality is hard coded. The Eclipse
Platform's runtime system is based on Equinox, an implementation of the OSGi core
framework specification.
This plug-in mechanism is a lightweight software componentry framework. In addition to
allowing the Eclipse Platform to be extended using other programming languages such
as C and Python, the plug-in framework allows the Eclipse Platform to work with typesetting
languages like LaTeX, networking applications such as telnet and database management
systems. The plug-in architecture supports writing any desired extension to the environment,
such as for configuration management. Java and CVS support is provided in the Eclipse SDK,
with support for other version control systems provided by third-party plug-ins.
With the exception of a small run-time kernel, everything in Eclipse is a plug-in. This means
that every plug-in developed integrates with Eclipse in exactly the same way as other plug-ins;
in this respect, all features are "created equal". Eclipse provides plug-ins for a wide variety of
features, some of which are through third parties using both free and commercial models.
Examples of plug-ins include a UML plug-in for Sequence and other UML diagrams, a plugin for DB Explorer, and many others.
The Eclipse SDK includes the Eclipse Java development tools (JDT), offering an IDE with a
built-in incremental Java compiler and a full model of the Java source files. This allows for
advanced refactoring techniques and code analysis. The IDE also makes use of a workspace,
in this case a set of metadata over a flat file space allowing external file modifications as long
as the corresponding workspace "resource" is refreshed afterwards.
Eclipse implements widgets through a widget toolkit for Java called SWT, unlike most Java
applications, which use the Java standard Abstract Window Toolkit (AWT) or Swing. Eclipse's
user interface also uses an intermediate graphical user interface layer called JFace, which
simplifies the construction of applications based on SWT.
Language packs developing by the "Babel project" provide translations into over a
dozen natural languages.

Android Car Music Player

1.7 TOOLS USED

1.7.1 ANDROID SDK


The Android software development kit (SDK) includes a comprehensive set of development
tools.[These includes a debugger, libraries, a handset emulator based on QEMU,
documentation, sample code, and tutorials. Currently supported development platforms include
computers running Linux (any modern desktop Linux distribution), Mac OS X 10.5.8 or
later, Windows XP or later; for the moment one can develop Android software on Android
itself by using [AIDE - Android IDE - Java, C++] app and [Android java editor] app. The
officially supported integrated development environment (IDE) is Eclipse using the Android
Development Tools (ADT) Plugin, though IntelliJ IDEAIDE (all editions) fully supports
Android development out of the box and NetBeans IDE also supports Android development
via a plugin[Additionally, developers may use any text editor to edit Java and XML files, then
use command line tools (Kit and Apache Ant are required) to create, build and debug Android
applications as well as control attached Android devices (e.g., triggering a reboot, installing
software package(s) remotely).
Enhancements to Android's SDK go hand in hand with the overall Android platform
development. The SDK also supports older versions of the Android platform in case developers
wish to target their applications at older devices. Development tools are downloadable
components, so after one has downloaded the latest version and platform, older platforms and
tools can also be downloaded for compatibility testing.
Android applications are packaged in .apk format and stored under /data/app folder on the
Android OS (the folder is accessible only to the root user for security reasons). APK package
contains .dex files](compiled byte code files called Dalvik executables), resource files, etc.
1.7.2 ANDROID DEBUG BRIDGE
The Android Debug Bridge (ADB) is a toolkit included in the Android SDK package. It
consists of both client and server-side programs that communicate with one another. The ADB
is typically accessed through the command-line interface.
The format for issuing commands through the ADB is typically:
adb [-d|-e|-s <serialNumber>] <command>

Android Car Music Player

In a security issue reported in March 2011, ADB was targeted as a vector to attempt to install
a rootkit on connected phones using a "resource exhaustion attack".[13]
1.7.3 FASTBOOT
Fastboot is a diagnostic protocol included with the SDK package used primarily to modify
the flash filesystem via a USB connection from host computer. It requires that the device be
started in aboot loader or Second Program Loader mode in which only the most basic hardware
initialization is performed. After enabling the protocol on the device itself, it will accept a
specific set of commands sent to it via USB using a command line. Some of most commonly
used fastboot commands include:

flash - Rewrites a partition with a binary image stored on the host computer.

erase - Erases a specific partition.

reboot - Reboots the device into either the main operating system, the system recovery
partition or back into its bootloader.

devices - Displays a list of all devices (with the serial number) connected to the host
computer.

format - Format a specific partition. The file system of the partition must be recognized
by the device.

1.7.4 NATIVE DEVELOPMENT KIT


Libraries written in C and other languages can be compiled to ARM, MIPS or x86 native
code and installed using the Android Native Development Kit. Native classes can be called
from Java code running under the Dalvik VM using the System.loadLibrary call, which is part
of the standard Android Java classes.
Complete applications can be compiled and installed using traditional development tools The
ADB debugger gives a root shell under the Android Emulator which allows
native ARM, MIPS orx86 code to be uploaded and executed. Native code can be compiled
using GCC on a standard PC. Running native code is complicated by Android's use of a nonstandard C library (libc, known as Bionic). The graphics library that Android uses to arbitrate
and control access to this device is called the Skia Graphics Library (SGL), and it has been
released under an open source licence. Skia has backends for both Win32 and Unix, allowing
the development of cross-platform applications, and it is the graphics engine underlying
the Google Chrome web browser.

Android Car Music Player

Unlike Java application development based on the Eclipse IDE, the NDK is based on
command-line tools and requires invoking them manually to build, deploy and debug the apps.
Several third-party tools allow integrating the NDK into Eclipse and Visual Studio.
1.7.5 ANDROID OPEN ACCESSORY DEVELOPMENT KIT
The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open
Accessory support, which allows external USB hardware (an Android USB accessory) to
interact with an Android-powered device in a special "accessory" mode. When an Androidpowered device is in accessory mode, the connected accessory acts as the USB host (powers
the bus and enumerates devices) and the Android-powered device acts as the USB device.
Android USB accessories are specifically designed to attach to Android-powered devices and
adhere to a simple protocol (Android accessory protocol) that allows them to detect Androidpowered devices that support accessory mode.[21]
1.7.6 HYPERNEXT ANDROID CREATOR
HyperNext Android Creator (HAC) is a software development system aimed at beginner
programmers that can help them create their own Android apps without knowing Java and the
Android SDK. It is based on HyperCard that treated software as a stack of cards with only one
card being visible at any one time and so is well suited to mobile phone applications that have
only one window visible at a time. HyperNext Android Creator's main programming language
is simply called HyperNext and is loosely based on Hypercard's HyperTalk language.
HyperNext is an interpreted English-like language and has many features that allow creation
of Android applications. It supports a growing subset of the Android SDK including its own
versions of the GUI control types and automatically runs its own background service so apps
can continue to run and process information while in the background.
1.7.7 SDL
The SDL library offers also a development possibility beside Java, allowing the development
with C and the simple porting of existing SDL and native C applications. By injection of a
small Javashim and JNI the usage of native SDL code is possible, allowing Android ports like
e.g. the Jagged Alliance 2 video game.

Android Car Music Player

1.7.8 RFO BASIC


RFO Basic is an on-device interpreter which provides simple access to hardware, sensors,
sound, graphics, multitouch, file system, SQLite, network sockets, FTP, HTTP, Bluetooth,
HTML GUI, encryption, SMS, phone, email, text-to-speech, voice recognition, GPS, math,
string functions, list functions, and other essentials. It is an open source project which can
produce full-fledged Android APK files. Development of RFO Basic is active, and there is a
strong online community of RFO Basic! Developers.
1.7.9 ANDROID API MINER
Android APIMiner is a platform that automatically instruments the Javadoc documentation of
the Android API with examples of usage, extracted from real open-source Android
applications. To improve the quality of the extracted examples, APIMiner relies on an intraprocedural static slicing algorithm.

Android Car Music Player

2.0 SOFTWARE AND HARDWARE SPECIFICATION

2.1 SOFTWARE USED


S/W Tool: Eclipse Juno
Operating System: Windows 7 (x86 & x64)
Platform: Android Software Development Kit

2.2 HARDWARE REQUIREMENTS


Android Operating System (2.3.3 4.1)
256 MB RAM minimum

Android Car Music Player

3.0 SYSTEM ANALYSIS


3.1 USE CASE OF ANDROID APPLICATION

Fig-3.1.1 Use Case Diagram of the Application

10

Android Car Music Player

3.2 SCREENSHOTS OF ANDROID APPLICATION

Fig- 3.2.1 Splash Screen of the Application

11

Android Car Music Player

Fig-3.2.2 Main Screen of the application

12

Android Car Music Player

Fig-3.2.3 Screen when pressing the Playlist button

13

Android Car Music Player

Fig-3.2.4 Playlist Screen After pressing


Playlist Button on the Main Screen

14

Android Car Music Player

Fig-3.2.5 Playlist Screen when Selecting


Song to Play

15

Android Car Music Player

Fig-3.2.6 Screen When Pressing Pause Button

16

Android Car Music Player

Fig-3.2.7 Screen When Pressing Play Button


To play the paused song

17

Android Car Music Player

Fig-3.2.8 Screen when pressing forward Button

18

Android Car Music Player

Fig-3.2.9 Screen when pressing the backward Button

19

Android Car Music Player

Fig-3.2.10 Screen when pressing the Exit Button


To Exit from the Application

20

Android Car Music Player

Fig-3.2.11 Application Icon

21

Android Car Music Player

4.0 TEST CASES


Manual testing was chosen as the method for testing. The randomness of the test cases is one
of the characteristic of manual testing.

Ref No.

Test Data

Expected

Final Result

Outcome
1.

2.

3.

Install the Android

Application is

Application on the

installed on the

Android Operating

Android Device

System (2.2 4.2)

Successfully

Start the Application

Application is

by clicking its icon

started

Splash Screen Of the

Splash Screen is

Application

coming after the

Pass

Pass

Pass

starting of
Application
4.

Coming of Main

Intent has been

Screen after the

successfully working

Pass

Splash Screen
5.

Opening of Song

Song Playlist comes

Pass

Song plays

Pass

Next Song Plays

Pass

Playlist after
pressing playlist
Button
6.

Selecting Any song


by pressing song on
song playlist

7.

Press Forward
Button

8.

Press Back Button

Previous Song Plays

Pass

9.

Press Pause Button

Song Pause

Pass

10.

Press Play Button

Pause song plays

Pass

22

Android Car Music Player

11.

After the Ending Of

Inline Playlist is

Song Next Song in

working

Pass

the Playlist Plays


12.

Press the Playlist

Playlist open

during the playing of

without any trouble

song

in current music

Pass

playing
13.

Connecting the

Song is playing on

AUX cable to the

the car system

Pass

car and start the


song
13.

Connecting the

Song is playing on

Bluetooth to the car

the car Audio system

Pass

audio system
Bluetooth and then
starts the
Application & Play
song
14.

Pressing the exit

Song stop and

Button on the main

application exits

screen

successfully

pass

23

Android Car Music Player

5.0 DISCUSSION OF RESULTS


In the course of developing this project we have achieved the following milestones

The Android Car Music Player Application has been successfully created.

The user version of the software has been brought into focus. The first prototype model are
now functional and cater to different types of people

The application being uploaded on the app store and can be downloaded by the user. They now
able to give suggestions to increase the qualities of the application or provide suggestions for
increasing or decreasing the various function like e.g. adding sound button etc.

It is an android based application, it is easily accessible to any version from 2.3.3 4.1. This
justifies its ease of use.

Android Car Music player is designed to make listening to music in your car safer and easier
with simple designed screens and also with Bluetooth and Aux connectivity.

24

Android Car Music Player

6.0 CONCLUSION
The project titled Android Car Music Player App is an android based application that enables
people to drive safe and enjoy the music beats on the road. The aim of the project was to make
listening to music in your car safer and easier with simple designed screens.
The project has been completed successfully with the maximum satisfaction. The constraints
are met and overcome successfully. The system is designed as like it was decided in the design
phase. The project gives good idea on developing a user-friendly application satisfying the
user.
The system is very flexible and versatile. This application has a user-friendly screen that
enables the user to use without any inconvenience. Validation checks induced have greatly
reduced errors. Provisions have been made to upgrade the software. The application has been
tested with live data and has provided a successful result. Hence the software has proved to
work efficiently.
The system created met its objectives, by being simple to use, easy to download from app store.
This software is developed with scalability in mind. Additional modules can be easily added
when necessary. The software is developed with modular approach. All modules in the system
have been tested with valid data and invalid data and everything work successfully.
However there is still a lot of scope for future improvement and add on in functionality. Some
of the major ones being developing for other mobile operating system like windows, etc.

25

Android Car Music Player

8.0 FUTURE PROSPECTS


The Future Prospects are as follows:
1. Mobile application development for other mobile OS (s), so that the Car Music Player
application is easily accessible by many user drive safe on the road and enjoy the music beats.
The core benefit of mobile application development lies in improved quality of interface
through timely response. Moreover, mobile applications support vital like Bluetooth
connectivity, Aux Connectivity reliably and correctly.
2. The system could also be enhanced by adding the voice response system through the voice
control system, which would help the user and their loved ones to drive safe on the road and
enjoy the music beats more precisely and accurately.
3. We can add Calculate movement speed from GPS and it is volume automatic UP in the
system as an up-gradation to the system which not only bring this application in decreasing
distraction on the road but also enjoy the beats of music with driving.
4. We can add mixable audio- effects for Android >2.3 devices: 5 band graphic EQUALIZER
with default/customizable presents, Stereo widening effect, reverb effects (large hall, medium
hall, plate, small room, medium room, and large room), bass boast effect, volume control.
Due to time constraints these ideas where not brought to light in the project.

26

Android Car Music Player

REFERENCES
[1] Getting Started with Android referred from developer.android.com/.
[2] J. F. DiMarzio, Android - A Programmer's Guide 1st Edition, 2010, Tata McGraw Hill Education ISBN 9780071070591.
[3] Ed Burnette, Hello, Android: Introducing Google's Mobile Development Platform 3rd
Edition, 2011, Pragamatic publications.
[4] Reto Meier, Professional Android 4 Application Development, 2012, Wiley India.
[5] Boehm B, "A Spiral Model of Software Development and Enhancement", ACM
SIGSOFT Software Engineering Notes", "ACM", 11(4):14-24, August 1986.
[6] Referred the book written by Roger Pressman, titled Software Engineering - a
practitioner's approach.
[7] Gerhard Fischer, "The Software Technology of the 21st Century: From Software Reuse
to Collaborative Software Design"
[8] K.K.Aggarwal & Yogesh Singh, Software Engineering, 2013, New Age International
Publication.

27

You might also like