E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ComponentName
微信微博分享功能
importjava.util.List; importandroid.R; importandroid.app.Activity; importandroid.app.Dialog; importandroid.content.
ComponentName
Hknock
·
2013-08-23 16:00
简单的Intent案例
intent包含的六大信息1
Componentname
2Action3Data4Category5Extras6Flags 解释一下几个信息的含义吧
Componentname
,定义要启动哪一个组件,启动的组件不一定是
abc5382334
·
2013-08-15 22:00
android
intent
android PackageManager.setApplicationEnabledSetting()
link #setApplicationEnabledSetting(String, int, int)} * and {@link #setComponentEnabledSetting(
ComponentName
A_L_85
·
2013-07-23 16:00
packagemanager
Android开发_程序中启动另一个程序
Android应用程序前名一个参数是应用程序的包名,后一个是这个应用程序的主Activity名 Intent intent=new Intent(); intent.setComponent(new
ComponentName
zhangty0223
·
2013-07-20 11:00
android
启动
另一个程序
Pro Android学习笔记(十一):了解Intent(中)
Intent的构成Intent可以带有action,data(由URI表达),extradata(key/valuemap,键值对),指定的类名(成为
componentname
)。
flowingflying
·
2013-07-18 11:00
Android打开系统设置界面与系统无线网络设置界面
:startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));方法 2:Intent intent = new Intent("/");
ComponentName
zouchengxufei
·
2013-07-09 22:00
android
系统设置界面
Java乔晓松-android的四大组件之一Service(服务的绑定)
MainActivity.java源码:packagecom.example.lesson14_binder; importandroid.app.Activity; importandroid.content.
ComponentName
qxs965266509
·
2013-07-04 15:00
android
service
Camera
Binder
Acvitity
Calling a method in the system process without a qualified user
intent, UserHandle user); public void sendBroadcastAsUser(Intent intent, UserHandle user); public
ComponentName
spirals
·
2013-06-28 12:00
解决BUG
通过Intent的Component属性来启动另一个Activity
Intent的Component属性要接受一个
ComponentName
对象,
ComponentName
对象包含如下几个构造器:上面构造器本质就是一个,即创建一个
ComponentName
需要指定包名和类名
u010142437
·
2013-06-23 23:00
android
页面跳转
component
ComponentName
关于intent调用
关于intent调用 1.不同应用中 Intent intent = new Intent(); intent.setComponent(new
ComponentName
("com.sec.videobrowser
sunj
·
2013-06-21 13:00
intent
Android all app界面字体增加背景
Launcher2\src\com\android\launcher2\AppTextView.java修改前packagecom.android.launcher2; importandroid.content.
ComponentName
ldinvicible
·
2013-06-13 15:00
2013.5.30 调用其他程序的Activity ,当按下Back键后,跳到桌面
newComponentName("com.android.settings","com.android.settings.WirelessSettings"); intent.setComponent(
componentName
iloveforeign
·
2013-05-30 10:00
判断activity是否显示在界面上
ActivityManager am = (ActivityManager) context .getSystemService(Context.ACTIVITY_SERVICE);
ComponentName
pop1030123
·
2013-05-23 11:00
Activity
Android多媒体学习五:利用Service实现背景音乐的播放
Activity类[java]viewplaincopypackage demo.camera; import android.app.Activity; import android.content.
ComponentName
swdrt
·
2013-05-07 21:00
android
service
后台
多媒体
Android用Intent启动Activity的方法
最近在做一个东东时,需要启动另外一个Activity,可以有的方法有用setClass()和
ComponentName
(应该还有其他方法,有发现时再更新)。
chen825919148
·
2013-04-23 15:00
android 如何调用(打开)其他程序
Intent intent = new Intent(); intent.setComponent(new
ComponentName
("所要打开的程序包名", "所要打开的程序包名+主运行类名"))
MYBOYER
·
2013-04-13 23:00
Android开发
Android基础学习
Android 绑定远程Service(此Service开启在另外一个进程中)
package com.example.remoteservicebind; import android.app.Activity; import android.content.
ComponentName
sinmo
·
2013-04-11 15:36
android
Android 绑定远程Service(此Service开启在另外一个进程中)
MainActivity):package com.example.remoteservicebind; import android.app.Activity; import android.content.
ComponentName
sinmo
·
2013-04-11 15:36
Android
android开发
Activity绑定本地Service
服务客户端(Activity): import android.app.Activity; import android.content.
ComponentName
; import
sinmo
·
2013-04-10 17:02
android
启动apk的常用方法(包括只知道包名的启动方法)
方法一:最直接的就是知道apk的包名和启动类名,直接启动1IntentmIntent= new Intent();2ComponentNamecomp= new
ComponentName
("包名",
leilu2008
·
2013-04-09 14:00
Joomla 3.x_component如何打包安装和卸载
component包内与安装卸载相关的文件就只有两个,script.php和
componentname
.xml。
fightingbull
·
2013-04-04 22:00
PHP
joomla
extension
component
【Android开发学习20】多个Activity间的交互之Intent
一、基础知识:1.一个Intent对象包含了一组信息:1.
Componentname
指定启动的Activity2.Action 要做什么3.Data 传送数据4.Category5.Extras 键值对
ypist
·
2013-03-13 11:00
android
Activity
intent
startactivity
setClass
SlidingDrawer开发简易Launcher
importjava.util.Collections; importjava.util.List; importandroid.app.Activity; importandroid.content.
ComponentName
nexttake
·
2013-03-12 23:00
Android 中使用
ComponentName
类
setClass()还可以使用ComponentNameJava代码packagecom.huawei; importandroid.app.Activity; importandroid.content.
ComponentName
linuxcjh
·
2013-03-07 10:00
Android
ComponentName
的用法
ComponentName
(组件名称)是用来打开其他应用程序中的Activity或服务的。
jaycee110905
·
2013-03-06 16:00
Android开发
ComponentName
android 获得当前活动的Acticity
ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
ComponentName
zhaweijin
·
2013-02-25 15:00
android
android setComponentEnabledSetting
publicabstractvoid setComponentEnabledSetting (
ComponentName
componentName
,intnewState,intflags)这个函数的英文注释是
广阔
·
2013-02-13 11:00
SharedPreferences保存数据
importjava.io.IOException;importandroid.app.Activity;importandroid.app.AlertDialog;importandroid.content.
ComponentName
haiyang08101
·
2013-01-24 15:00
Android 创建快捷方式
先看效果图『创建-创建效果-删除-删除效果』: 添加删除快捷方式:importandroid.app.Activity; importandroid.content.
ComponentName
; importandroid.content.Intent
wangleyiang
·
2013-01-15 11:00
android
shortcut
快捷方式
Android 打开系统设置
常常需要打开系统设置或信息界面,来设置相关系统项或查看系统的相关信息,这时我们就可以使用以下语句来实现:(如打开“无线和网络设置”界面) Intent intent = new Intent();
ComponentName
张玉龙
·
2013-01-15 11:00
android
Android 打开系统设置
常常需要打开系统设置或信息界面,来设置相关系统项或查看系统的相关信息,这时我们就可以使用以下语句来实现:(如打开“无线和网络设置”界面) Intent intent = new Intent();
ComponentName
张玉龙
·
2013-01-15 11:00
android
android代码中打开系统设置界面 .
来设置相关系统项或查看系统的相关信息,这时我们就可以使用以下语句来实现:(如打开“无线和网络设置”界面) Intent intent = new Intent("/");
ComponentName
luke_feng
·
2012-12-21 10:00
android
网络设置
系统设置界面
自定义对话框组件
importjava.util.ArrayList; importjava.util.List; importandroid.app.Dialog; importandroid.content.
ComponentName
badboy1110
·
2012-12-14 16:00
android 打开另外一个apk并且传值过去
设置要启动应用程序的包名 与 要启动的Activity
ComponentName
apk2Component = new
ComponentName
("com.houzhenyu.apk2&
iaiai
·
2012-12-10 14:00
android
获取屏幕上正在显示的activity
ActivityManager am = (ActivityManager) context.getSystemService(Activity.ACTIVITY_SERVICE);
ComponentName
sunlips
·
2012-12-08 17:00
Activity
Android一键锁屏开发全过程…
smallsmile.iteye.com/blog/1374823 1、主程序代码:Java代码 private DevicePolicyManager policyManager; private
ComponentName
FE421504975
·
2012-12-08 11:00
android 绑定 service
如果要想进行绑定的话,需要一个ServiceConnection接口,接口定义了2个方法, onServiceConnected(
ComponentName
,IBinder) 当与一个Service建立连接的时候调用
staroflife
·
2012-11-29 10:00
android
使用Intent 和IntentFilter进行通信
ComponentName
comp = new
ComponentName
(ComponentAttr.this , SecondActivity.class);
zhangfy068
·
2012-11-20 23:00
filter
Android学习笔记 - Intent篇
Intent的主要作用负责从一个Actvity传递数据到另一个Activity或其它对象传递的对象不一定要是程序自身的Activity,可以是系统的,或其它程序的,或服务等2.一个Intent对象包含的一组信息
Componentname
zhimibuhui188
·
2012-11-20 10:00
Intent打开系统设置界面(action列表)
来设置相关系统项或查看系统的相关信息,这时我们就可以 使用以下语句来实现:(如打开“无线和网络设置”界面) Intent intent = new Intent("/");
ComponentName
龙哥IT
·
2012-11-15 14:00
intent
查询应用使用次数
//比较两个应用程序的启动次数和运行时间 public final int compare(ApplicationInfo a, ApplicationInfo b) {
ComponentName
yzyspy
·
2012-11-13 22:00
查询
Android:在一个应用中启动另外一个已安装的应用
com.metek.perpetualcalendar","com.metek.perpetualcalendar.PerpetualCalendarActivity")); startActivity(intent);对于
ComponentName
gg137608987
·
2012-11-13 15:00
android 如何定制Google launcher的主菜单图标
Launcher2下的文件ApplicationInfo.java中,修改publicApplicationInfo(ResolveInfoinfo,IconCacheiconCache){this.
componentName
sergeycao
·
2012-11-08 09:00
android隐藏图标
activity可以使用PackageManager.setComponentEnabledSetting这个方法PackageManager.setComponentEnabledSetting函数可以把某个
ComponentName
广阔
·
2012-11-06 16:00
android开发中遇到的那些乱七八糟的方法、类
1.
ComponentName
此类主要是获取是包名Activity名,以及提转到此Activity使用 ntent.setComponent(componetName); startActivity
zhixun2012
·
2012-11-06 10:00
Intent 和 IntentFilter
2、Intent的Componet属性(1)//创建一个
ComponentName
对象ComponentNamecomp=newComponentName(ComponentAttr.this,SecondActivity.class
lizhongyisailang
·
2012-11-04 14:00
android打开系统设置或信息界面
来设置相关系统项或查看系统的相关信息,这时我们就可以使用以下语句来实现:(如打开“无线和网络设置”界面) Intent intent = new Intent("/");
ComponentName
44289533
·
2012-11-01 12:00
android
Activity和Intent
1.多个Activity之间的关系2.Intent的基本作用 一个Intent对象包含了一组信息 ①
Componentname
②Action ③Data ④Category ⑤Extras ⑥Flags3
yuzhongchun
·
2012-10-22 16:00
action
DevicePolicyManagert设备管理员
mainAcitvity.javapackaget.t; importandroid.app.Activity; importandroid.app.admin.DevicePolicyManager; importandroid.content.
ComponentName
q445697127
·
2012-09-28 11:00
android
service
Class
encoding
打开另一个包中的Activity
ComponentName
componentName
=new
ComponentName
("xx.yy.zz","xx.yy.zz.xxActivity"
sunlips
·
2012-09-27 23:00
Activity
上一页
6
7
8
9
10
11
12
13
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他