本代码实现DLL的动态加载, 类似PS里的滤镜插件!1. 建立一个接口项目类库,此处名称为:Test.IPluginusing System;namespace Test.IPlugin{ public interface IPlugin { void Run(object...
本来用的ZBar开源库实现的扫描二维码,但是貌似不支持arm64了,也没有在更新。
现在不用适配ios7以下,而iOS新增系统API已支持扫码,参考老外的一篇博客做了个demo,需要的可以参考下
参考博客:http://www.appcoda.com/qr-code-ios-programming-tutorial/
#import
@interface QRCodeReadCon...
分类:
移动开发 时间:
2014-11-06 17:30:19
阅读次数:
175
unit untCRCMD5;interface{ 获取文件CRC校验码 }function GetFileCRC(const iFileName: string): String;{ 获取字符串CRC校验码 }function GetStringCRC(const Str: string): Ca...
分类:
其他好文 时间:
2014-11-06 16:40:13
阅读次数:
132
public interface BaseColumns ?{ ??public static final String _ID = "_id"; ??public static final String _COUNT = "_count"; ?} ? protected interface ContactsColumns ? { ??????? public...
分类:
移动开发 时间:
2014-11-06 11:09:10
阅读次数:
267
1,在yast2中安裝fctix即可。2,設置:启动fctix,在左下角的开始那里可以搜索fctix,搜到后,先运行fctix。运行后,在任务栏中会出现一个键盘图标,右击->config,在selectinputmethon中选中要添加的五笔及拼音,并添加。3,su,输入root密码4,qtconfig,在interface选项卡中..
分类:
其他好文 时间:
2014-11-06 02:08:17
阅读次数:
188
Erlang节点之间的通讯,主要用于两个Erlang节点之间的通讯,但Erlang还支持与java构建的节点通讯,甚至与c构建的节点通讯,前面两种方式在我以前的文章都有讲到,所以这里讲Erlang与c构建的节点通讯。Cnode与erl_interface想用C构建一个erlang节点,要利用Erla...
分类:
其他好文 时间:
2014-11-06 01:56:18
阅读次数:
255
一直对动态代理很陌生,总以为是很高深的东西,就像java的反射一样,然而真正去实现之后,也就那么回事,怕自己遗忘,故整理一下思绪,记录在此。package com.zhj;public interface Cat {// 建立Cat接口,之前我好奇,把接口换成抽象类后,取代理对象的时候//...
分类:
编程语言 时间:
2014-11-05 22:52:20
阅读次数:
279
1. ActionBar First added in Android 3.0(API level 11) 2. Working the Action Bar 2.1 Removing the action barActionBar actionBar = getSupportActionBa...
分类:
其他好文 时间:
2014-11-05 22:47:02
阅读次数:
280
知识回顾在第5讲中已经介绍了如何定义类和创建并初始化对象,比如有Student这个类1.Student.h1 #import 2 3 @interface Student : NSObject {4 int _age;5 }6 - (void)setAge:(int)age;7 - (int...
分类:
其他好文 时间:
2014-11-05 22:43:36
阅读次数:
206
********8086*******
16位机 20根地址线寻址1MB内存(20的20次) 2的16次I/O端口
CPU内部结构
8086:BIU(Bus Interface Unit)总线接口单元
EU (Execution Unit)执行单元
8088:外部8位 只有4字节指令缓冲器
工作原理:
1.BIU从内部寄存器中取地址:如CS:IP的地址为CS*16+...
分类:
其他好文 时间:
2014-11-05 19:46:50
阅读次数:
219