自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 C++ 访问java

如果大家对java 的反射机制有一定的理解。那这个应该不难。要访问类的数据成员。需依如下步骤进行。1。 获取类的信息。2。 获取数据成员的ID。3。 用setTypeField设置属性植。举例说明:Cls 获取类信息。 可以通过 Env->GetObjectClass();Env->findClass()  获取。此时相当与 java里的 getClass() forName  .cl...

2010-12-29 11:24:07 86

原创 JNIEnv*的常用函数详解

所有的JNI调用都使用了JNIEnv*类型的指针,习惯上在CPP文件中将这个变量定义为evn,它是任意一个本地方法的第一个参数。env指针指向一个函数指针表,在VC中可以直接用"->"操作符访问其中的函数。     jobject 指向在此 Java 代码中实例化的 Java 对象 LocalFunction的一个句柄,相当于this指针。后续的参数就是本地调用中有Java程序传进的参数...

2010-12-29 11:16:18 212

原创 jira 4.2 安装手册

一、安装 1.Linux & MySql & JDK安装步骤省略,我使用的是Debian5 + MySql5 + JDK62.下载JIRA4.2,下载地址:http://www.atlassian.com/software/jira/JIRADownloadCenter.jspa注意:选择4.2 standalone版本3.将下载得到的atlassian-jir...

2010-12-29 11:05:15 163

原创 The Choice of Word 选词

The Choice of Word   One day, John was back home after work. He found that his wife was shaking their daughter who was only half a year old. She said "Da-Dy" to the baby many times. John felt very h...

2010-12-29 10:32:38 176

原创 JNI HelloWorld

一.简介  JNI是Java Native Interface的缩写 二.通过实例介绍 JNI的书写步骤(本实例实现java传入两个整型参数给c,c返回相加结果给java) 1 编写带有native声明的方法的java类 2   使用javac命令编译所编写的java类 package com.liurunfeng.helloworld.jni;public class H...

2010-12-28 17:52:06 98

原创 vi使用手册

一、Unix编辑器概述 编辑器是使用计算机的重要工具之一,在各种操作系统中,编辑器都是必不可少的部件。Unix及其相似的ix操作系统系列中,为方便各种用户在各个不同的环境中使用,提供了一系列的ex编辑器,包括 ex, edit,ed 和vi.其中ex,edit,ed都是行编辑器,现在已很少有人使用,Unix提供他们的原因是考虑到满足各种用户特别是某些终端用户的需要。 值得庆幸的是,Unix提供了全...

2010-12-28 15:00:48 84

原创 poi使用

package helloworld;import java.io.FileOutputStream;import org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.usermodel.HSSFCellStyle;import org.apache.poi.hssf.usermodel.HSSFFon...

2010-12-28 14:57:10 89

原创 frame实现整体刷新

//((HttpServletResponse) response).sendRedirect("/apptest/index.do"); 框架内部刷新((HttpServletResponse) response).getWriter().println("top.location.href='/apptest/index.do'"); 框架整体刷新 return;...

2010-12-28 14:53:30 270

原创 Hibernate源码中几个包的作用简要介绍

net.sf.hibernate.*     该包的类基本上都是接口类和异常类     net.sf.hibernate.cache.*     JCS的实现类     net.sf.hibernate.cfg.*     配置文件读取类     net.sf.hibernate.collection.*     Hibernate集合...

2010-12-28 14:49:35 109

原创 Hql语句注意事项总结

1.在Hql中使用group by的问题 (1)使用统计函数作为输出结果 select sum(total),sum(totalup) from AD where aid=? and fid=? and vdatetime>=? and vdatetime? and min(m_date)

2010-12-28 14:41:53 96

原创 Android OpenGL ES 基础篇

1、 OpenGL  ES 简介       Android 3D 引擎采用的是OpenGL ES。OpenGL ES是一套为手持和嵌入式系统设计的3D引擎API,由Khronos公司维护。在PC领域,一直有两种标准的3D API进行竞争,OpenGL 和 DirectX。一般主流的游戏和显卡都支持这两种渲染方式,DirectX在Windows平台上有很大的优势,但是 OpenGL 具有更...

2010-12-28 13:54:02 85

原创 Senior Class 年长者阶层

Senior Class 年长者阶层Senior Class  During the doctor's periodic visit to my elderly mother, I told him that Mother would be celebrating her 98th birthday in few days. Delighted by the news, he bent down ...

2010-12-28 10:39:57 194

原创 广播接收者 -- BroadcastReceiver

广播接收者 -- BroadcastReceiver 1. 概述        广播被分为两种不同的类型:“普通广播(Normal broadcasts)”和“有序广播(Ordered broadcasts)”。        普通广播是完全异步的,可以在同一时刻(逻辑上)被所有接收者接收到,消息传递的效率比较高,        但缺点是:接收者不能将处理结果传递给下一个接收者,并且无法终...

2010-12-27 15:47:43 108

原创 Android中Broadcast的Intent大全

Api Level 3:(SDK 1.5)android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGEDandroid.bluetooth.intent.action.BLUETOOTH_STATE_CHANGEDandroid.bluetooth.intent.action.BOND_STATE_CHANGED_ACTIONandroid.bl...

2010-12-27 15:22:04 85

原创 Android permission 访问权限大全

程序执行需要读取到安全敏感项必需在androidmanifest.xml中声明相关权限请求, 完整列表如下:android.permission.ACCESS_CHECKIN_PROPERTIES允许读写访问”properties”表在checkin数据库中,改值可以修改上传( Allows read/write access to the “properties” table in the ...

2010-12-27 15:05:09 73

原创 Excellent Skills 绝妙的技巧

Excellent Skills   After friends of mine landed at busy Newwark Airport, they were unable to attract the attention of any porters to help with their luggage. In desperation, the husband took out a f...

2010-12-27 10:40:53 149

原创 Notification基础应用

package com.tf.android.test;import android.app.Activity;import android.app.Notification;import android.app.NotificationManager;import android.app.PendingIntent;import android.os.Bundle;i...

2010-12-27 10:16:12 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除