上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
  2012年8月10日
摘要: 因为工作需要,需要交叉编译iconv,对编译过程做个记录:下载地址:1http://ftp.gnu.org/pub/gnu/libiconv/编译参数:./configureCC=arm-hisiv200-linux-gcc--build=i686-pc-linux--target=arm-linux--host=arm-linuxprefix=/home/jevan/libiconv-1.14/build_dir/--enable-shared--enable-shared--enable-staticmake1make&&makeinstall收工!! 阅读全文
posted @ 2012-08-10 16:46 J.evan 阅读(629) 评论(0) 推荐(0) 编辑
  2012年7月24日
摘要: 环境:rhel6OSCam的配置可以采用GUI配置,是一种基于Dialog的配置界面,需要安装dialog支持包:[root@localhost Packages]# rpm -ivh dialog-1.1-9.20080819.1.el6.i686.rpm OSCam采用CMake配置,安装CMake[root@localhost Packages]# rpm -ivh cmake-2.6.4-5.el6.i686.rpm 开始配置:1、配置你的交加工具链:[root@localhost OSCam]# export PATH=/home/root/arm-none-linux-gnu/bi 阅读全文
posted @ 2012-07-24 15:12 J.evan 阅读(1224) 评论(0) 推荐(0) 编辑
  2012年7月19日
摘要: 相关关网站www.tvroes.cnoscam bbs:http://www.oscam.to/wbb3/index.php?page=Thread&postID=47992oscam home:http://www.streamboard.gmc.to/wiki/OSCam/enoscam sources svn: http://streamboard.gmc.to:8001/browser/trunk#代码学习:oscam.c文件中main函数:1、支持卡系统存放与cardsystem_def[]这个函数指针数组;2、oscam的模块存放于mod_def[]这个函数指针数组;3、c 阅读全文
posted @ 2012-07-19 17:33 J.evan 阅读(407) 评论(0) 推荐(0) 编辑
  2012年7月16日
摘要: 我有一个应用。1个后台服务线程:此线程接受客户端的请求,分为三种请求,一个图片,一个视频,一个音乐3个activity:分别显示图片、播放音乐、播放视频现在我需要交互,我的后台线程需要取到我的三个activity的各种状态,如:当前播放位置、当前是第几张图片。我改采用哪种方式? 我现在没有使用服务,全部使用的静态变量。感觉别扭,哪位大大帮我出个主意! 阅读全文
posted @ 2012-07-16 22:38 J.evan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: linux下纯C简单的HTTP POST请求 客户端模型 ---经典收藏,源代码打包httppost.tar,感谢博主c直接访问网页 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <stdarg.h> 5 #include <sys/socket.h> 6 #include <netinet/in.h> 7 #include <netdb.h> 8 9 int htconnect(char *host, i 阅读全文
posted @ 2012-07-16 22:24 J.evan 阅读(909) 评论(0) 推荐(0) 编辑
  2012年7月11日
摘要: root权限://使用这个telinit 1 阅读全文
posted @ 2012-07-11 11:39 J.evan 阅读(521) 评论(0) 推荐(0) 编辑
  2012年7月10日
摘要: 1、使用fdisk -lDisk /dev/sdb doesn't contain a valid partition table2、使用fdisk sdb 进行分区:n命令创建一个新分区;d命令删除一个存在的分区;p命令显示分区列表;t命令修改分区的类型ID号;l命令显示分区ID号的列表;a命令指定启动分区;w命令是将对分区表的修改存盘让它发生作用。 我们这里是创建新分区,所以输入 n 然后 e 是扩展分区,p 是主分区,我们输入 p接下来的块数什么的,都输入 1 ,最后选择大小,Last cylinder or +size or +sizeM or +sizeK (1-60801, 阅读全文
posted @ 2012-07-10 10:11 J.evan 阅读(404) 评论(0) 推荐(0) 编辑
  2012年7月5日
摘要: UPnP-Control for Mplayerhttp://upnprenderer.sourceforge.net/stream2androidhttp://code.google.com/p/stream2android/source/list 阅读全文
posted @ 2012-07-05 23:26 J.evan 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 1 public String getTopActivity() 2 { 3 ActivityManager activityManager = (ActivityManager) getApplicationContext().getSystemService(Context.ACTIVITY_SERVICE); 4 List<RunningTaskInfo> forGroundActivity = activityManager.getRunningTasks(1); 5 RunningTaskInfo currentAct... 阅读全文
posted @ 2012-07-05 15:56 J.evan 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 学习地址:http://www.juliantec.info/julblog/yihect/understand-of-elf-format对程序使用strip命令前后,程序入口地址都已经发送变化,但是.text的起始地址却没有改变,这是为啥呢?使用了strip后,程序少了10个section,不知道是不是所有的程序都少10个section。查看数据段具体信息:objdump -d -j .data ./a.o (-d:打印,-j:反汇编 .data段)strip前:1 [c001@kv tmp]$ objdump -d -j .data ./a.o2 3 ./a.o: file fo... 阅读全文
posted @ 2012-07-05 15:43 J.evan 阅读(464) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页