android ÖÐjava±à³ÌµÄÒâÍâʼþ´¦Àí
²»¹ÜÄãÐŲ»ÐÅ£¬¼´Ê¹¶àôÊìÁ·±à³ÌµÄÈËÔ±ÔÚcodingµÄʱºò¶¼»á³öÏÖÒâÏë²»µ½µÄbug¡£ÔÚÉÏƪÎÄÕÂÖÐÎÒÔøÌáµ½£¬bugµÄÔì³ÉÊǶà¸ö·½ÃæµÄ×ۺϽá¹û£¬ÓÐЩbugÊÇ¿ÉÒÔÐÞ¸´µÄ£¬µ«ÊÇÓÐЩÂß¼ÉϵÄbugÒªÐÞ¸´¿É²»ÊÇÄÇôÈÝÒ×µÄÊÂÇ飬¾ÍÏñÎÒÃÇ×ö´íÁËÒ»¼þÊÂÇ飬Èç¹û²»È¥´Ó¸ù±¾ÉϸÄÕý¾Í»á·¸¸ü´óµÄ´íÎóÒ»Ñù£¬ÓÐʱºòbugÒ²ÊÇÒ»¸ö»ýÀ۵Ĺý³Ì¡£
ÔÚ¾ÀúÁËandroidÉϵĿª·¢Ö®ºó£¬ÎҸıäÁËÎÒ×î³õµÄÏë·¨£¬ÈÃÎÒÈÏʶµ½Á˼´Ê¹ÔÙ¼òµ¥µÄ¿ª·¢Æ½Ì¨£¬¿ª·¢Ò»¿î²úÆ·¶¼ÐèÒªÒ»¸öÑÏÃܵÄÂß¼ÈÏÖ¤£¬ÈÏÖ¤Ö®ºóÔÙ½øÐпª·¢£¬²»½öÄÜÌá¸ß´úÂëµÄÉú²úЧÂÊ£¬»¹ÄܼõÉٺܶà²úÆ·µÄbug¡£
ÏÂÃæÊÇÎÒÓöµ½µÄһЩ»ù±¾¼òµ¥µÄbug£¬µ«ÊÇÐÞ¸´È´»¨·ÑÁËÒ»¶Îʱ¼ä£º
£¨1£©android.view.WindowManager$BadTokenException: Unable to add window --
token android.os.BinderProxy@342917f8 is not valid; is your activity
running?
ÊÇÓÉÓÚÓÐactivityʱÒÀ¸½ÓÚÁíÒ»¸öactivityµÄ£¬µ±±»ÒÀ¸½µÄactivity²úÉú´íÎóµÄʱºò£¬¸ÃactivityûÓÐÁË¿¿É½¶ø²úÉú´íÎ󡣶ÔÓÚÕâ¸ö´íÎó
»¹Ã»Óиù±¾µÄ½â¾ö°ì·¨£¬Î¨Ò»µÄ°ì·¨¾ÍÊǸıä¸ÃactivityÒÀ¸½ÓÚÁíÒ»activityµÄÊÂʵ£¬½«Æä·ÅÈëÁíÒ»activity¡£
£¨2£©01-13 17:21:04.408: WARN/System.err(20476): java.net.SocketException: The connection was reset
ÔÒòÊÇÓÉÓÚûÓйرÕsocketÁ´½ÓÔì³ÉµÄ¡£
£¨3£©java.net.SocketTimeoutException: The operation timed out
¸ÃÎÊÌâÊÇÓÉÓÚûÓⶻñÁ´½Ó³¬Ê±µÄÒì³£µ¼ÖµĴíÎó¡£ÐèÒªÔÚ´úÂëºóÃæ
catch(SocketTimeoutException e){
sendMessage(FILE_DOWNLOAD_ERROR, e);
}
£¨4£©android.view.WindowLeaked: Activity com.*.* has leaked window
Ïà¹ØÎĵµ£º
±¾·¶ÀýÒÔʹÓÃÀ´µçÏÔʾActiveX¿Ø¼þJDComport.ocxΪÀý£¬ËµÃ÷ÔõÑùÔÚJavaÖм¯³ÉActiveX¿Ø¼þ¡£
1¡¢¿ª·¢»·¾³£ºEclipse£¨JavaÖ÷Á÷¿ª·¢¹¤¾ß£©
£¨1£©ÐèÒªÓõ½SWT¡¢Visual Editor²å¼þ£»
£¨2£©EclipseÈí¼þ¼°ÆäÏà¹Ø²å¼þ¿Éµ½ http://www.eclipse.org/downloads/ ÏÂÔØ¡£
2¡¢ÐèÒªÓõ½JDC ......
javaÐéÄâ»ú
¡¡¡¡µ«ÊÇ£¬javaÐéÄâ»úµÄ½¨Á¢ÐèÒªÕë¶Ô²»Í¬µÄÈíÓ²¼þƽ̨×öרÃŵÄʵÏÖ£¬¼ÈÒª¿¼ÂÇ´¦ÀíÆ÷µÄÐͺţ¬Ò²Òª¿¼ÂDzÙ×÷ϵͳµÄÖÖÀà¡£ÈçÏÂͼËùʾ£¬Ä¿Ç°ÔÚSPARC½á¹¹¡¢X86½á¹¹¡¢MIPSºÍPPCµÈǶÈëʽ´¦ÀíоƬÉÏ¡¢ÔÚUNIX¡¢Linux¡¢windowsºÍ²¿·Öʵʱ²Ù×÷ϵͳÉ϶¼ÓÐjavaÐéÄâ»úµÄʵÏÖ¡£ ......
java²»½öÊDZà³ÌÓïÑÔ£¬»¹ÊÇÒ»¸ö¿ª·¢Æ½Ì¨£¬java¼¼Êõ¸ø³ÌÐòÔ±ÌṩÁËÐí¶à¹¤¾ß£º±àÒëÆ÷¡¢½âÊÍÆ÷¡¢ÎĵµÉú³ÉÆ÷ºÍÎļþ´ò°ü¹¤¾ßµÈµÈ¡£Í¬Ê±java»¹ÊÇÒ»¸ö³ÌÐò·¢²¼Æ½Ì¨£¬ÓÐÁ½ÖÖÖ÷ÒªµÄ"·¢²¼»·¾³"£¬Ê×ÏÈjavaÔËÐÐʱ»·¾³£¨java runtime environment£¬¼ò³ÆJRE£©°üº¬ÁËÍêÕûµÄÀàÎļþ°ü£¬Æä´ÎÐí¶àÖ÷ÒªµÄä¯ÀÀÆ÷¶¼ÌṩÁËjava½âÊÍÆ÷ºÍÔËÐÐʱ»·¾³¡£Ä ......
×÷Õß: ØýÃû, ¡¡³ö´¦:ITר¼ÒÍø,¡¡ÔðÈαà¼: лåûåû,¡¡2010-05-10 13:00
Java °ÑÄÚ´æ»®·Ö³ÉÁ½ÖÖ£ºÒ»ÖÖÊÇÕ»Äڴ棬ÁíÒ»ÖÖÊǶÑÄÚ´æ¡£ÔÚº¯ÊýÖж¨ÒåµÄһЩ»ù±¾ÀàÐ͵ıäÁ¿ºÍ¶ÔÏóµÄÒýÓñäÁ¿¶¼ÊÇÔÚº¯ÊýµÄÕ»ÄÚ´æÖзÖÅ䣬µ±ÔÚÒ»¶Î´úÂë¿é¶¨ÒåÒ»¸ö±äÁ¿Ê±£¬Java ¾ÍÔÚÕ»ÖÐΪÕâ¸ö±äÁ¿·ÖÅäÄÚ´æ¿Õ¼ä£¬µ±³¬¹ý±äÁ¿µÄ×÷ÓÃÓòºó£¬Java »á×Ô¶¯Êͷŵô ......
// ¼òÒ×JAVA»ñÈ¡ÍøÒ³ÓÐЧÓÊÏäµØÖ· ---by 77
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class solo7 {
public static void main(String args[]){
  ......