This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can an Android phone decode and play back a *.caf file w/ iLBC codec?
I am developing such type of application ,In my android application play a1.caf file .
I want to know ,is possible to play .caf file in android.
If yes ,then how to play ?
No you can't http://developer.android.com/guide/appendix/media-formats.html state's all the formats used.
You would have to convert to AAC or WAV before you can use it
Android not listed in doc of support media format, means you can't, check out supported media format which android provide.
Android supported media formats
Related
My problem is that i am getting .caf audio file from server in my android device. I want to convert this file in android supported audio formats. Is there any way to do this. Please suggest....Thanks
I don't think you get to actually convert the files in your android application as the only Java support for CAF was abandoned by Apple over 7 years or so... But if it is a one time, you can try FFmpeg to convert your file.
This question already has an answer here:
Geotagging a captured video
(1 answer)
Closed 9 years ago.
Can I somehow embed location data into a video file in android?
Currently my app creates a video file and gets location info but I have no idea if it is possible to embed location info (lattitude, longitude) into my video file.
I could use ffmpeg or whatever for that (I'm using ffmpeg for some operations on my video).
Alas, I have not a slightest idea how to embed GPS data into my video, if at all possible.
Your question seems to be a duplicate of this one: Geotagging a captured video
But nevertheless, taken from: http://mobile.dzone.com/news/reading-gps-latitude-and
You may know that even Android doesn’t “geotag” videos this is not quite true. Because after using you gallery you can see where those videos are shot. This is fantastic, but actually the real information about where the video has been taken is not into the video file, but it’s in an additional log file that keeps it. Thus actually the video files doesn’t know the geo coordinates.
So I think you can't. You have to store the geo information in an extra file, like Android is doing it. Because MP4 cannot store geotags.
But .MOV files can. So if you can store a MOV file, maybe you can add geotags to it.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to stream an .pls audio file in android 2.2
Can any body tell how to stream and play an .pls audio file using media player in android 2.2...
As far as I know .pls file contain information about songs or live radio stream. For exmaple when you use shoutcast api it returns .pls file which contain information related to list of radio stations like url of live radio stream, station name etc. Try opening it in notepad to see its format and information it contain. You have to parse url of song or station from it.
First of all read the pls specification. You'll see it's quite straightforward. Just parse the pls file and extract the songs that you want to play.
I am looking to develop an application where I have to stream .m3u file, this is for ANDROID 3.0 only.
I want to stream this link
dl.dropbox.com/u/2377944/test/abr_test/index.m3u8
it must work in emulator too
I searched a lot, but nothing seems to be working too good.
Please help.
Thanks in advance.
m3u is a play list format, a text file, and not actually audio/video media itself. That means it references media that you would want to stream. The distinction is important.
The contents of the m3u file is important. (Your link is dead, btw.) Show that to use and we can help more. Each of the media files contained in the m3u must be valid and point to media that is compatible with Android.
What makes the media compatable? Check the Android Supported Media Formats page.
This question already has answers here:
How to play audio files one after the other
(3 answers)
Closed 9 years ago.
I want to play a number of sound files in raw directory one after another in android.
How to do that?
Please anyone provide me an example.
Thanks in advance.
Look into MediaPlayer class documentation. You will all information there.
Want more, get the Android Media Player code
you should try this How to play audio files one after the other the code here will help you to play audio files one after another from assets directory.