摘要:
在开发一个平板点餐软件后台订单打印程序时,使用线程订单打印,为防打印阻塞使用临界区。 阅读全文
posted @ 2015-02-03 16:39
realhopezj
阅读(1125)
评论(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
阅读(1486)
评论(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
阅读(489)
评论(0)
推荐(0)
摘要:
String pxsize = context.getResources().getString(R.string.hello);资源文件格式: Hello World, WirelessActivity! 阅读全文
posted @ 2015-02-03 15:59
realhopezj
阅读(520)
评论(1)
推荐(0)
摘要:
Java字符串格式化:1.数值转换为字符String.format("%.2f", num);String.format("%.0f", num);2.字符转浮点数Double.parseDouble(editText_ordernum); 阅读全文
posted @ 2015-02-03 15:42
realhopezj
阅读(221)
评论(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
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号