SlideShare a Scribd company logo
1 of 24
SUBMITTED BY:
Rashmi Gupta (1301013027)
Silviya Keshari (1301013039)
Multi-Media Player (Jazz Player)
Table of Content
Serial
No.
Topic
1. Introduction
2. Android Framework & Runtime
3.. Environment Setup
4. Components of Android Application
5. Project Media Player
6. Existing system
7. Proposed system
8. Modules & Structure
9. Working of the System
10. Format compatibility
11. State Diagram
12. Advantages
13. Conclusion & Future Scope
Introduction
What is Android?
• Open source and Linux-based OS for mobile devices such as
smartphones and tablet computers.
• Developed by the Open Handset Alliance
Why Android?
• Offers a unified approach to application development
• Variety of Applications
• Reliability & Reusability
• Multitasking
• Modifiability
• Portability
Android Framework
Android Runtime
• Dalvik Virtual Machine is a key component of Android Runtime
which is a kind of Java Virtual Machine specially designed and
optimized for Android.
• Each Android application runs in its own process, with its own
instance of the Dalvik VM..
• Dalvik has been written such that a device can run multiple DVMs
efficiently.
Environment Setup
List of software's that we need for Android application programming.
• Java JDK5 or JDK6
• Android SDK
• Android Studio
• Android Development Tools (ADT)
How to proceed to set required environment?
• Step 1 - Setup Java Development Kit (JDK)
• Step 2 - Setup Android SDK
• Step 3 - Setup Android Studio
• Step 4 - Setup Android Development Tools (ADT) Plugin
• Step 5 - Create Android Virtual Device
Components of Android Applications
Components Description
Activities They dictate the UI and handle the user
interaction to the smartphone screen
Services They handle background processing
associated with an application.
Content Providers They handle data and database management
issues.
Broadcast Receivers They handle communication between Android
OS and applications.
Multi-Media Player
• Mobile Phone is not just a device used for communication but a
multimedia platform that provides the ability to play the media.
• Application will be written using Android SDK in Java and should run
on all Android OS handsets.
• It must support various formats like-
• mp3,
• mp4,wav, flv
• avi, aac
EXISTING SYSTEM
• Playing the audio and video isn’t a feel good experience due to
the limitations.
• Provide support for only some media format and recently
facilities for providing the subtitles is included in the existing
system.
• It does not support all media format while audio effects are not
available to some of the best current media players.
• No Background support
• Also current media players have limitations in subtitle support
and dual audio.
• Limitations related to video quality compatibility as well as
format support.
• High quality HD videos face some problem during video
streaming.
• Performance of the media player is enhanced in this case by
using software encoding facility.
PROPOSED SYSTEM
After considering all the above problems, we have decided to
implement desktop like media player by using software development
and media framework approach.
A. User Interface Proposed system will provide improved user
interface along with single station for both audio and video
B. Multiple Format Support Proposed system will support multiple
formats like 3gp, mp4, avi, flv.
C. Subtitle Support: Few media players do not support manual
subtitle upload. So proposed system will provide multiple format
subtitle support. It will also provide manual upload of subtitle on
media player
D. Sound Effects: The proposed system eliminate above problem by
using audio effects like equalizer, FX booster which will give more
entertaining music experience
E. Dual Audio Support: Dual audio facility allow user to select
playback audio language during video streaming. This feature eliminate
the language understanding barrier.
F. Run In Background: The most unique feature which we will be
going to provide is the video running in background which makes the
video playable in the widget. This feature allows user to do important
works like email checking or sending message or data without
minimizing or closing our video.
Features of the App
• The Android platform provides resources for handling media
playback, which your apps can use to create an interface between the
user and their music files.
• The app will present a list of songs on the user device, so that the
user can select songs to play.
• The app will also present controls for interacting with playback and
will continue playing when the user moves away from the app, with a
notification displayed while playback elapses.
Modules and Structure
• This system adopts the modularized program design.
• System function is divided into modules:
1. UI function module design of mobile terminal:
• The index screen
• Play screen
• Music adding page
• File management page
2. Backstage function module design of mobile terminal:
• The specific function
• Music file data storage
Modules
Playlist design:
• The List View shows one music pictures and one song’s name in
every row.
• We expand the adapter through algorithm, in which a picture and a
song’s name can be shown in the first line.
The design and realization of play menus:
• Includes six functions- play, content, add, delete, delete all & setting
Data storage: Android provides the following ways for data storage:
• Preference (configuration)
• File (documents)
• SQLite data
• Network
Play mode:
• Play mode Use RadioGroup which has the function of the single item
choice.
• Multiple RadioButton items can only select one; play mode of the
player includes single cycle, random play, play in order etc.
• When songs played complete, method OnCompletionListener will be
triggered
The extension card access functions of mobile phones: The
application implements the function of the file browser.
Working of the System
• The ContentResolver class to retrieve tracks on the device
• The MediaPlayer class to play audio and the MediaController class
to control playback.
• A Service instance to play audio when the user is not directly
interacting with the app.
• At first player may be idle or there may be previous files which is
either running or stopped or completed.
• When we click on the media file, then previously loaded file is
retrieved to its starting point and then new file is initialized on player.
• After initialization of the file it is ready for preparing
• Then file will play on media player only if format is compatible with
player.
• Otherwise corresponding codec are loaded and file get played
Format Compatibility
Method & description
• isPlaying()
This method just returns true/false indicating the song is playing or not
• seekTo(position)
This method takes an integer, and move song to that particular second
• getCurrentDuration()
This method returns the current position of song in milliseconds
• getDuration()
This method returns the total time duration of song in milliseconds
• reset()
This method resets the media player
• release()
This method releases any resource attached with Media Player object
• setVolume(float leftVolume, float rightVolume)
This method sets the up down volume for this player
• setDataSource(FileDescriptor fd)
This method sets the data source of audio/video file
• selectTrack(int index)
This method takes an integer, and select the track from the list on that
particular index
State Diagram
Playback control of audio/video files and streams is managed as a
state machine.
The following diagram shows the life cycle and the states of a
MediaPlayer object:
• Ovals represents the states a MediaPlayer object may reside in.
• Arcs represent the playback control operations that drive the object
state transition.
• Arcs with a single arrow head- Synchronous method calls Arcs with
double arrow head- Asynchronous method calls
Advantages
The proposed MediaPlayer offers just the right mix of ease of use and
powerful features.
• An uncluttered viewer supports
• Various swipe gestures
• Pinch to zoom
• App features both software and hardware decoding for a broad
variety of file formats.
• Subtitle controls
• Improved GUI.
• No need of converter
• Multiple format support.
• High quality video streaming support
• Sound effects
Conclusion and Future Scope
• The media player consider about improving functionality in terms of
user interface, format support through the inclusion of codec.
• Improvement in user experience through video running in
background, dual-audio support, subtitle support for all format.
• Single application for audio as well as videos.
THANK YOU

More Related Content

What's hot

Presentation on Android application
Presentation on Android applicationPresentation on Android application
Presentation on Android applicationAtibur Rahman
 
system requirements for android projects
system requirements for android projectssystem requirements for android projects
system requirements for android projectsparry prabhu
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android pptTaha Malampatti
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating SystemBilal Mirza
 
android technology presentation
android technology presentationandroid technology presentation
android technology presentationNishul Tomar
 
Presentation On Android
Presentation On AndroidPresentation On Android
Presentation On AndroidTeachMission
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project PresentationLaxmi Kant Yadav
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSM. Aurnob
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating systemSalma Begum
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android applicationChirag Thaker
 
Online voting system
Online voting systemOnline voting system
Online voting systemSaurabh Kheni
 
Cooking Recipe App
Cooking Recipe AppCooking Recipe App
Cooking Recipe AppFriend Porag
 
Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application DevelopmentSyed Absar
 
online movie ticket booking system
online movie ticket booking systemonline movie ticket booking system
online movie ticket booking systemSikandar Pandit
 

What's hot (20)

Presentation on Android application
Presentation on Android applicationPresentation on Android application
Presentation on Android application
 
PHP Project PPT
PHP Project PPTPHP Project PPT
PHP Project PPT
 
system requirements for android projects
system requirements for android projectssystem requirements for android projects
system requirements for android projects
 
Android ppt
Android ppt Android ppt
Android ppt
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
MUSIC PLAYER.pptx
MUSIC PLAYER.pptxMUSIC PLAYER.pptx
MUSIC PLAYER.pptx
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
android technology presentation
android technology presentationandroid technology presentation
android technology presentation
 
Presentation On Android
Presentation On AndroidPresentation On Android
Presentation On Android
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management system
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android application
 
Online voting system
Online voting systemOnline voting system
Online voting system
 
Cooking Recipe App
Cooking Recipe AppCooking Recipe App
Cooking Recipe App
 
Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application Development
 
History of mobile apps
History of mobile appsHistory of mobile apps
History of mobile apps
 
JAVA Media Player
JAVA Media PlayerJAVA Media Player
JAVA Media Player
 
online movie ticket booking system
online movie ticket booking systemonline movie ticket booking system
online movie ticket booking system
 

Similar to Android Multimedia Player Project Presentation

Similar to Android Multimedia Player Project Presentation (20)

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android - Application Framework
Android - Application FrameworkAndroid - Application Framework
Android - Application Framework
 
Android technology
Android technology Android technology
Android technology
 
Android OS
Android OSAndroid OS
Android OS
 
25329 (2).pdf
25329 (2).pdf25329 (2).pdf
25329 (2).pdf
 
Gtug
GtugGtug
Gtug
 
Software Quality Assurance on VLC
Software Quality Assurance on VLC Software Quality Assurance on VLC
Software Quality Assurance on VLC
 
Android Apps
Android AppsAndroid Apps
Android Apps
 
Embedded Android : System Development - Part I
Embedded Android : System Development - Part IEmbedded Android : System Development - Part I
Embedded Android : System Development - Part I
 
Android General information
Android General informationAndroid General information
Android General information
 
L034072076
L034072076L034072076
L034072076
 
Paris Video Tech #2 - Presentation by Jean-Yves Avenard
Paris Video Tech #2 - Presentation by Jean-Yves AvenardParis Video Tech #2 - Presentation by Jean-Yves Avenard
Paris Video Tech #2 - Presentation by Jean-Yves Avenard
 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Android : Deep dive into developing MobileApp using Android
Android : Deep dive into developing MobileApp using AndroidAndroid : Deep dive into developing MobileApp using Android
Android : Deep dive into developing MobileApp using Android
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Software Quality Assurance on VLC Player
Software Quality Assurance on VLC PlayerSoftware Quality Assurance on VLC Player
Software Quality Assurance on VLC Player
 
Android zensar
Android zensarAndroid zensar
Android zensar
 
Sa w3 1
Sa w3 1Sa w3 1
Sa w3 1
 
