"采用对myApp&QUOT完成操作; [英] "Complete action using myApp"

查看:155
本文介绍了"采用对myApp&QUOT完成操作;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在联系人列表可以以发送消息的接触向左滑动。我需要我的应用程序的用户做到这一点的时候,例如WhatsApp或Skype出现在菜单中。菜单是:

In the contact list you can slide the contact to the left in order to send a message. I need my application to appear in the menu when the user does this, like whatsApp or Skype. The menu is:

使用完整的行动:

-messaging

-messaging

-myApp

这是更多钞票?
谢谢!

Is this posible? Thank you!

推荐答案

您需要添加一个意图过滤器您需要您的应用程序处理的操作。您需要将它们添加到您的清单。

You need to add an intent filter for the actions you need your application to handle. You need to add these to your manifest.

在您的code贯彻公共无效onNewIntent(意向意图),并采取必要的acctions。

In your code implement public void onNewIntent(Intent intent) and take the necessary acctions.

看看这个 SO帖子

这篇关于"采用对myApp&QUOT完成操作;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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