码迷,mamicode.com
首页 >  
搜索关键字:implicit intent    ( 3874个结果
转:Selenium的延迟等待
Selenium的延迟等待分为 显式等待(Explicit Wait) & 隐式等待(Implicit Wait).1.显式等待显式等待,就是明确的要等到某个元素的出现或者是某个元素的可点击等条件,等不到,就一直等,除非在规定的时间之内都没找到,那么就跳出Exception.如:1newWebDri...
分类:其他好文   时间:2014-06-19 00:42:32    阅读次数:254
十八、Android引导界面
一、所需素材 很有必要整理一下,里面附带友盟的社会化分享组件,我就不去掉了。二、代码import com.umeng.update.UmengUpdateAgent;import android.app.Activity;import android.content.Intent;import an...
分类:移动开发   时间:2014-06-16 10:52:56    阅读次数:538
1.1.4 Getting Started_Budding Your First App_Starting Another Activity
AnIntentis an object that provides runtime binding between separate components (such as two activities). Theintentrepresents an app’s "intent to do so...
分类:移动开发   时间:2014-06-16 10:00:27    阅读次数:248
[备忘]Notification的实用
Intent resultIntent = null; if (!TextUtils.isEmpty(tid)){ resultIntent = new Intent("com.shijiebang.notify"); resultIntent.putExtra("_notify_url...
分类:其他好文   时间:2014-06-16 00:29:55    阅读次数:297
Android_读书笔记_3
简单的广播与( Intent )接收.在Android中很多很多地方都会使用到广播,操作系统使用广播讲信息传递到其他的应用程序中去,也会产生很多设备状态的广播......唉,算了算了,嘿嘿一.广播Android框架支持的广播有两种类型:普通广播( normal broadcast )和有序广播( o...
分类:移动开发   时间:2014-06-15 23:10:20    阅读次数:320
【Android开发那点破事】消息推送BroadcastReceiver,点击通知打开两次Activity问题
Android开发中,通常会使用BroadcastReceiver来接受Push推送消息。当APP收到推送通知时,我们需要在通知的点击事件中加入自己的逻辑。比如跳转到MainActivity。比如下面的代码(注意红色部分):public void onReceive(Context context, Intent intent) { Bundle bundle = intent.g...
分类:移动开发   时间:2014-06-15 19:54:15    阅读次数:251
android 创建通知栏Notification
///// 第一步:获取NotificationManager NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); ///// 第二步:定义Notification Intent intent = new Intent(this, Oth...
分类:移动开发   时间:2014-06-15 16:16:47    阅读次数:182
Android AlarmManager的取消
取消alarm使用AlarmManager.cancel()函数,传入参数是个PendingIntent实例。该函数会将所有跟这个PendingIntent相同的Alarm全部取消,怎么判断两者是否相同,android使用的是intent.filterEquals(),具体就是判断两个Pending...
分类:移动开发   时间:2014-06-15 12:48:20    阅读次数:392
疯狂Android讲义 - 学习笔记(五)
使用Intent和IntentFilter通信Android应用的资源
分类:移动开发   时间:2014-06-15 07:41:44    阅读次数:202
隐式Intent
隐式Intent可以理解为:不知道要找的那个人的家庭住址,但只要符合给定条件,就可以找到。AndroidManifest.xml中 ...
分类:其他好文   时间:2014-06-15 00:45:56    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!