Android application development fundamentals
Android application development fundamentalsAndroid application development fundamentals
Android application development fundamentals
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Android Multimedia Player Project Presentation

  • 1. SUBMITTED BY: Rashmi Gupta (1301013027) Silviya Keshari (1301013039) Multi-Media Player (Jazz Player)
  • 2. Table of Content Serial No. Topic 1. Introduction 2. Android Framework & Runtime 3.. Environment Setup 4. Components of Android Application 5. Project Media Player 6. Existing system 7. Proposed system 8. Modules & Structure 9. Working of the System 10. Format compatibility 11. State Diagram 12. Advantages 13. Conclusion & Future Scope
  • 3. Introduction What is Android? • Open source and Linux-based OS for mobile devices such as smartphones and tablet computers. • Developed by the Open Handset Alliance Why Android? • Offers a unified approach to application development • Variety of Applications • Reliability & Reusability • Multitasking • Modifiability • Portability
  • 5. Android Runtime • Dalvik Virtual Machine is a key component of Android Runtime which is a kind of Java Virtual Machine specially designed and optimized for Android. • Each Android application runs in its own process, with its own instance of the Dalvik VM.. • Dalvik has been written such that a device can run multiple DVMs efficiently.
  • 6. Environment Setup List of software's that we need for Android application programming. • Java JDK5 or JDK6 • Android SDK • Android Studio • Android Development Tools (ADT) How to proceed to set required environment? • Step 1 - Setup Java Development Kit (JDK) • Step 2 - Setup Android SDK • Step 3 - Setup Android Studio • Step 4 - Setup Android Development Tools (ADT) Plugin • Step 5 - Create Android Virtual Device
  • 7. Components of Android Applications Components Description Activities They dictate the UI and handle the user interaction to the smartphone screen Services They handle background processing associated with an application. Content Providers They handle data and database management issues. Broadcast Receivers They handle communication between Android OS and applications.
  • 8. Multi-Media Player • Mobile Phone is not just a device used for communication but a multimedia platform that provides the ability to play the media. • Application will be written using Android SDK in Java and should run on all Android OS handsets. • It must support various formats like- • mp3, • mp4,wav, flv • avi, aac
  • 9. EXISTING SYSTEM • Playing the audio and video isn’t a feel good experience due to the limitations. • Provide support for only some media format and recently facilities for providing the subtitles is included in the existing system. • It does not support all media format while audio effects are not available to some of the best current media players. • No Background support • Also current media players have limitations in subtitle support and dual audio. • Limitations related to video quality compatibility as well as format support. • High quality HD videos face some problem during video streaming. • Performance of the media player is enhanced in this case by using software encoding facility.
  • 10. PROPOSED SYSTEM After considering all the above problems, we have decided to implement desktop like media player by using software development and media framework approach. A. User Interface Proposed system will provide improved user interface along with single station for both audio and video B. Multiple Format Support Proposed system will support multiple formats like 3gp, mp4, avi, flv. C. Subtitle Support: Few media players do not support manual subtitle upload. So proposed system will provide multiple format subtitle support. It will also provide manual upload of subtitle on media player D. Sound Effects: The proposed system eliminate above problem by using audio effects like equalizer, FX booster which will give more entertaining music experience
  • 11. E. Dual Audio Support: Dual audio facility allow user to select playback audio language during video streaming. This feature eliminate the language understanding barrier. F. Run In Background: The most unique feature which we will be going to provide is the video running in background which makes the video playable in the widget. This feature allows user to do important works like email checking or sending message or data without minimizing or closing our video.
  • 12. Features of the App • The Android platform provides resources for handling media playback, which your apps can use to create an interface between the user and their music files. • The app will present a list of songs on the user device, so that the user can select songs to play. • The app will also present controls for interacting with playback and will continue playing when the user moves away from the app, with a notification displayed while playback elapses.
  • 13. Modules and Structure • This system adopts the modularized program design. • System function is divided into modules: 1. UI function module design of mobile terminal: • The index screen • Play screen • Music adding page • File management page 2. Backstage function module design of mobile terminal: • The specific function • Music file data storage
  • 14. Modules Playlist design: • The List View shows one music pictures and one song’s name in every row. • We expand the adapter through algorithm, in which a picture and a song’s name can be shown in the first line. The design and realization of play menus: • Includes six functions- play, content, add, delete, delete all & setting Data storage: Android provides the following ways for data storage: • Preference (configuration) • File (documents) • SQLite data • Network
  • 15. Play mode: • Play mode Use RadioGroup which has the function of the single item choice. • Multiple RadioButton items can only select one; play mode of the player includes single cycle, random play, play in order etc. • When songs played complete, method OnCompletionListener will be triggered The extension card access functions of mobile phones: The application implements the function of the file browser.
  • 16. Working of the System • The ContentResolver class to retrieve tracks on the device • The MediaPlayer class to play audio and the MediaController class to control playback. • A Service instance to play audio when the user is not directly interacting with the app. • At first player may be idle or there may be previous files which is either running or stopped or completed. • When we click on the media file, then previously loaded file is retrieved to its starting point and then new file is initialized on player. • After initialization of the file it is ready for preparing • Then file will play on media player only if format is compatible with player. • Otherwise corresponding codec are loaded and file get played
  • 18. Method & description • isPlaying() This method just returns true/false indicating the song is playing or not • seekTo(position) This method takes an integer, and move song to that particular second • getCurrentDuration() This method returns the current position of song in milliseconds • getDuration() This method returns the total time duration of song in milliseconds • reset() This method resets the media player
  • 19. • release() This method releases any resource attached with Media Player object • setVolume(float leftVolume, float rightVolume) This method sets the up down volume for this player • setDataSource(FileDescriptor fd) This method sets the data source of audio/video file • selectTrack(int index) This method takes an integer, and select the track from the list on that particular index
  • 20. State Diagram Playback control of audio/video files and streams is managed as a state machine. The following diagram shows the life cycle and the states of a MediaPlayer object: • Ovals represents the states a MediaPlayer object may reside in. • Arcs represent the playback control operations that drive the object state transition. • Arcs with a single arrow head- Synchronous method calls Arcs with double arrow head- Asynchronous method calls
  • 21.
  • 22. Advantages The proposed MediaPlayer offers just the right mix of ease of use and powerful features. • An uncluttered viewer supports • Various swipe gestures • Pinch to zoom • App features both software and hardware decoding for a broad variety of file formats. • Subtitle controls • Improved GUI. • No need of converter • Multiple format support. • High quality video streaming support • Sound effects
  • 23. Conclusion and Future Scope • The media player consider about improving functionality in terms of user interface, format support through the inclusion of codec. • Improvement in user experience through video running in background, dual-audio support, subtitle support for all format. • Single application for audio as well as videos.