社区
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>
做一些操作之后会弹出我的应用,但是我想修改显示出来的应用名.请各位大侠帮帮忙~
...全文
7593
7
打赏
收藏
关于android.intent.action.VIEW
做一些操作之后会弹出我的应用,但是我想修改显示出来的应用名.请各位大侠帮帮忙~
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用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
5.x视频课程
本课程包含了几乎所有的
Android
开发技术,例如,Eclipse和
Android
Studio开发环境的搭建、各种控件的详细使用方法、布局、四大应用程序组件、数据存储、网络、对话框、Toast、通知、
I
nt
e
nt
、
Android
5.x新特性、...
android
.
i
nt
e
nt
.
action
.
view
设置,
Android
开发中
I
nt
e
nt
.
Action
各种常见的作用汇总
本文介绍
Android
中
I
nt
e
nt
的各种常见作用。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 "com.pgz.main/com.pgz.main.MainActivity" -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...
No Activity found to handle
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.
VIEW
android
.co
nt
e
nt
.ActivityNotFoundException: No Activity found to handle
I
nt
e
nt
{ act=
android
.
i
nt
e
nt
.
action
.
VIEW
dat= http://www.jinmahotels.com flg=0x10000000 } at
android
.app.Instrume
nt
ation.checkSta
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.checkStartActivityResult(Instrume
nt
ation.java:2120) ...
Android
80,351
社区成员
91,288
社区内容
发帖
与我相关
我的任务
Android
移动平台 Android
复制链接
扫一扫
分享
社区描述
移动平台 Android
android
android-studio
androidx
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章