分享"应用中的&QUOT不登记;菜单ACTION_SEND意图处理器 [英] App not registering in the "Share" menu as ACTION_SEND intent handler

查看:156
本文介绍了分享"应用中的&QUOT不登记;菜单ACTION_SEND意图处理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个免费和付费的Andr​​oid应用程序都基于相同的核心库code只有不同的子包名,一个简单的完整版布尔开关和LITE的应用程序名称为自由之一。它被设计成接收图像文件并对其进行处理。 AndroidManifest.xml文件是设置为:

I have a free and paid Android app both based on the same core library code with just different subpackage names, a simple full version boolean switch and "LITE" in the app name for the free one. It is designed to receive image files and process them. The AndroidManifest.xml file is setup as:

        <intent-filter>
            <action android:name="android.intent.action.SEND" />
            <action android:name="android.intent.action.SEND_MULTIPLE" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="image/*" />
        </intent-filter> 

在所有的模拟器和设备我测试这两个应用出现在图片库应用程式罚款共享菜单,但我有一个用户报告,他只能看到共享菜单Lite版本。设备运行2.3。据说完整版本出现过一次,但由于一直没有抬头。他没有运行Android相同版本的其他设备上这个问题。

On all the emulators and devices I've tested both apps appear in the Share menu of the Gallery app fine but I have a user reporting he can only see the LITE version in the Share menu. The device is running 2.3. Supposedly the full version appeared once but hasn't reared its head since. He doesn't have this problem on another device running the same version of Android.

有没有人听说过或知道类似的现象发生和/或它背后的原因是什么?

Has anyone heard of or know of similar phenomenon happening and/or the reason behind it?

推荐答案

我要回答我的问题...

I'm gonna answer my own question...

基本上,这竟然是一个非问题。为什么应用程序没有在共享菜单中显示的原因是被选定分享的文件并没有保存在设备上,但在图库中的图像通过Picassa中放在那里(从而真正存储在谷歌的服务器,因此不能使用本地图片通过正常ACTION_SEND意向)。

Basically this turned out to be a non-issue. The reason why the app wasn't showing in the Share menu was the "files" being selected to Share were not local images saved on the device but images in the Gallery put there by Picassa (and thus really stored on Google's servers so not available via the normal ACTION_SEND intent).

这篇关于分享&QUOT;应用中的&QUOT不登记;菜单ACTION_SEND意图处理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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