Intent最常见的用途是绑定应用程序组件,并在应用程序...
分类:
其他好文 时间:
2014-06-11 07:07:18
阅读次数:
274
格式:
父标签:
描述:
添加分类名称到Intent过滤器。
参数:
android:name
分类的名称。标准的分类在Intent类的API中又描述,像“CATEGORY_*”常量。指定的时候需要加"android.intent.category."前缀。比如常量值为CATEGORY_LAUNCHER的应该是 "android.intent.categ...
分类:
移动开发 时间:
2014-06-11 00:45:40
阅读次数:
206
select DISTINCT msi.segment1成品编码
,msi.description 成品描述 ,msi.item_type 物料类型,msi.inventory_item_status_code 状态
,msi.build_in_wip_flag 允许制造from INV.MTL_S...
分类:
数据库 时间:
2014-06-10 13:22:08
阅读次数:
320
Activity作为Android系统中四大基本组件之一,包含大量的与其他的各大组件、intent、widget以及系统各项服务等之间的交互的函数。在此,本文主要选取实际项目开发中常用的,但完全理解又需要有一定深入了解的几个函数进行讲解,后续本文会根据需要不断更新。1.
startActivityF...
分类:
移动开发 时间:
2014-06-10 00:56:00
阅读次数:
418
看了一天秘密糊糊#include #include #include #define N
900001struct node{ int u,v,w;}q[100001];int dis[10001];int n,m,w1,count=0;int
B(){ int flag=0; for(int i=...
分类:
其他好文 时间:
2014-06-10 00:52:03
阅读次数:
315
同是递归简单题public class Solution { public boolean
isSameTree(TreeNode p, TreeNode q) { boolean flag = true; if(p == null
&& q == null) ...
分类:
其他好文 时间:
2014-06-09 13:46:23
阅读次数:
275
#include #include #include #include
"ringbuffer.h"static int b_flag = 0;pthread_mutex_t mutex =
PTHREAD_MUTEX_INITIALIZER;#define TX_LOCK(lock) pthr.....
分类:
系统相关 时间:
2014-06-08 20:45:34
阅读次数:
452
同上文一样,本文主要引用自网上现有博文,并加上一些自己的理解,在此感谢原作者。原文地址:http://blog.csdn.net/liuhe688/article/details/6761337-----------------------------------------------------...
分类:
移动开发 时间:
2014-06-08 18:43:16
阅读次数:
332
今天挑出一节专门来说一下使用intent和intentfilter进行通信。
场景:一个Activity启动另一个Activity。
前面已经讲了Fragment的切换,Fragment顾名思义是基于碎片切换的,假如我们要切换屏幕,或者是service组件等等,这就要用到Intent。
此外还想说明一下,Intent还具有很好的设计思想在里面的。它将各种“启动意图”封装成一个一致编程模型,利...
分类:
移动开发 时间:
2014-06-08 10:41:07
阅读次数:
358
Intent intent = getIntent();
String contentUri = null;
Uri uri =null;
if (intent.getData() != null) {
uri = intent.getData();
contentUri = "file".e...
分类:
移动开发 时间:
2014-06-08 04:37:56
阅读次数:
425