Android的 - 菜单项添加到Android内置的应用程序? [英] Android - add menu item to Android's built-in apps?

查看:88
本文介绍了Android的 - 菜单项添加到Android内置的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个菜单选项添加到Android摄像头应用程序。这可能使用目前的SDK办?

I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK?

感谢。

编辑:确定,我知道我需要添加一个意图过滤器标签在我的活动。但我不知道我应该把MIME类型。我希望能够如果用户选择的菜单选项来处理直播相机previews。所以,我该怎么投入的意图过滤器的类型标签?

此外,我想我不会使用替代或选择的,替代的范畴,因为我要处理的整个意图是什么?

Edit : Ok I know I need to add an intent-filter tag in my activity. But I don't know what I should put in the mime type. I want to be able to process the live camera previews if the user selects the menu option. So what do I put into the type tag of the intent-filter?

Also I suppose I won't be using ALTERNATIVE or SELECTED-ALTERNATIVE for the category as I want to deal with the whole intent?

再次感谢。

推荐答案

大多数内置Android应用程序不会给他们的菜单添加第三方选项。

Most of the built-in Android applications do not add third-party options to their menus.

这篇关于Android的 - 菜单项添加到Android内置的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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