- 博客(70)
- 资源 (2)
- 收藏
- 关注
原创 使用backtrace调试
使用backtrace调试void dump(int signo){printf("\n ***** start dump *****\n");void*array[30];size_t size;char**strings;size_t i;size = backtrace (array,30);strings = backtrace_
2013-03-13 13:24:12 1137
原创 phonemefeature中功能模块及 KNI 的编写方法
phonemefeature中功能模块及 KNI 的编写方法1 目录结构... PAGEREF _Toc325476518 \h12 如何添加一个subsystem.. PAGEREF _Toc325476519 \h 23 如何编译到KVM中去... PAGEREF _Toc325476520 \h 54 如何编写KNI代码... PAGEREF _Toc325476
2013-03-13 13:09:33 1839
原创 使用FreeType绘制字体
不带缓存的FreeType使用 1、 初始化库 FT_Init_FreeType( FT_Library *alibrary ); 2、 通过创建一个新的 face 对象来打开一个字体文件 FT_New_Face( FT_Library library, const char* filepathname,
2013-03-13 12:55:07 13953
原创 phoneME Feature 实现代码目录描述
phoneME Feature 实现代码目录描述一级目录二级目录三级目录描述javacall\\基于目标平台的实现,实现必须移植的函数集pcsl\\提供底层服务,供CLDC、MIDP和其他可选包调用p
2013-03-13 11:51:06 1057
原创 KVM中的MVM 和 SVM
KVM中的MVM 和 SVMMVM:在phoneMEFeature中是Master-modeVirtual Machine,“主模式虚拟机”。也可理解为Multi-taskingVirtual Machine,即多任务虚拟机。SVM:Slave-modeVirtual Machine,从模式虚拟机。传统的Java虚拟机运行在单任务模式下,每一个运行的Java应用程序
2013-03-13 11:48:32 2106
原创 phonemefeature mr4 虚拟机 MVM模式 启动主流程
phonemefeature mr4 虚拟机 MVM模式 启动主流程为了使虚拟机运行正常,需要对传入的参数做一定的处理,函数runMidlet()主要完成该功能。从该函数的内部实现中得知,runMidlet程序所带的参数个数必须在2个和5个之间(包括2和5),如果传入的参数个数不符合,如传1个或6个,那么函数直接返回,虚拟机将不能启动。另外,传入的argv[0]~arg
2013-03-13 11:14:40 1158
原创 phonemefeature mr4 编译
所需资源:1、j2sdk-1_4_2_12-linux-i586.bin,不推荐使用jdk1.5及以上版本2、gcc version 4.3.3交叉编译工具链3、phoneme_feature-mr4-rel-src-b01-20_apr_2009 源代码4、gcc version 4.1.2 20080704 (Red Hat 4.1.2-48),gcc编译器,推荐该版本。
2013-03-13 11:07:57 929
原创 KNI接口 "KNI_GetFieldID" 调用失败问题的解决
KNI接口 "KNI_GetFieldID" 调用失败问题的解决 每次调用KNI_GetFieldID总是返回0,也就是在函数_KNI_field_lookup_helper()中执行到如下代码片段: if (!field.is_valid() || (field.is_static() != is_static) || // We do not support
2012-12-07 13:51:56 974
原创 midp事件的存储和获取
//midp事件的存储和获取// 类似消费者// 获取MIDP事件,保存在pResult中;返回未处理的MIDP事件个数static intgetPendingMIDPEvent(MidpEvent* pResult, int isolateId) { // 获取Isolate对应的等待事件队列 // 在MVM模式下,每个Isolate有1个等待
2012-12-07 13:42:17 546
原创 更新内核后虚拟机不能启动
<br />further@ubuntu:~$ sudo /etc/init.d/v<br />vboxdrv vmware <br />further@ubuntu:~$ sudo /etc/init.d/vboxdrv setup<br />[sudo] password for further: <br /> * Stopping VirtualBox kernel module * don
2010-10-22 10:05:00 1049
原创 uboot-2010.03移植到2410(从nand启动)
<br /><!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;}
2010-07-06 20:31:00 3307 2
原创 boa-0.94.13 移植到 ARM
<br /><!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;}
2010-06-29 16:21:00 2047 2
原创 ARM平台mtd-utils-1.3.1工具制作
<br /><!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;}
2010-06-29 16:18:00 2792
原创 SQLite3 数据库基本操作
<br />SQLite3 Database manipulate<br /> <br /><!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-fo
2010-06-24 10:33:00 1052
原创 U-boot命令(部分)
U-boot命令(部分) FS2410 # md #显示内存区内容Usage:md - memory display FS2410 # md 0x4000000040000000: ea000012 e59ff014 e59ff014 e59ff014 ................40000010: e59ff014 e59ff014
2010-05-20 18:19:00 791
原创 Ubuntu9.10制作ARM交叉编译器
Ubuntu9.10制作ARM交叉编译器 本环境内核版本:Linux ubuntu910 2.6.31-21-generic #59-Ubuntu SMP i686 GNU/Linux 准备软件包如下:bison_13a2.3.dfsg-4build1_i386.debbuild-essential_11.4_i386.debflex_2.5.33-10build1_
2010-05-19 20:21:00 2290
原创 QT读写Sqlite数据库
QT读写Sqlite数据库 //.h /******************************************************************************** Date : 2010-05-08** Author : furtherchan** If you have any questions , please cont
2010-05-11 19:40:00 2550 2
原创 QT中TCP/UDP通信数据的组织
QT中TCP/UDP通信数据的组织 //组装数据包 QString msgType = "MSG_CLIENT_NEW_CONN"; QByteArray block; QDataStream out(&block, QIODevice::WriteOnly); out.setVersion(QDataStream::Qt_4_6); QString xxx
2010-05-11 19:37:00 1902
原创 QT4.6.2 学习问题摘录
QT4.6.2 学习问题摘录1. QT重写窗口关闭事件xxx.hprotected: void closeEvent(QCloseEvent *e);xxx.cppvoid chatForm::closeEvent(QCloseEvent *e){ //关闭资源,更新数据库信息等 this->close();}2. liunx下qt create中编辑代码
2010-05-11 19:22:00 1596
翻译 深入信号与插槽
深入信号与插槽Signals and Slots in Depth—《Prentice Hall PTR. C++ GUI Programming with Qt 4.Jun.2006》选自Chapter 2 信号与插槽是QT编程的基础。它使得程序编写者不需要了解对象之间的任何关系来帮定对象。我们已经把一些信号和插槽连接在一起了,并声明了我们自己的信号与插槽,实现了我们自己
2010-05-04 08:45:00 1255
原创 Flaming May
Flaming May I sat down alone in the bus , Through the window I could feel the new start of season . The sun shine vitalized everything , And also warmed my heart . The sky all f
2010-05-04 08:40:00 899
翻译 源代码管理工具GIT之使用
源代码管理工具GIT之使用见Kernel Hackers Guide to git (http://linux.yyz.us/git-howto.html)准备开始安装 git可以从以下网址下载最新稳定版本:http://www.kernel.org/pub/software/scm/git/ 下载Linux内核树$ git clone /git://git.ker
2010-04-27 20:52:00 4910
原创 消除宏的副作用
#include /* * About: Demo of macro side effective and how to resolve it * Author : FurtherChan * Date: Sat Apr 24,2010 */#define MIN_A(x, y) ((x) #define MIN_B(type, x, y) ({type _x = (x); type
2010-04-26 08:57:00 800
原创 用惯了VisualStudio的goto definition, 今天才知道有ctags这玩意儿,挺好用的!
1. run: /usr/include/ctags -R 2. edit in your home directory, add : set tags=/usr/include/tags 3. usage, find: when cursor in a word, press : ctrl + ] return: ctrl + t
2010-04-20 19:32:00 1736
原创 I'm here
Ive been absent from Hangzhou for a few weeks. Except for the terrible train, everything went well. Yet the weather which has actually been too bad. Since the day I arrived at Beijing, I got tw
2010-04-20 19:26:00 630
原创 统计字符串中数字并以整数存到数组中
#includeintmain( int argc, char *argv[] ){ char str[] = "a123x456 17960?302tab5876"; int a[20] = {}; char *p; int i=0; p = str; while( *p ) { if(*p = 0 ) { while(*p = 0 ) { a[i] = a[i]
2010-03-25 19:53:00 806
原创 动态刷新终端窗口
#!/bin/sh#author:furtherchan#set -xdraw(){tput clearP=`pwd`#L=`tput lines`#C=`tput cols`STRING_A=top-leftSTRING_B=top-rightSTRING_C=bottom-leftSTRING_D=bottom-rightLEN_P=`expr length $P /
2010-03-25 19:48:00 948
原创 GCC编译流程
furtherchan@ubuntu910:~$ lsaaa.c Desktop examples.desktop Music Templates workspaceaaa.h Documents macrotest Pictures test.c 文档apue_src.tar.g
2010-03-22 19:40:00 587
原创 Ubuntu910虚拟机配置DHCP
vim /etc/network/interfaces #auto lo#iface lo inet loopback auto eth0iface eth0 inet dhcp vim /etc/udev/rules.d/70-persistent-net.rules # PCI device 0x1022:0x2000 (pcnet32)SUB
2010-03-22 19:26:00 1061
原创 ubuntu使用cdrom作为软件源
furtherchan@furtherchan:/boot$ sudo apt-cdrom addUsing CD-ROM mount point /cdrom/Unmounting CD-ROMWaiting for disc...Please insert a Disc in the drive and press enter Mounting CD-ROM...E: Failed to mo
2010-03-18 20:44:00 4624
原创 数据类型取值范围
[further@fedora12 linux]$ pwd/usr/include/linux[further@fedora12 linux]$ ls l*s.hlimits.h[further@fedora12 linux]$ cat limits.h#ifndef _LINUX_LIMITS_H#define _LINUX_LIMITS_H #define NR
2010-03-18 12:48:00 635
原创 指针与二维数组
#includeint main(){ int array[3][4] ={ {7,10,-2,3}, {14,30,6,-15}, {0,5,27,-7}}; int (*p)[4] = &array[0]; int i,j,sum=0; for(i = 0; i { for(j = 0; j { sum = sum + *(*(p+i)+j); //sum = sum
2010-03-17 19:34:00 463
原创 Ubuntu9.10内核编译安装
Ubuntu.9.10内核编译安装 furtherchan@furtherchan:~$ sudo apt-get install build-essential kernel-packageReading package lists... DoneBuilding dependency tree Reading state information... Done
2010-03-05 15:58:00 1504
原创 In memory of my first job
In memory of my first job After my fruitful college life, I joined MediInfo Corporation as an software Tester in the QA Department, take part in HIS production testing and release. Later, I mo
2010-03-04 11:04:00 1057 2
原创 Oracle异常关机后启动时遭遇ORA-00600,ORA-00471
查看告警日志文件,发现错误如下: ORA-00449: 后台进程 DBW0 因错误 600 异常终止ORA-00600: 内部错误代码, 参数: [], [], [], [], [], [], [], []ORA-00471: DBWR 进程因错误而终止ORA-12801: 并行查询服务器 P001 中发出错误信号ORA-00600: internal error code, argu
2010-02-23 16:26:00 2873
原创 过完春节,手生了,写个双向非循环链表
//doubleLinkList.c #include #include #include /************************************************************************//* 双向非循环链表 *//
2010-02-23 16:12:00 799
原创 Linux下的OpenGL初试
Linux下的OpenGL初试[further@fedora12 ~]$ yum list mesa*Loaded plugins: presto, refresh-packagekitupdates/metalink | 5.4 kB 00:00 updates
2010-02-06 15:49:00 2124
原创 IMP-00003
"BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG(HIS3BZ,MZ_GUAHAODY); END;"IMP-00003: 遇到 ORACLE 错误 1435ORA-01435: 用户不存在ORA-06512: 在 "SYS.DBMS_ISNAPSHOT", line 108ORA-06512: 在 "SYS.DBMS_SNAPSHOT_
2010-01-29 14:31:00 8886
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人