Android - 支持的图像类型

发布于 2024-09-14 07:55:36 字数 311 浏览 1 评论 0原文

我到处搜索Android支持的图像类型。

实际上,我的困惑是哪些是Android支持的图像类型(即JPEG、gif或其他),因为刚才我已经用JPEG完成了相机捕获代码,但是当我打开 HTC Hero 中的相册,然后无法查看我拍摄的照片和图像。 所以我不应该拍摄扩展名为.jpeg的照片吗?

警报框中显示的错误是:“应用程序相册(process.com. htc.album) 意外停止,请重试”。

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

绝影如岚 2024-09-21 07:55:36

支持的媒体格式: http://developer.android.com/guide/appendix/媒体格式.html

本文档介绍了 Android 平台提供的媒体编解码器、容器和网络协议支持。

作为应用程序开发人员,您可以自由使用任何 Android 驱动的设备上可用的任何媒体编解码器,包括 Android 平台提供的媒体编解码器和特定于设备的媒体编解码器。 但是,最佳实践是使用与设备无关的媒体编码配置文件...

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

烈酒灼喉 2024-09-21 07:55:36

支持的媒体格式有:PNG、BMP、WEBP(适用于 Android 4 及以上版本)

Supported media formats are : PNG, BMP, WEBP(for Android 4 and above)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文