未找到活动以XML定义的Intent处理SEND Intent

问题描述

在设置菜单中,我想要一个共享按钮。我可以使用create function [dbo].[fnNumbers]( @zero_or_one bit,@n bigint) returns table with schemabinding as return with n(n) as (select null from (values (1),(2),(3),(4)) n(n)) select 0 n where @zero_or_one = 0 union all select top(@n) row_number() over(order by (select null)) n from n na,n nb,n nc,n nd,n ne,n nf,n ng,n nh,n ni,n nj,n nk,n nl,n nm,n np,n nq,n nr; 这样的意图来打开链接:

with pack_cte(package,sum_quantity) as (
    select package,sum(quantity)
    from #package_quantities
    group by package)
select p.package,p.sum_quantity,p_calc.num_packages,fn.n subpackage,case when p_calc.num_packages<>fn.n or (p_calc.num_packages=fn.n and p.sum_quantity%5=0) 
            then 5 else p.sum_quantity%5 end quanityofpackage
from pack_cte p
     cross apply (select ceiling(p.sum_quantity/5.0) num_packages) p_calc
     cross apply fnNumbers(1,p_calc.num_packages) fn;

但是,当我尝试执行以下操作进行共享时,按首选项package sum_quantity num_packages subpackage quanityofpackage 10 13 3 1 5 10 13 3 2 5 10 13 3 3 3 20 14 3 1 5 20 14 3 2 5 20 14 3 3 4 30 12 3 1 5 30 12 3 2 5 30 12 3 3 2 40 20 4 1 5 40 20 4 2 5 40 20 4 3 5 40 20 4 4 5

会在运行时出错。
VIEW

我找不到任何有关在XML文件中定义意图的文档。我只是从StackOverflow答案中得知,可以在设置菜单中共享链接。如何使用XML定义的意图共享链接?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...