Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JAVA¶ÌÐŶþ´Î¿ª·¢°ü,JAVA¶ÌÐŶþ´Î¿ª·¢¿Ø¼þ

 JAVA¿ª·¢°ü¹¦Äܼò½é
 
  TerrySMS for Java ÊÇÓÃJAVA¿ØÖÆGSM ModemʵÏÖ¶ÌÐÅÊÕ·¢¹¦ÄܵĿª·¢°ü¡£ÀûÓÃTerrySMS¿ÉÒÔʵÏÖ¿çƽ̨µÄ¶ÌÐÅ·¢ËÍ£¬Ä¿Ç°Ö§³ÖwindowsXP¡¢2000¡¢2003¡¢LinuxµÈ²Ù×÷ϵͳ¡£ÊÇʵÏÖÒµÎñϵͳºÍ¶ÌÐÅϵͳ¼Þ½ÓµÄÀíÏ빤¾ß¡£
 
 
 JAVA¿ª·¢°ü¹¦ÄܽéÉÜ
 
 1¡¢Ä¿Ç°Ö÷ÒªÖ§³ÖWavecomϵÁкÍSimemensϵÁвúÆ·£¬
Ö§³ÖM1206B¡¢ M1306B¡¢WMOD2 Wismo¡¢ MC35i¡¢M35¡¢ M50¡¢ M65¡¢ C45¡¢TC35i¡¢ C65
2¡¢Í¬Ê±Ö§³ÖPDUºÍTEXTЭÒé¡£
3¡¢Ö§³Ö¶ÌÐÅ·¢ËͺͶÌÐŽÓÊÕ¡£
4¡¢Ö§³Ö7bit, 8bit and UCS2 (Unicode) ¶ÌÐűàÂë¸ñʽ¡£
5¡¢Ö§³Ö³¬³¤¶ÌÐÅ¡£
6¡¢Ö§³ÖÉÁÐÅ¡£
7¡¢Ö§³ÖWAP PUSH ·¢ËÍ¡£
8¡¢Ö§³Ö״̬±¨¸æ¡£
9¡¢Ö§³Ö GSM ModemÉ豸״̬ÏÔʾ
10¡¢¿Éͬʱ֧³Ö¶à¸ö²»Í¬»òÕßÏàͬGSM ModemÉ豸£¬ÔÚ¶à¸öÉ豸֮¼ä¿ÉÒÔ×Ô¶¯¾ùºâ·ÓÉ·¢ËÍ¡£
11¡¢Ö§³Ö¶ÌÐÅÓÅÏȼ¶É趨¡£
12¡¢Í¨¹ý¶ÌÐŶÓÁÐÖ§³Öͬ²½¡¢Òì²½½ÓÊպͷ¢ËͶÌÐÅ¡£
 
 Ê¹ÓýéÉÜ
 
 1¡¢ÏÂÔØJDK1.4.2 »òÕ߸ü¸ß°æ±¾½øÐа²×°¡£
2¡¢½âѹËõTerrySMS ѹËõÈí¼þ°ü£º
JarÊÇÔËÐÐËùÐèÒªµÄËùÓеÄjarÎļþ¡£
Terrysms-3.1-RC1.jar£º¶ÌÐÅ¿ª·¢µ÷ÓÃAPI
comm.jar £º´®¿Úµ÷ÓÃ
commons-net-1.4.1.jar£ºÍøÂçAPI
log4j-1.2.15.jar £ºlog API
RXTXcomm.jar £º linux ϵͳ ´®¿Úµ÷ÓÃAPI
Lib Ŀ¼Ï£º
Win32com.dll : windowsϵĴ®¿ÚÇý¶¯
javax.comm.properties:? ´®¿ÚÇý¶¯ÊôÐÔÎļþ
LibrxtxSerial.so : linux ϵĴ®¿ÚÇý¶¯
ZipĿ¼Ï£º
2¸ö´®¿ÚÇý¶¯zipѹËõ°ü¡£Èç¹ûÄúµÄ²Ù×÷ϵͳ²»ÊÇwindows»òÕßlinux£¬Çë´ÓÖÐÑ¡È¡ºÏÊʵÄÇý¶¯¡£
CommTest.java£ºGSMÉ豸´®¿ÚÁ¬½Ó²âÊÔ¡£Ö÷Òª¿´Á¬½Óµ½Äĸö´®¿Ú£¬Á¬½ÓËÙÂʼì²â¡£
ReadMessages.java£º¶ÁÈ¡SIMÉÏËùÓÐÊÕµ½µÄ¶ÌÐÅ¡£
SendMessage.java£º·¢ËͶÌÐÅ¡£
TerrySMS¿ª·¢°üÔÚWindowsϵͳÉϵݲװ²½Ö裺
TerrySMS-v3.1.zip ¿ÉÒÔ½âѹµ½ÈκÎÒ»¸öĿ¼Ï¡£ÒÔÏÂÒÔ½âѹµ½C:\ΪÀý¡£
1¡¢°ÑjarĿ¼ÏµÄÎļþ°üÈ«²¿¸´ÖƵ½ jdk1.4.2\jre\lib\extĿ¼Ï¡£
2¡¢°Ñlib Ŀ¼ÏµÄÎļþwin32comm.dll¸´ÖƵ½ jdk1.4.2\jre\binĿ¼Ï¡£
3¡¢°ÑlibĿ¼ÏµÄÎļþjavax.comm.properties¸´ÖƵ½ jdk1.4.2\jre\libĿ¼Ï¡£
4¡¢ÔÚϵͳ»·¾³±äÁ¿ÖÐÉèÖÃPATH·¾¶£¬¼ÓÈë jdk1.4.2\bin¡£
5¡¢ÔËÐж˿ڲâÊÔ³ÌÐò ¡£
TerrySMS¿ª·¢°üÔÚlinuxϵͳÉϵݲװ²½Ö裺
°Ñlib Ŀ¼ÏµÄÎļþLibrxtxSerial.so¸´ÖƵ½ jdk1.4.2\jre\lib\i386Ŀ¼Ï¡£ÆäËü²½Öè²Î¿¼windows


