android mp3 player
DESCRIPTION
this ppt is on android mp3 player and i uploaded it here to help the students to cover there projectsTRANSCRIPT
PROJECT ON
DENNY MP3 PLAYERBASED ON ANDROID OS
Developed By..
Chirag Aggarwal
6312073
CSE-2
2012-2016
Under guidance of Er. Dhanpreet Singh
• Android is an operating system based on the Linux , and designed primarily for touch screen mobile devices such as Smartphone’s and tablet computers. The first Android-powered phone was sold in October 2008.
• The user interface of Android is based on direct manipulation, using touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching and reverse pinching to manipulate on-screen objects.
• Android allows users to customize their home screens with shortcuts to applications and widgets, which allow users to display live content, such as emails and weather information, directly on the home screen. Applications can further send notifications to the user to inform them of relevant information, such as new emails and text messages.
ANDROID INTRODUCTION
• Android is open source and Google releases the code under the Apache License.
• Android has a large community of developers writing applications ("apps") that extend the functionality of devices, written primarily in the Java programming language
• Android is the world's most widely used smart phone platform,[overtaking Symbian in the fourth quarter of 2010. Android is popular with technology companies who require a ready-made, low-cost, customizable and lightweight operating system for high tech devices.
• Despite being primarily designed for phones and tablets, it also has been used in televisions, games consoles, digital cameras and other electronics.
Interface of Android
• Android's user interface is based on direct manipulation , using touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching and reverse pinching to manipulate on-screen objects.
• Internal hardware such as accelerometers, gyroscopes and proximity sensors are used by some applications to respond to additional user actions, for example adjusting the screen from portrait to landscape depending on how the device is oriented, or allowing the user to steer a vehicle in a racing game by rotating the device, simulating control of a steering wheel.
Android Versions
• Android 1.0 (API level 1)• Android 1.1 (API level 2)• Android 1.5 Cupcake (API level 3)• Android 1.6 Donut (API level 4)• Android 2.0 Eclair (API level 5)• Android 2.1 Eclair (API level 7)• Android 2.2–2.2.3 Froyo (API level 8)• Android 2.3–2.3.2 Gingerbread (API level 9)• Android 2.3.3–2.3.7 Gingerbread (API level 10)• Android 3.0 Honeycomb (API level 11)• Android 3.1 Honeycomb (API level 12)• Android 3.2 Honeycomb (API level 13)• Android 4.0–4.0.2 Ice Cream Sandwich (API level 14)• Android 4.0.3–4.0.4 Ice Cream Sandwich (API level 15)• Android 4.1 Jelly Bean (API level 16)• Android 4.2 Jelly Bean (API level 17)
• Android 4.3 Jelly Bean (API level 18)
• Android 4.4 KitKat (API level 19)
Symbol OF Android OS
Our project was “Study the Programming
Environment of Android Based Smart Phone and
Build A Test Application.”
And We thought of Real life application Like music
player(Rhythmbox)….
Purpose :Explains the functional features, design…
Scope : This application can run anonymously in any
Android based Smart-phones , not less than version
2.3.5
Our Objective
Rhythmbox
Android music player Application
System Features
Functional Requirements
Android operating system on the Smartphone.
The target device should be sound enabled
The android version should not be less than 2.3.5
Start Up
Playlist Menu
Play Stop Pause Songslist Next Previous
User Interface Tested on:
Android emulator version 4.3
External Interface Requirements
Hardware Requirement: Core i3 processor 4 GB RAM 500 GB Hard Disk
Software Requirement: Android SDK Manager Eclipse ADT(Android Development Tool)
Design
How We Planned The Application
Use
r M
od
ule
s…
Windows 7 (64 bit)
Android SDK(Standard Development Kit)
Eclipse
ADT(Android Development Tool)
Level-0 DFD
UserDenny Mp3 player
User input
Show result
Level-1 DFD
User
Android OS
Menu
Music Player
Carryinginstructi
on receiving from OS
User input for entering into required OS
Show Result
Taking instruction from user to go to the next
step
Building Blocks of Android Code
Android media player class
XML Code
Writing class for reading mp3,Play,Stop,Pause
Denny MP3Player
Writing Classes needed for Mp3 Player
• For Play_Pause service:public void play_pause(View v)
{
if(player.isPlaying())
{
player.pause();
play_pause.setImageResource(R.drawable.ic_action_play);
}
else
{
player.start();
play_pause.setImageResource(R.drawable.ic_action_pause);
}}
• For Stop Service:public void stop(View v)
{if(player.isPlaying()){player.stop();play_pause.setImageResource(R.drawable.ic_action_play);
}
}
XML Code Required for button design
• For Button Play_Pause:<ImageButton
android:id="@+id/play_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_play"
android:background="?android:attr/selectableItemBackground"
android:onClick="play_pause"
/>
• For Button Stop:
<ImageButton
android:id="@+id/stop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_stop"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:onClick="stop"
/>
• For Button Previous:<ImageButton
android:id="@+id/previous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_previous"
android:layout_gravity="center_vertical"
android:background="?android:attr/selectableItemBackground"
/>
• For Button Next:
<ImageButtonandroid:id="@+id/next"android:layout_width="wrap_content"android:layout_height="wrap_content"android:src="@drawable/ic_action_next"android:layout_gravity="center_vertical"
android:background="?android:attr/selectableItemBackground"/>
The android music player Start
List of references we have used:
• http://developer.android.com/index.html
• http://www.androiddevelopers.in/
• http://www.androidpolice.com/
• http://android.wordpress.org/
• https://code.google.com/p/connectbot/
• http://www.google.co.in/mobile/android/
• http://www.lynda.com/(Android development video tutorial)
THANK YOU!