如何通过其他选项(例如全景)实现相机功能? [英] How to implement Camera functionality with extra options (like Panorama)?

查看:174
本文介绍了如何通过其他选项(例如全景)实现相机功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我主要对全景选项感兴趣.有没有办法打开本机相机"应用程序(增强版),以便用户可以在普通照片和全景视图之间切换?完全有可能还是我应该停止尝试?

I am mainly interested in panorama option. Is there a way to open the native Camera app (the enhanced version), so the user can switch between normal photo and panorama view? Is it possible at all or should I stop trying?

这是我现在正在使用的代码:

Here is the code that I am using right now:

Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); 
startActivityForResult(i, CAMERA_REQUEST); 

这是当前发生的情况:

这是我需要实现的:

谢谢!

推荐答案

显然,尚不能直接从应用程序中使用全景或光球模式,因为它们依赖于Google提供的专有类.也许将在下一个Android API版本中实现.

Apparently, it is not yet possible to use panorama or photosphere modes directly from an application since they depend on proprietary classes provided by Google. Maybe it will be possible in the next Android API release.

请参见如何在全景/光球模式下直接打开相机? 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