摘要:
pendingIntent是一种特殊的Intent。主要的区别在于Intent的执行立刻的,而pendingIntent的执行不是立刻的。pendingIntent执行的操作实质上是参数传进来的Intent的操作,但是使用pendingIntent的目的在于它所包含的Intent的操作的执行是需要满... 阅读全文
posted @ 2015-11-26 16:35
yangan
阅读(3108)
评论(0)
推荐(0)
摘要:
A PendingIntent itself is simply a reference to a token maintained by the system describing the original data used to retrieve it. This means that, ev... 阅读全文
posted @ 2015-11-26 16:10
yangan
阅读(487)
评论(0)
推荐(0)
摘要:
目录(?)[-]public static PendingIntent getActivity Context context int requestCode Intent intent int flagsParametersReturnspublic void sendNotification(C... 阅读全文
posted @ 2015-11-26 15:32
yangan
阅读(279)
评论(0)
推荐(0)
摘要:
常用Action说明:String ADD_SHORTCUT_ACTION 动作:在系统中添加一个快捷方式。. “android.intent.action.ADD_SHORTCUT”String ALL_APPS_ACTION 动作:列举所有可用的应用。 输入:无。 “android.intent... 阅读全文
posted @ 2015-11-26 11:25
yangan
阅读(1109)
评论(0)
推荐(0)
摘要:
1 Intent.ACTION_MAINString: android.intent.action.MAIN标识Activity为一个程序的开始。比较常用。Input:nothingOutput:nothing 2 Intent.Action_CALLStirng: android.inten... 阅读全文
posted @ 2015-11-26 11:20
yangan
阅读(514)
评论(0)
推荐(0)
摘要:
首先声明只有在Linearlayout中,该属性才有效。之所以android:layout_weight会引起争议,是因为在设置该属性的同时,设置android:layout_width为wrap_content和match_parent会造成两种截然相反的效果。如下所示:[html] view p... 阅读全文
posted @ 2015-11-26 09:46
yangan
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号