码迷,mamicode.com
首页 >  
搜索关键字:uri    ( 7732个结果
php函数应用场景
截取文件后缀: $slen = strlen($suffix); substr($this->uri_string, -$slen) === $suffix 原理:截取倒数多少长度字符 判断多维数组变量是否存在: isset($this->config[$index], $this->config[...
分类:Web程序   时间:2015-01-24 22:49:10    阅读次数:253
android 打电话代码
1.意图代码 String tel = "13800000000"; Intent intent = new Intent(); intent.setAction("android.intent.action.CALL"); intent.addCategory("android.intent.category.DEFAULT"); intent.setData(Uri.pars...
分类:移动开发   时间:2015-01-24 21:27:14    阅读次数:508
Android URI简单介绍
就Android平台而言,URI主要分三个部分:scheme, authority and path。当中authority又分为host和port。格式例如以下:scheme://host:port/path举个实际的样例:content://com.example.project:200/fol...
分类:移动开发   时间:2015-01-24 21:17:42    阅读次数:153
php函数应用场景
截取文件后缀:$slen = strlen($suffix);substr($this->uri_string, -$slen) === $suffix原理:截取倒数多少长度字符判断多维数组变量是否存在:isset($this->config[$index], $this->config[$inde...
分类:Web程序   时间:2015-01-24 15:48:11    阅读次数:139
隐式Intent的应用
package com.example.yinshiintent; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnCl...
分类:其他好文   时间:2015-01-23 23:03:46    阅读次数:250
QUARTZ CRON表达式
每次使用Quartz Cron的时候都要去查manual document;(URI:http://quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger)对于第四个day of month 和 第六个 day of w...
分类:其他好文   时间:2015-01-23 11:08:35    阅读次数:180
Android 实时文件夹
实时文件夹是一种用来显示由某个ContentProvider提供的数据信息的桌面组件。要创建一个实时文件夹,必须要有两个方面的支持。1,要定义一个用来创建实时文件夹的Activity。2,所指定数据信息URI的ContentProvider必须支持实时文件夹时文件夹查询一、定义创建实时文件夹的Act...
分类:移动开发   时间:2015-01-22 17:34:28    阅读次数:158
Bitmap与uri的相互转换
1、bitmap to uriUri uri = Uri.parse(MediaStore.Images.Media.insertImage(getContentResolver(), bitmap, null,null));2、uri to bitmapBitmap bitmap = Medi.....
分类:其他好文   时间:2015-01-22 14:46:05    阅读次数:1779
ContentProvider详细用法记录和总结
Android中的Content provider机制可支持在多个应用中存储和读取数据。这也是跨应用共享数据的方式之一,还有文件,sharePreference,SQLite数据库等方式存储共享数据库,(还有网络数据的存储) 但是ContentProvider更好的提供了数据共享接口的统一性。 在android系统中,没有一个公共的内存区域,供多个应用共享存储数据。 Android提供了一些...
分类:其他好文   时间:2015-01-22 09:33:44    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!