Is there any way to get music Image like what built in android media player do .
for example ,open a music , if music has image, media player shows it is image as background .
where can I find that image ?
This is found in the MetaData of the file itself. You should be able to find it pretty easily if you know how to navigate the database content.
http://developer.android.com/reference/android/provider/MediaStore.html
In mp3 Id3 tags. Example here.
Related
I'm going to make one app, in this the partial requirement is like this: get the currently playing audio name using service. I tried but I'm unable to find the exact way, here is my finding. How to get all the audio file using mediastore
There is no way to know what file another app may be playing.
The requirement is to list a Videos thumbnails and on clicking it should play related video into Application. i am able to play url where video is located using Video View. But now i want to implement this thing in a better ways like Watsapp and instagram. If anybody have a good experience in this reference please share with me. I want to play around caching video and playing videos from cache without buffering (Video view is showing buffering bar and very slow in performance user have to wait a lot for starting a Video). Any kind of help will be appreciated. thanks.
I did it own my own. It's very simple to implement What i do is to download the video with async task along with a progressing seek bar. Once it's downloaded i'll save it in a Folder in my sdcard. We should create a Folder named as Application name so easy to identify and also always available videos with out opening application as well and next time however when i want to watch video again in my application it just check weather it is available in sdcard if yes then play immediately if not then download it. I am happy.
My application record some sound and use standard player to playback it.
I would like to know how to add a custom cover art to the audio files and show it via intent.
It looks like there are two ways to add album art to an MP3. The easiest way is to place an image in the same directory as the audio file, and most media players will assume that it is cover art. Some people suggest calling this file "AlbumArt.jpg".
The other way to do this is to embed the art int the MP3 itself. I don't know how to do this myself, but you might find this article useful.
I implementing media player which is using media store content provider which is providing the audio files stored now i want to use the corresponding picture of that song displayed when playing audio file i came across usage of getEmbeddedPicture() .but i have been confused how to use that function.
You can try to fetch the Album Art from the media database in android and display the same.
I'm trying to create a simple video player with 3 buttons: play, stop and pause. My video will be from the raw folder or at a server url that I will upload it to. Do you have any tutorial on this in order to get some ideas? Also, I have created a media player with a song, but I think that this can't work for videos, right?
There's a project sample in the SDK for the VideoView. You can attach a MediaController to it, which will show you play/pause stop and skip buttons. It's also on the developer website, here.
this may be what you are looking for: http://davanum.wordpress.com/2009/12/04/android-%E2%80%93-videomusic-player-sample-take-2/
To make this more abstract, the VideoView Widget is what you need.