Android Tutorial-Media In Android(part-16).mp4 | Edureka
Автор: edureka!
Загружено: 2013-01-23
Просмотров: 3542
Описание:
Take a FREE introductory instructor-led Live class at :http://www.edureka.co/android-develop...
---------------------------------------------------------
MediaPlayer is the easier way, if you just want to play an audio file in the background, somewhere in an application
MediaPlayer class can be used to control playback of audio/video files and streams
The Android multimedia framework includes support for playing variety of common media types, so that you can easily integrate audio, video and images into your applications. You can play audio or video from media files stored in your application's resources (raw resources), from standalone files in the filesystem, or from a data stream arriving over a network connection, all using MediaPlayer APIs.
MediaPlayer mp;
mp = MediaPlayer.create(this, R.raw.song);
mp.start();
Watch all videos of this series by clicking here : • Android Tutorial - Media in Applications(P...
-----------------------------------------------------------
Please write back to us at [email protected] or call us at +91-8880862004 for more information.
http://www.edureka.co
Visit - http://www.edureka.co/android-develop...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: