Course Content

Course Content

Multimedia in Android

Multimedia in Android

 

In today's video our topic is Multimedia.

Multimedia is essential part of day to day life. Everywhere we are connected with multimedia personally or professionally.

To handle audio and video with Android we use Media player. Media player is the basic class that we will use to work with audio and video services.

For this we will need to create media player instance. It's syntax is :

MediaPlayer mediaPlayer=MediaPlayer.create(this, R.raw.song);

The main methods of media player are, mediaPlayer.start(); , mediaPlayer.pause(); ,

and mediaPlayer.reset(); .

We also have different methods of media player to work with like reset(), isPlaying(), seekTo(position), release(), getTrackInfo() etc...

FAQs

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
297K+ Downloads
App Download Section Circle 1
4.5 Rating
App Download Section Circle 2
10K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere