码迷,mamicode.com
首页 >  
搜索关键字:separator intent    ( 3884个结果
thinkphp的系统变量
define('EXT', '.php'); define('DS', DIRECTORY_SEPARATOR); defined('THINK_PATH') or define('THINK_PATH', __DIR__ . DS); define('LIB_PATH', THINK_PATH .... ...
分类:Web程序   时间:2019-02-24 23:02:52    阅读次数:318
拨打电话号码
//拨打电话号码已经封装好了并且已经暴露出来了 //Intent 意图 setAction 要去行动 Intent intent= new Intent(); intent.setAction(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:"+... ...
分类:其他好文   时间:2019-02-24 12:18:56    阅读次数:202
mybatis的xml中sql语句中in的写法(迭代遍历)
这里使用 foreach标签 <foreach item="item" collection="listTag" index="index" open="(" separator="," close=")"> #{item} </foreach> foreach元素的属性主要有 item,index ...
分类:数据库   时间:2019-02-22 12:30:26    阅读次数:367
android一个app打开另一个app的指定页面
一个app打开另一个app的指定页面方法 有以下几种 1、通过包名、类名 2、通过intent的 action 3、通过Url 方案1、 方案2、 在目标Activity的配置文件中添加具体的action 方案3、 判断要打开的app是否安装: ...
分类:移动开发   时间:2019-02-20 23:59:03    阅读次数:510
mybatis 中 foreach collection的三种用法
foreach的主要用在构建in条件中,它可以在SQL语句中进行迭代一个集合。 foreach元素的属性主要有 item,index,collection,open,separator,close。 在使用foreach的时候最关键的也是最容易出错的就是collection属性,该属性是必须指定的, ...
分类:其他好文   时间:2019-02-20 17:25:58    阅读次数:171
Linux之特殊的环境变量IFS以及如何删除带有空格的目录
1、IFS是什么? Linux下有一个特殊的环境变量叫做IFS,叫做内部字段分隔符(internal field separator)。IFS环境变量定义了bash shell用户字段分隔符的一系列字符。默认情况下,bash shell会将空格当做字段分隔符。我这里的系统是Centos7系统。 但是 ...
分类:系统相关   时间:2019-02-14 13:49:49    阅读次数:842
数据库锁的几种类型
1、共享锁(Shared lock) T1: select * from table (请想象它需要执行1个小时之久,后面的sql语句请都这么想象) T2: update table set column1='hello' 2、更新锁(Update lock) T1: select * from t ...
分类:数据库   时间:2019-02-12 18:51:16    阅读次数:1047
Android 引导页的代码
布局代码 <! android:background="@drawable/btnselector" 后台代码 import android.app.Activity; import android.content.Intent; import android.os.Bundle; import a ...
分类:移动开发   时间:2019-02-11 23:57:35    阅读次数:262
关于SDK>=26之后静态广播失效问题(Background execution not allowed: receiving Intent)
在 SDK 26,通过令静态注册的广播接收器失效 以限制后台过多应用启动,接受广播等情况。 当运行时,会有以下LOG: Background execution not allowed: receiving Intent 1. 如果是自己编写发送广播,可以通过 以下方式使广播工作 (1) (2) i ...
分类:其他好文   时间:2019-02-08 15:56:20    阅读次数:412
Java 使用ZipOutputStream 进行打包操作
打包单个文件: public static void main(String[] args) throws IOException{ File file = new File("d:" + File.separator + "aaa.java"); File zipFile = new File(" ...
分类:编程语言   时间:2019-02-03 12:35:56    阅读次数:162
3884条   上一页 1 ... 20 21 22 23 24 ... 389 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!