相机意图过滤器 [英] Camera intent filter

查看:109
本文介绍了相机意图过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关相机意图/过滤器的帮助.以下是我的问题.

I need some help on camera intent / filter. Below are my questions.

  • 我应该使用什么意图过滤器来使我的应用程序处理相机意图?
  • 是否有任何可处理相机意图的应用程序(ACTION_IMAGE_CAPTURE)?

我要弄清楚的是,如果我通过带有ACTION_IMAGE_CAPTURE过滤器的意图,那么任何第三方应用程序都可能响应我的请求吗?

What I am trying to figure out is, if I through an intent with filter ACTION_IMAGE_CAPTURE, is it possible for any 3rd party app to respond for my request?

感谢您的帮助.

推荐答案

1.我应该使用什么意图过滤器来使我的应用程序处理相机意图?

Ans)应该包含在可以处理摄像机的活动的清单文件intent-filter中

Ans) should be included in the manifest file intent-filter of the activity which can handle a camera

2.是否有任何可处理相机意图的应用(ACTION_IMAGE_CAPTURE)?

Ans)布丁摄像头,LINE摄像头,Uva无声摄像头免费,..

Ans)Pudding Camera, LINE Camera, Uva silent camera Free,..

我很困惑,因为用于调用相机应用程序的意图是android.provider.MediaStore.ACTION_IMAGE_CAPTURE,而清单文件中使用的意图过滤器是android.media.action.IMAGE_CAPTURE.

I got confused because intent used to call camera app is android.provider.MediaStore.ACTION_IMAGE_CAPTURE and intent-filter used in manifest file is android.media.action.IMAGE_CAPTURE.

感谢所有答复.

谢谢

赛.

这篇关于相机意图过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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