摘要: 很多学习android的朋友都想看看安装目录里面sample的效果,但是使用file-->import ... 选择了root directory 后 下面的project没有项目选择.试试这样做:File-->new-->android project -->选择create project from existing source ...-->选择目录,如果目录选择后Build target没有选择,自己勾选一下-->finish.导入后如果程序有错误,clean一下就行了。 阅读全文
posted @ 2011-05-17 14:08 qyf 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 当start虚拟器的时候,之后就弹出:SDL_app:emulator.exe 应用程序错误在网上查了些资料,先删除AVD`,然后重新创建新的AVD,再重新运行项目竟然OK了,但关闭以后重新运行又报相同的错误。又在网上查了资料,查看任务管理器进程中应用是否还在运行,但删除停止应用以后重新运行项目还是报相同的错误!解决方法:SD card size 不要设置,保准可以。(大家可以试试,我不敢保证可行)。新建一个AVD以后,第一次跑起来OK的,关闭以后重新跑,又有问题了,难道我每跑一次就重新建AVD?这个不是解决问题的根本办法...很多人说,SD card size 不要设置,可以避免这个问题出现 阅读全文
posted @ 2011-05-17 11:30 qyf 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 上周记事:加了好几天班,终于把symbian平台的程序和server端都弄好了。周六的培训搞砸了。。。礼拜天的见面爸妈感觉不错,值得纪念。本周重点:android平台快速上手编写android项目设计文档(思维导图)和进度表海星岛项目学习(PHP,.NET,业务流程)symbian平台第三套UI皮肤 阅读全文
posted @ 2011-05-16 08:41 qyf 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 目前在用LWUIT组件包做UI,之前网上下载了一个《LWUIT教程》一步一步照着做。今天用到中文的时候发现中文都没有显示出来,在网上找了下,目前在模拟器上最简单的改动方法是把resources.res资源文件中的FONT信息删除,刷新项目后就能显示中文了。 阅读全文
posted @ 2011-04-18 14:54 qyf 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 在MIDlet类里面有一个方法叫getAppProperty,取出键值的,那怎么添加键值对呢?eclipse新建MIDlet项目的时候都会生成一个Application Descriptor,里面有个User Defined就是放键值对的。eclipse的HELP上有写:User DefinedTheUser Definedpage is used to manage custom entries relating to your particular MIDlet.The properties configurable in this page are:ItemContentsKeyThe 阅读全文
posted @ 2011-04-15 10:43 qyf 阅读(199) 评论(0) 推荐(0) 编辑
摘要: favicon: 网页图标或url图标,网站标签的图标,制作好后在jsp的head中加两句话:<link rel="icon" href="resource/images/favicon.ico" mce_href="resource/images/favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="resource/images/favicon.ico" mce_href=&qu 阅读全文
posted @ 2009-09-15 22:30 qyf 阅读(271) 评论(0) 推荐(0) 编辑
摘要: kernel Modules:peripheral device drivers&supplementary filesystemslsmod , modprobe <module name>Kernel Module Configuration : /sbin/modinfo <module name>/etc/modprobe.conf: aliases ,parameters ,actionsdepmod -a ; insmod <module name>; rmmod <module name>The /proc filesyst 阅读全文
posted @ 2009-09-15 21:55 qyf 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Boot Sequence Overview :BIOS-MBR(512byte)-Kernel(driver)-init(RunLevel)BIOS Initializatin :POST-Boot Device Selected-First sector(MBR)Boot Loader (MBR) : or in a partition's boot sector first.MBR 446byte second.GRUB /bootGRUB and grub.conf: /boot/grub/grub.confStarting the Boot Process :GRUBKern 阅读全文
posted @ 2009-09-07 22:14 qyf 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Initial InstallationHardware OverviewCPU and MemoryPreparing to Install :RELEASE-NOTESMultiboot systemDevice Node Examples : Block Devices/Character Devices/Symbolic LinksThe RHEL Installer : diskboot.img/boot.iso/pxeboot directoryInstaller FeaturesRHEL Installation OverviewPartitioning Hard DrivesC 阅读全文
posted @ 2009-08-24 22:19 qyf 阅读(115) 评论(0) 推荐(0) 编辑
摘要: head 档案前10行内容tail 档案最后10行内容 -fwc 统计行数字数和字节 -l -w -cuniq 合并相同行 sort -u uniq -cOther String Processing Tool:paste 横排粘贴 tr 转换字符Version Comparison with diff : diff 比较档案 sdiffSpell Checking with aspell : aspell check lookFormatting Tools : expand fmt pr 阅读全文
posted @ 2009-08-18 22:35 qyf 阅读(94) 评论(0) 推荐(0) 编辑