Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Supported Image Types

i have searched on the Image types supported by Android everywhere.

Actually, my confusion is which are image types supported by Android (i.e. JPEG, gif, or other) , because just now i have done camera capturing code with JPEG, but when i go and open the Albums from my HTC Hero, then i cant view photos and images which i have captured. so should i not captured photos with extension as .jpeg??

The error shown in Alert box are: "The application Albums(process.com.htc.album) has stopped unexpectedly. Please try again".

like image 589
Paresh Mayani Avatar asked Aug 13 '10 05:08

Paresh Mayani


1 Answers

Supported media formats: http://developer.android.com/guide/appendix/media-formats.html

This document describes the media codec, container, and network protocol support provided by the Android platform.

As an application developer, you are free to make use of any media codec that is available on any Android-powered device, including those provided by the Android platform and those that are device-specific. However, it is a best practice to use media encoding profiles that are device-agnostic...

like image 82
Key Avatar answered Sep 28 '22 21:09

Key