0% found this document useful (0 votes)
2 views3 pages

Paper 1

This document discusses the development of a music player application based on the Android platform, highlighting the system structure, application framework, and development process. It emphasizes Android's open architecture, which facilitates multimedia application development and promotes technological innovation. The paper concludes that Android's features enable developers to create personalized mobile applications effectively.

Uploaded by

Shruti Salke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Paper 1

This document discusses the development of a music player application based on the Android platform, highlighting the system structure, application framework, and development process. It emphasizes Android's open architecture, which facilitates multimedia application development and promotes technological innovation. The paper concludes that Android's features enable developers to create personalized mobile applications effectively.

Uploaded by

Shruti Salke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2010 International Conference on Communications and Intelligence Information Security

Development and Research of Music Player


Application Based on Android
Pan Yong-Cai,Liu Wen-chao, Li Xiao
Faculty of Physics and Electronic Technology, Hubei University,
Wuhan 430062, People’s Republic of China
E-mail: [email protected]

Abstract—First, Introduce the Google's mobile equipment


platform –Android, and then develop a kind of music player II. ANDROID SYSTEM STRUCTURE
through the research and analysis on the system structure and Take Android as a mobile equipment development
the application framework of the platform. This player has platform, the software structure includes operating system,
friendly interface, convenient operation, good expansibility and
middle ware and Applications. The software structure can be
maintainability. After testing, the player can satisfy the basic
demand of users and run stable.
divided into four levels: the Application, the Application
Framework, library and the Android operation environment
(RunTime) , and operating system . As shown in figure 1.
Key words--Android; MusicPlayer;SDK

I. INTRODUCTION
Many kinds of rich content applications will be decorated
on the mobile phones, such as video call, vod video, mobile
internet surfing, online reading and content sharing, because
of the arrival of the 3rd Generation and network technology
development. In order to realize these applications, the
functions of mobile phone become smarter and more
intelligent, which indicates a new era of mobile Internet. The
arrival of the new era, needs a powerful development platform
to support, therefore, the research and operating system
technology for smartphones have become one of the most
active areas. In November 2007,Google designed a software
platform for mobile devices, which called Android. Its
purpose is to establish an opened ecological system with
standardized mobile phone software platform in the mobile
industry.
Android is a real sense of open mobile equipment
integrated platform which do not depend on equipment,
including operating system, middleware and some of the main Figure 1 Android system structure
Application. With open architecture and excellent R&D
environment, Android make full use of handheld devices to
provide compelling mobile applications, and does not have A. Application
any previous block mobile industrial innovation of exclusive Android offers many kinds of core application, at the
obstacles. Android has rich graphics system, which makes it same time, developers can use the API in application
easy to develop multimedia applications and web browser framework layer to achieve their application development. This
tools. open and powerful platform provides for each program
The openness feature of the Android platform can promote developers with a fair chance take and each developer can join
technology innovation (including platform), reduce the mobile interconnection world equally, promote the
development cost, and can also help the operators make development of mobile interconnection.
characteristic products. Therefore, it has a large market
potential.

Scientific and Technological Project of Wuhan(No.200910321098)

978-0-7695-4260-7/10 $26.00 © 2010 IEEE 23


