Android mp3 player
Upcoming SlideShare
Loading in...5

Like this? Share it with your network


Android mp3 player

Uploaded on



More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 1 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Developed By.. Shiladitya Basu Chirag Das Sumit Balmiki Subhrojit Das Sambho Ghosh Under guidance of Prof. Subhasis Mitra
  • 2. Android Introduction..
  • 3. • Android is an operating system based on the Linux kernel, and designed primarily for touch screen mobile devices such as Smartphone’s and tablet computers. Initially developed by Android, Inc., which Google backed financially and later 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 . 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.
  • 4. • Android is open source and Google releases the code under the Apache License. This open-source code and permissive licensing allows the software to be freely modified and distributed by device manufacturers, wireless carriers and enthusiast developers. • 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. Android's open nature has encouraged a large community of developers and enthusiasts to use the open-source code as a foundation for community-driven projects, which add new features for advanced users or bring Android to devices which were officially released running other operating systems.
  • 5. Interface of Android
  • 6. • 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. The response to user input is designed to be immediate and provides a fluid touch interface, often using the vibration capabilities of the device to provide Haptic Feedback to the user. • 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.
  • 7. • Android home screens are typically made up of app icons and widgets; app icons launch the associated app, whereas widgets display live, autoupdating content such as the weather forecast, the user's email inbox, or a news ticker directly on the home screen. • A home screen may be made up of several pages that the user can swipe back and forth between, though Android's home screen interface is heavily customizable, allowing the user to adjust the look and feel of the device to their tastes. • Third-party apps available on Google Play and other app stores can extensively re-theme the home screen. • Present along the top of the screen is a status bar, showing information about the device and its connectivity. This status bar can be "pulled" down to reveal a notification screen where apps display important information or updates, such as a newly received email or SMS text, in a way that does not immediately interrupt or inconvenience the user.
  • 8. Memory Management of Android OS
  • 9. • Since Android devices are usually battery-powered, Android is designed to manage memory (RAM) to keep power consumption at a minimum. • When an Android app is no longer in use, the system will automatically suspend it in memory – while the app is still technically "open," suspended apps consume no resources (e.g. battery power or processing power) • Android manages the apps stored in memory automatically: when memory is low, the system will begin killing apps and processes that have been inactive for a while, in reverse order since they were last used (i.e. oldest first). • This process is designed to be invisible to the user, such that users do not need to manage memory or the killing of apps themselves
  • 10. Android Versions
  • 11. • • • • • • • • • • • • • • • • Android 1.0 (API level 1) • Android 4.3 Jelly Bean (API level Android 1.1 (API level 2) 18) Android 1.5 Cupcake (API level 3) • Android 4.4 KitKat (API level 19) 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)
  • 12. Symbol OF Android OS
  • 13. Our Objective 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
  • 14. Rhythmbox  Android music player Application
  • 15. System Features
  • 16. Start Up 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
  • 17. Playlist Menu  Play  Stop  Pause
  • 18. External Interface Requirements User Interface Tested on:  Android emulator version 4.3 Hardware Requirement:  Core i3 processor  4 GB RAM  500 GB Hard Disk Software Requirement:  Android SDK Manager  Eclipse  ADT(Android Development Tool)
  • 19. Design How We Planned The Application
  • 20. User Modules… Eclipse ADT(Android Development Tool) Android SDK(Standard Development Kit) Windows 7 (64 bit)
  • 21. Level-0 DFD User input Android mp3 player User Show result
  • 22. Level-1 DFD User input for entering into required OS Android OS User Taking instruction from user to go to the next step Menu Show Result Music Player Carrying instructi on receiving from OS
  • 23. Building Blocks of Android Code Android media player class XML Code Writing class for reading mp3,Play,Stop,Pause Android MP3Player
  • 24. Writing Classes needed for Audio Player
  • 25. • For Play service: public void playAudio(View view) { Intent objIntent = new Intent(this, PlayAudio.class); startService(objIntent); } • For pause Service: public void pauseAudio(View view) { Intent objIntent = new Intent(this, PlayAudio.class); pauseService(objIntent); }
  • 26. • For Stop Service: public void stopAudio(View view) { Intent objIntent = new Intent(this, PlayAudio.class); stopService(objIntent); }
  • 27. XML Code Required for button design
  • 28. • For Button Play: <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_marginLeft="20dp" android:layout_marginTop="30dp" android:onClick="playAudio" android:text="Play" android:textColor="#00FF00" android:textStyle="italic" android:typeface="monospace" android:bottomRightRadius="150dp" android:bottomLeftRadius="150dp" android:topLeftRadius="150dp" android:topRightRadius="150dp" />
  • 29. • For Button pause: <Button android:id="@+id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/button2" android:layout_marginLeft="16dp" android:layout_toRightOf="@+id/button2" android:onClick="pauseAudio" android:text="Pause" android:textColor="#006400" android:textStyle="italic" android:typeface="monospace" android:bottomRightRadius="30dp" android:bottomLeftRadius="30dp" android:topLeftRadius="30dp" android:topRightRadius="30dp" />
  • 30. • For Button Stop: <Button android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBaseline="@+id/button1" android:layout_alignBottom="@+id/button1" android:layout_marginLeft="24dp" android:layout_toRightOf="@+id/button1" android:onClick="stopAudio" android:text="Stop" android:textColor="#FF0000" android:textStyle="italic" android:typeface="monospace" android:bottomRightRadius="30dp" android:bottomLeftRadius="30dp" android:topLeftRadius="30dp" android:topRightRadius="30dp"/>
  • 31. The android music player
  • 32. List of references we have used: • • • • • • • development video tutorial)