摘要: 一、申请1.http://bce.baidu.com/index.html2.购买应用引擎BAE需要实名认证:http://console.bce.baidu.com/qualify/#/qualify/processing3.等待。。。4.到百度开放云--产品服务-应用引擎-BAE购买 阅读全文
posted @ 2015-11-25 14:06 realhopezj 阅读(230) 评论(0) 推荐(0) 编辑
摘要: IT行业歧视40岁以上人群为找工作还要谎报年龄(这样不好)http://www.aliyun.com/zixun/content/2_6_616161.html【赛迪网讯】4月5日消息,许多40多岁的人都说,在信息技术行业年龄歧视极为普遍。然而,英国金融时报称,同时高技能员工短缺问题也广泛存在。 托... 阅读全文
posted @ 2015-11-24 14:47 realhopezj 阅读(10983) 评论(0) 推荐(0) 编辑
摘要: 参照:http://jingyan.baidu.com/article/915fc414fd94fb51394b208e.html一、插件下载:http://struts.apache.org/download.cgi#struts23241下载struts-2.3.24.1 ,apps\strut... 阅读全文
posted @ 2015-11-23 17:34 realhopezj 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 1.引入javadbf.4.1.jar2.import com.linuxense.javadbf.DBFField; import com.linuxense.javadbf.DBFReader; 3.实例 package com.realhope.jdbf; import java... 阅读全文
posted @ 2015-11-18 08:52 realhopezj 阅读(3064) 评论(0) 推荐(0) 编辑
摘要: 参考:http://jingyan.baidu.com/article/a17d5285339c828099c8f245.html 阅读全文
posted @ 2015-11-17 10:45 realhopezj 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 如果他人的VCl控件只有pas代码,如何生成控件?步骤:1.newPakage(bpl)2.在Contains中AddVCl***.pas3.再Complie,Install即可 XE:install component -->unit file 选 pas代码--> install 即可 阅读全文
posted @ 2015-08-26 12:05 realhopezj 阅读(186) 评论(0) 推荐(0) 编辑
摘要: WM_COPYDATA传送指针数据的问题var cdds:TcopyDataStruct; strAnsi:string;begin cdds:=PCopyDataStruct(M.lParam)^;strAnsi:=strpas(pchar(cdds.lpData ));Memo1.Lines.... 阅读全文
posted @ 2015-08-26 11:38 realhopezj 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1.安装XE52.HNFJ-DPADCW-BDWCFU-FPNNQDF4-CTSDHV-RDFCFE-FEANHNFK-BCN8NN-78N53D-H4RS破解补丁使用方法:(1).复制压缩包内的“RADStudioXE5.slip”替换...\Embarcadero\RAD Studio\12.0... 阅读全文
posted @ 2015-08-26 11:17 realhopezj 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 一、主路由器设置网络参数 LAN口设置查到 MAC地址,用于设置扩展路由器 Bridge功能设置时AP1的地址2.无线基本设置,桥的 SSID BSSID 为扩展3.无线安全设置二、扩展路由器的设置1.网络传输IP设置 192.168.1.2262.MAC地址为主路由器 BSSID3.无线网络基本设... 阅读全文
posted @ 2015-08-07 11:34 realhopezj 阅读(620) 评论(0) 推荐(0) 编辑
摘要: 最近生成一个新的web服务器,在启动后无法启动socket监听,检查程序本身无问题,找原因,只是发布时搞错。处理如下:1.在Eclipse平台 删除原来的web server;2.新建server3.删除tomcat服务器conf目录 下所有文件,server下的config文件到该目录;4.删除... 阅读全文
posted @ 2015-08-05 17:18 realhopezj 阅读(940) 评论(0) 推荐(0) 编辑
摘要: 本人正确安装成功步骤,对他人可能无用:1.直接拷以前32位eclipse ADT2.安装32位的jdk:jdk-8u45-windows-i5863.ok,所有环境变量无需手工设置eclipse启动不了,出现“Java was started but returned exit code=13...... 阅读全文
posted @ 2015-07-21 09:03 realhopezj 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: 想将一台装有WIN2000的硬盘用GHOST复制到另一硬盘,因为GHOST软件在光盘上,准备从光盘启动进入GHOST,但却提示“不能启动”(但进入系统可以读光盘);用光盘到其他机器测试,是可以从光盘启动的。 于是,做了很多无谓的事:光驱跳线....,最后进到这个win2000系统发现光驱的盘符不是... 阅读全文
posted @ 2015-03-09 23:35 realhopezj 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 前言 在开发一个点餐软件时,app的订单数据是使用本地Sqlite数据库,在提交订单数据后,当订单数据在后台(Mysql数据库)发生变化时(如:已买单),本地数据如何改变呢? 思路 前台在查询时,将后台订单数据以数组方式发送到前台进行更新(update) 实现 服务端实现 定义一类订单类 通过一方法 阅读全文
posted @ 2015-03-06 10:10 realhopezj 阅读(2990) 评论(0) 推荐(0) 编辑
摘要: 在使用sql访问Access日期字段,应在变量前后加#,例子:s:=Format(select xueshID,name,times,qukbz,skdate,banji from dianmjili where skdate =%s,[#+formatdatetime(yyyy/m/d,DateT... 阅读全文
posted @ 2015-03-06 09:21 realhopezj 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 处理:把整个工程的“Text file encoding”属性设为GBK,就不会有乱码了。设置方法:在eclipse中右击工程,点击弹出框最下面的“Properties”,然后在弹出的窗口左侧点击“Resource”,便可以在窗口的右部看到“Text file encoding”属性,点击“Othe... 阅读全文
posted @ 2015-03-06 09:15 realhopezj 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Eclipse打开时提示: failed to create the java virtual machine原因:C盘空间不够编辑删除 处理:1.用金山清理临时文件; 2.用金山手机卫士连接真实设备。 阅读全文
posted @ 2015-03-06 09:11 realhopezj 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 2960 监听端口:2监听1一、Switch#config tSwitch(config)#monitor session 1 destination interface f0/2Switch(config)#monitor session 1 source interface f0/1二、查看ex... 阅读全文
posted @ 2015-03-06 08:58 realhopezj 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 一、VTP配置1.VLAN database2.(VLAN)#vtp domain wx3.(VLAN)#vtp server二、VLAN配置1.VLAN database2.(VLAN)#vlan 103.(VLAN)#vlan 11三、ACCESS端口配置1.(config)# int ran ... 阅读全文
posted @ 2015-03-06 08:57 realhopezj 阅读(932) 评论(0) 推荐(0) 编辑
摘要: dbgrid数据显示和数据源不同,在ODBC配置时如下设置,去掉勾 阅读全文
posted @ 2015-03-05 16:50 realhopezj 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 前言 想开发一个平板点餐系统,研究下陈江根大侠分享的一个很高水准的实例,只是个单机版无实用意义。 实现 本系统后台使用Mysql 数据库+Tomcat WEb服务器实现,Tomcat服务器采用Servlet机制处理App发来的消息,并执行消息的任务;另外采用XE2编程实现管理客户端,用来来处理订单打 阅读全文
posted @ 2015-03-04 11:28 realhopezj 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 前言 很多朋友喜欢足彩,面对网站每期大量对阵却苦于无法找到一种稳定下注的方法,其实开盘指数及临场前指数的变化,各种蕴藏玄机,本系统采集新浪足彩每期指数,生成各种指数数据,并形成每期报表,便于下注者投注参考。通过本系统可生成球队所有对阵比赛数据、及其赢盘指数规律数据,数据可以导出excel表格,方便使 阅读全文
posted @ 2015-03-04 10:02 realhopezj 阅读(5668) 评论(7) 推荐(0) 编辑
摘要: 在开发一个平板点餐软件后台订单打印程序时,使用线程订单打印,为防打印阻塞使用临界区。 阅读全文
posted @ 2015-02-03 16:39 realhopezj 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: 1 printer.getprinter(mdevice, mdriver, mport, mhdmode);2 3 printer.setprinter(pchar(g_PRNzt), mdriver, mport, mhdmode);// 设置打印机,pchar(g_PRNzt)--打... 阅读全文
posted @ 2015-02-03 16:37 realhopezj 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: //实例对象tablesList tables = new TableManager(getApplicationContext()).queryTables();spinnerValue = new String[tables.size()+1];spinnerValue[0]=table_no;... 阅读全文
posted @ 2015-02-03 16:13 realhopezj 阅读(480) 评论(0) 推荐(0) 编辑
摘要: String pxsize = context.getResources().getString(R.string.hello);资源文件格式: Hello World, WirelessActivity! 阅读全文
posted @ 2015-02-03 15:59 realhopezj 阅读(502) 评论(1) 推荐(0) 编辑
摘要: Java字符串格式化:1.数值转换为字符String.format("%.2f", num);String.format("%.0f", num);2.字符转浮点数Double.parseDouble(editText_ordernum); 阅读全文
posted @ 2015-02-03 15:42 realhopezj 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 图片动画播放:import android.view.animation.Animation; import android.view.animation.AnimationSet; //import android.view.animation.RotateAnimation; import an... 阅读全文
posted @ 2015-02-03 15:35 realhopezj 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1.创建自己的MyServletContextListener.java: 1 package yybwb; 2 3 import java.net.ServerSocket; 4 5 import javax.servlet.ServletContextEvent; 6 7 import j... 阅读全文
posted @ 2015-01-31 22:27 realhopezj 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1.实例化TableListsTask task = new TableListsTask(ServerIP,"ALL", MenuActivity.this); //第三参数建立上下文关系 2.TableListsTask.javapackage com.realhope.rmeal.ui;imp... 阅读全文
posted @ 2015-01-31 12:56 realhopezj 阅读(1499) 评论(0) 推荐(0) 编辑
摘要: 1.定位窗口 1 fHwnd:=FindWindow(nil,'短信中心'); 2 3 if fHwnd=0 then 4 5 begin showmessage('请先登录飞信2013短信中心'); exit; end; 6 7... 阅读全文
posted @ 2015-01-31 12:39 realhopezj 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 服务端1.控件:TServerSocket2.OnClientRead事件处理procedure TMainForm.ssClientRead(Sender: TObject; Socket: TCustomWinSocket);varmsgr,theFileName:ansistring;bufR... 阅读全文
posted @ 2015-01-30 15:44 realhopezj 阅读(345) 评论(0) 推荐(1) 编辑
摘要: 1.定义类 1 package com.realhope.rmeal.bean; 2 3 /** 4 * 5 * @author Wucy 6 * 菜谱类 7 */ 8 public class Menu{ 9 private Integer _id; 10 privat... 阅读全文
posted @ 2015-01-29 10:55 realhopezj 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 在判断是否有无线网络时,UI界面假死,这时我们需要使用AsyncTask。代码: 1 /** 异步任务 :判断服务器开启才取后台数据 2 * 2014-7-31 3 * @author 吴chunyuan 4 * 5 */ 6 public class MyTask extends... 阅读全文
posted @ 2015-01-29 10:18 realhopezj 阅读(255) 评论(0) 推荐(0) 编辑