社区
Android
帖子详情
关于android.intent.action.VIEW
z182038
2012-08-28 02:35:02
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http"/>
</intent-filter>
做一些操作之后会弹出我的应用,但是我想修改显示出来的应用名.请各位大侠帮帮忙~
...全文
7636
7
打赏
收藏
关于android.intent.action.VIEW
做一些操作之后会弹出我的应用,但是我想修改显示出来的应用名.请各位大侠帮帮忙~
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
逐Ls梦
2012-08-28
打赏
举报
回复
[Quote=引用 5 楼 的回复:]
引用 4 楼 的回复:
引用 3 楼 的回复:
不是太明白LZ到底想说啥?<intent-filter>跟应用名有啥关系
一个activity在AndroidManifest.xml中注册<action android:name="android.intent.action.VIEW" /> 只要有应用发送这个action我就能接收到 然后就能显示出所有接收到这个action的应……
[/Quote]
貌似有些复杂.不过应用名是AndroidManifest.xml文件的<application>中android:label=""属性来决定的.
wintergoes
2012-08-28
打赏
举报
回复
<intent-filter android:icon="drawable resource"
android:label="string resource"
android:priority="integer" >
. . .
</intent-filter>
加个android:label属性试试
dong3560
2012-08-28
打赏
举报
回复
[Quote=引用 4 楼 的回复:]
引用 3 楼 的回复:
不是太明白LZ到底想说啥?<intent-filter>跟应用名有啥关系
一个activity在AndroidManifest.xml中注册<action android:name="android.intent.action.VIEW" /> 只要有应用发送这个action我就能接收到 然后就能显示出所有接收到这个action的应用列表
[/Quote]
就好象是打开一张图片,如果没有设置默认打开程序的话,所有的能看图的应用都会列表显示出来供选择
所以,楼主想改的是你的应用在这个列表中的名字?
z182038
2012-08-28
打赏
举报
回复
[Quote=引用 3 楼 的回复:]
不是太明白LZ到底想说啥?<intent-filter>跟应用名有啥关系
[/Quote]
一个activity在AndroidManifest.xml中注册<action android:name="android.intent.action.VIEW" /> 只要有应用发送这个action我就能接收到 然后就能显示出所有接收到这个action的应用列表
逐Ls梦
2012-08-28
打赏
举报
回复
不是太明白LZ到底想说啥?<intent-filter>跟应用名有啥关系
z182038
2012-08-28
打赏
举报
回复
[Quote=引用 1 楼 的回复:]
http://topic.csdn.net/u/20120413/10/80AB72D8-DE0D-47E1-8987-CE767912D236.html
[/Quote]
完全不搭...
csdn_2013
2012-08-28
打赏
举报
回复
http://topic.csdn.net/u/20120413/10/80AB72D8-DE0D-47E1-8987-CE767912D236.html
android
.
i
nt
e
nt
.
action
.
view
设置,
Android
开发中
I
nt
e
nt
.
Action
各种常见的作用汇总
本文介绍
Android
中...1
I
nt
e
nt
.
ACTION
_MAINString:
android
.
i
nt
e
nt
.
action
.MAIN标识Activity为一个程序的开始。比较常用。Input:nothingOutput:nothing 2
I
nt
e
nt
.
Action
_CALLStirng:
android
.
i
nt
e
nt
.
action
.CALL...
Starting:
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.MAIN cat=[
android
.
i
nt
e
nt
.category.LAUNCHER] cmp=com.
Error while executing: am start -n "... -a
android
.
i
nt
e
nt
.
action
.MAIN -c
android
.
i
nt
e
nt
.category.LAUNCHER Starting:
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.MAIN cat=[and...
Android
学习 -
android
.
i
nt
e
nt
.
action
.MAIN与
android
.
i
nt
e
nt
.category.LAUNCHER理解
android
.
i
nt
e
nt
.
action
.MAIN决定应用程序最先启动的Activity
android
.
i
nt
e
nt
.category.LAUNCHER决定应用程序是否显示在程序列表里 通过实验后,发现MAIN与LAUNCHER并不是单纯的各管各的事情;我测试的结果是,如果一...
关于
android
.
i
nt
e
nt
.
action
.MAIN在manifest里的使用
网上查了
android
.
i
nt
e
nt
.
action
.MAIN的用法,有的说只能有一个,有的说有多个的话启动程序的时候会提示选择Activity,于是自己试验了一下,发现是默认启动第一个。
android
.
i
nt
e
nt
.
action
.MAIN标记了启动...
No Activity found to handle
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.
VIEW
dat=mailto:xxxxxx@
android
.co
nt
e
nt
.ActivityNotFoundException: No Activity found to handle
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.
VIEW
dat=mailto:xxxxxx@xxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxx } at
android
.app.Instrume
nt
ation....
Android
80,471
社区成员
91,385
社区内容
发帖
与我相关
我的任务
Android
移动平台 Android
复制链接
扫一扫
分享
社区描述
移动平台 Android
android
android-studio
androidx
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章