Android - Supported Image Types

Paresh Mayani picture Paresh Mayani · Aug 13, 2010 · Viewed 14.5k times · Source

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".

Answer

Key picture Key · Aug 13, 2010

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...