Ïà¹ØÎĵµ£º

ÒÔjava±à³Ì·½Ê½µ÷Óà Apache Ant

 
±¾ÎÄÑÝʾÁËÈçºÎͨ¹ý Java µ÷Óà Apache Ant ¹¹½¨Îļþ¡£Äú½«¼ì²é±ØÒªµÄ Java ´úÂë²¢Á˽âÈçºÎÔÚ WebSphere Application Developer ÖÐÔËÐд˴úÂë¡£
ÒýÑÔ
Apache
Ant ÊÇÒ»¸ö»ùÓÚ Java µÄ¿ª·ÅÔ´´úÂë¹¹½¨ÊµÓù¤¾ß¡£ÈËÃdz£°ÑËüÓë Make ½øÐбȽϣ¬Make
³¤ÆÚÒÔÀ´Ò»Ö±ÓÃÓÚ°ïÖú×Ô¶¯Íê³É¹¹½¨¹ý³Ì¡£¾­¹ý²»Í¬°æ±¾µÄ¸Ä½ø£¬Ant Ò ......

javaÖжÔdateÏà¹Ø²Ù×÷

String startTime, String endTime;
Date start = null;
Date end = null;
Date startTimeStamp = null;
Date endTimeStamp = null;

try {

SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
......

javaÖÐfloat/double¸¡µãÊýµÄ¼ÆËãʧ¾«¶ÈÎÊÌâ

 javaÖи¡µãÊýµÄ¼ÆËã
½ñÌìÔÚÊýÖµ¼ÆËãʱÅöµ½Ò»¸öÎÊÌâ.³ÌÐòÈçÏÂ:
  double a = (3.3-2.4)/0.1;
  System.out.println(a);
Äã¿ÉÄÜÈÏΪ½á¹ûºÜ¼òµ¥,²»¾ÍÊÇ9Âï,ÊÇÊÂʵÉÏ,½á¹ûΪ:8.999999998,ΪʲôÄØ?ÎÒ·­ÔÄÁËһЩ×ÊÁÏ,ÖÕÓÚÕÒ³öÁËÔ­Òò.
Ϊʲô¸¡µãÊý»á¶ªÊ§¾«¶È£¿ 
Ê®½øÖÆÊýµÄ¶þ½øÖƱíʾ¿ÉÄܲ»¹»¾«È·
......

javaѧϰ±Ê¼Ç(1)

     µÇ¼ÑéÖ¤£¬µ±Óû§ÃûΪabc£¬ÃÜÂëΪ123ʱ·µ»Øͨ¹ý£¬·ñÔòΪµÇ¼ʧ°Ü£¬ÈôÖ»ÊäÈëÁËÆäÖÐÒ»ÏÔò·µ»Ø²ÎÊý²»ÕýÈ·¡£
´úÂëÈçÏ£º
   
//µÇ¼ÑéÖ¤·¶Àý ——Ò»¸ö±ê×¼µÄ³ÌÐòÉè¼Æģʽ
class Login
{    
       private S ......

ÎÒµÄJavaѧϰ֮·2009

-------------------------------2009Äê3ÔÂ19ÈÕ¿ªÊ¼-----------------------------
ÏÂÔØJDK Myeclipse Netbeans JBulider²¢°²×°
ËïöÎ »ù´¡½²½â
ÂíÊ¿±ø »ù´¡½²½â
ÂíÊ¿±ø ̹¿Ë´óÕ½ (µ¥»ú°æ±¾! °üÀ¨Í¼Æ¬°æ)
¹ù¿Ë»ª J2ME -----------------------------------2009Äê5ÔÂ2ÈÕ------ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