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".
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...
Supported media formats are : PNG, BMP, WEBP(for Android 4 and above)
精彩评论