检测到标签后在Activity中的处理流程
1. 在onCreate()中获取NfcAdapter对象;
NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
2.在onNewIntent()中获取Tag对象或者NdefMessage信息;
获取Tag对象:
Tag tag = intent.getParcelableEx...
分类:
移动开发 时间:
2014-07-22 23:04:33
阅读次数:
476
www.abc.com/tag-xxx.html增加伪静态规则RewriteCond
%{QUERY_STRING} ^(.*)$ RewriteRule ^tag-(.+)\.html$
/home/index/tag/?&tag=$1&%1
分类:
Web程序 时间:
2014-05-06 08:47:50
阅读次数:
279
Vitaly has an array of n distinct integers. Vitaly wants to divide this array into three non-empty sets
so as the following conditions hold:
The product of all numbers in the first set is less ...
分类:
其他好文 时间:
2014-05-03 23:51:19
阅读次数:
621
内容如下:
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
//精灵猫和其他精灵的tag
typedef enum{
catTag =1,
};
//cocostudio 动画帧tag
typedef enum{
catWalkTag = 1001,
};
class Base :public coco...
分类:
其他好文 时间:
2014-05-02 05:08:11
阅读次数:
319
Expression LanguageEL基本语法${...
}EL的运算符EL隐含对象(11个)JavaServer Pages Standard Tag
Library(包含核心标签库[前缀c]、格式标签库[fmt]、SQL标签库[sql]、XML标签库[xml]、函数标签库[fn])
分类:
Web程序 时间:
2014-05-01 18:43:15
阅读次数:
383
什么是 HTML?HTML 是用来描述网页的一种语言。HTML 指的是超文本标记语言 (Hyper
Text Markup Language)HTML 不是一种编程语言,而是一种标记语言 (markup language)标记语言是一套标记标签 (markup
tag)HTML 使用标记标签来描述网...
分类:
Web程序 时间:
2014-05-01 09:24:13
阅读次数:
356
jackyhwei 发布于 2010-01-01
12:02点击:3218次来自:CSDN.NET一些非常有用的图像格式转换及使用的源代码,包括RGB图像数据字符叠加,图像压缩(ijl库),YUV转RGB等等。TAG:YUVYUV转RGBRGBBMP转JPG文字叠加/****************...
分类:
其他好文 时间:
2014-05-01 04:55:25
阅读次数:
489
CImage封装了DIB(设备无关位图)的功能,因而可以让我们能够处理每个位图像素。这里介绍GDI+和CImage的一般使用方法和技巧。TAG:GDICImage后处理我们知道,VisualC++的CBitmap类和静态图片控件的功能是比较弱的,它只能显示出在资源中的图标、位图、光标以及图元文件的内...
分类:
其他好文 时间:
2014-05-01 04:42:08
阅读次数:
378
落鹤生 发布于 2011-10-21
09:12点击:344次来自:blog.csdn.net/mengaim_cn几种用GDI画图的方法介绍。TAG:GDI法1:这个方法其实用的是一本经典vc图像处理的书上的有关读取位图的函数库,当没有这个函数库时,就没有太多的实用价值。这种方法直接用的是读取和显...
分类:
其他好文 时间:
2014-05-01 04:33:52
阅读次数:
289
Pat1063代码
题目描述:
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets,
and Nt is the to...
分类:
其他好文 时间:
2014-04-29 13:44:20
阅读次数:
325