码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
OpenCv皮肤检测-HSV分离
HSV皮肤检测// 进行肤色检测 void SkinDetect(IplImage* src, IplImage* dst){ // 创建图像头 IplImage* hsv = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 3);//用...
分类:其他好文   时间:2015-12-04 20:18:30    阅读次数:251
JDBC-Oracle
例子: 1 publicclassTestJdbc { 2 public static void main(String[] args)throwsException { //程序入口,并抛出异常 3 Class.forName("oracle...
分类:数据库   时间:2015-12-04 18:42:10    阅读次数:184
ios弹性头部
很久没写博客了,见天有点时间来写下,一直觉得弹性头部很炫,看起来高大上,写起来蛮简单的层次分析如上图,一共有3层,最底部是图像层,中间是scrollView或者它的子类,最上层是scrollView上面添加的视图主要代码scrollView的代理方法- (void)scrollViewDidScro...
分类:移动开发   时间:2015-12-04 18:28:11    阅读次数:160
移动端访问网站页面跳转到指定手机页面
#region 手机端跳转到指定手机页地址 /// /// 手机端跳转到指定手机页地址 /// /// 手机页地址 public static void m_goUrl(string url) { //排除手机访问电脑端 if(BTool.getCooki...
分类:移动开发   时间:2015-12-04 18:25:39    阅读次数:274
读取 COM1 端口上接收的所有可用的数据。
using System;using System.IO.Ports;class PortDataReceived{ public static void Main() { SerialPort mySerialPort = new SerialPort("COM1"); ...
分类:其他好文   时间:2015-12-04 17:54:54    阅读次数:106
iOS label根据显示内容自适应大小
1 - (void)setupLabel { 2 //准备工作 3 UILabel *textLabel = [[UILabel alloc] init]; 4 textLabel.font = [UIFont systemFontOfSize:16]; 5 NSS...
分类:移动开发   时间:2015-12-04 17:52:05    阅读次数:153
iOS开发-多线程-线程间通讯
iOS开发多线程篇—线程间的通信一、简单说明线程间通信:在1个进程中,线程往往不是孤立存在的,多个线程之间需要经常进行通信线程间通信的体现1个线程传递数据给另1个线程在1个线程中执行完特定任务后,转到另1个线程继续执行任务线程间通信常用方法-(void)performSelectorOnMainTh...
分类:移动开发   时间:2015-12-04 17:49:18    阅读次数:188
WinForm与WPF下跨线程调用控件
Winform下: public delegate void UpadataTextCallBack(string str,TextBox text); public void UpadtaText(string str, TextBox text) { ...
分类:编程语言   时间:2015-12-04 17:48:11    阅读次数:252
Android 复制文本
安卓中,客户端中提供直接复制相关内容的功能,已经算是比较实用的功能了,Android 也提供了相关的API。 需要说明的是,兼容低版本手机在使用时,注意判断API版本呢,法代码如下:new View.OnClickListener() { @SuppressLint("NewApi") @Override public void...
分类:移动开发   时间:2015-12-04 16:25:40    阅读次数:169
【java】简单的事件总线EventBus
public class EventBus { private static Map eventListeners = new HashMap(); public static void addEventListener(EventListener listener) { ...
分类:编程语言   时间:2015-12-04 14:51:43    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!