DOI 10.1109/ICCIIS.2010.28
B. Application Framework Figure 2 Android application of components
The application framework has a very clever design, by
IV. ANDROID APPLICATION DEVELOPMENT
which components can be reuse by user s for their
applications, and various services can be applied to use again. Music player is a kind of common mobile terminal
applications. This paper takes music player as an example to
illustrate how to develop the Android applications.
C. Libraries and RunTime
A. The user interface
Android contains some C/C + + class librarys which can
be used by different components in Android system. View class is the base class of visual controls, being used
Although Android applications are developed by Java to provide control and processing method of the controls.
language, they do not use Java runtime components but ViewGroup class inherits the View class, it realizes the View
Android runtime components to perform the procedure. and processing method of events and ultimately to interact with
Android runtime components including two important parts, users.The biggest characteristic of ViewGroup is it has rich
one is the core library, the other is Dalvik virtual machine. controls which can be nested to build perfect interface.
(1) Core library Music player interface layout diagram is shown in figure 3.
The core library contains the most class which Java
need.Each Android applications have their own independent
process. Android use one Dalvik virtual machine to perform
multiple Android applications, but each Android application
has its own Dalvik virtual machine.
(2) Dalvik virtual machine
Dalvik virtual machine is a general-purpose registers type
of virtual machine, simple called DVM. DVM consider the
development with a minimum of memory resources, and can
also perform multiple VM individual. This design enables the
system to save more resources in the optimal way. Dalvik Figure 3 Music player page layout
virtual machine depend on the operating system as well as the
Java virtual machine, different operating system has different
Java virtual machine. B. Backstage broadcast control
In the Android system, Service is not interact directly
III. ANDROID APPLICATION STRUCTURE ANALYSIS with users, which is a kind of components in the background.
Android platform has open and applications of equality, Class that inherited from the android.app.Service class should
which is superior to other platforms. Application can use other be created at first, then realize the callback methods needed in
applications to realize the function. For example, an each state of the Service. Service condition callback methods
application needs to use the image browsing, it can directly mainly includes: onCreate ( ), onStart( ) and onDestroy ( ).
use another application which has developed a suitable image Service cannot startup by itself, but through startService( ) or
browsing. In order to understand how the Android platform bindService( ).
finish the work and get a better understanding of the working Information transmission between Service and other
mechanism, we need to analysis the basic composition of applications is realized through Broadcast mechanism
applications. First, in order to be able to accept system startup
Android applications have different components, mainly broadcast,android.permission.RECEVICE_BOOT_COMPLE
includes: Activity, Intent Receiver, Service, Content Provider TED permission should be declared in AndroidManifest.
and so on. The communication between the basic components XML file.
of the system components realize by Intent. All of these <user-permission android:name=” android.permission.
components must be declared in AndroidManifest. XML file RECEVICE_BOOT_COMPLETED” />
which is an application configuration file. Figure 2 shows the Create a class named MusicReceiver inherited from
structure of these components. AndroidManifest. XML file is android content. BroadcastReceiver class,then start it in
responsible for the combination about these components, such onRceive( ), finally using the static way to register.
as Activity ,Service and so on. Figure 4 is the working principle of music players.

24
[4] E2ECloud, “Dissecting Google Android, ” POSTS&TELECOM
PRESS,2009
[5] Yan Jin,Shanglang Yao,“Introduction and development about Google
Android, ” POSTS&TELECOM PRESS,2009
[6] Xianhua Shu, Zhenjun Du, RongChen, “Researeh on Mobile Loeation
Service Design Based on Android, ”IEEE Conf WICOM09, 2009
[7] Ed Burnette.Hello, “Android: Introducing Google’s Mobile
Development Platform, ”Pragmatic Bookshelf, 2008

Figure 4 Working principle of music players

Running effect shows in figure 5.

Figure 5 Running effect,


V Conclusion
Android mobile applications which is a complicated
engineering mainly focus on the development of the system
architecture. This paper analyzes the Android system
development related technologies and the basic development
process. With the features of openness and compatibility,
developers can use the Android SDK to develop extremely
personality mobile applications.
ACKNOWLEDGMENT
This work was supported by the Scientific and
Technological Project of Wuhan(No.200910321098) and
Education Foundation of Hubei Province through Grant (No.
Q20081009).
REFERENCES
[1] Lei Gong, Cong Zhou, “Development and Research of Mobile
Termination Application Based on Android [J],” Computer and
modernization,2008
[2] Yumin Yao,Weiguo Liu, “Study of Android Architecture and Its
Application Development,” Computer system application,2008
[3] Xianhua Shu, “Mobile Web Map Service Design Based on Android, ”
DALIAN MARITIME UNIVERSITY ,2009

25

You might also like