Hi,

I am looking for apis to know the supported audio/video formats on a
device and was not successful. Though I found this link -
http://developer.android.com/guide/appendix/media-formats.html which
mentions the media types supported - It just gives additional formats
supported by T-mobile G1 - how can we programmatically query and know
the formats? I am basically looking at something similar to Java ME
query apis like : invoking Player Manager as follows:

String[] cts = Manager.getSupportedContentTypes(null);
for (int i = 0; i < cts.length; i++) {
        System.out.println(cts[i]);
}

Example Output:
image/gif
video/mp4
audio/mpeg

or By checking System Properties of "supports.audio.capture",
"audio.encodings" etc.

Kindly let me know the details.

Thanks
Karan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to