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

´«ÖDz¥¿Íjavaѧϰ 3gÊÖ»ú¿ª·¢Android 1

½ñÌìÊÇ
3g
ÊÖ»ú¿ª·¢
Android
µÄµÚÒ»Ì죬ÊÇÀèÀÏʦ½²µÄ£¬ÀèÀÏʦÖ÷Òª½éÉÜÁË
3g
£¬ÒÔ¼°
Android
ºÍ¿ª·¢
Helloworld
³ÌÐò¡£
 
      
3g
ÊÇʲô
£º
3G
£¬È«³ÆΪ
3rd Generation
£¬ÖÐÎĺ¬Òå¾ÍÊÇÖ¸µÚÈý´úÊý×ÖͨÐÅ¡£
Ëùν
3G
£¬ÊÇÖ¸½«ÎÞÏßͨÐÅÓë¹ú¼Ê»¥ÁªÍøµÈ¶àýÌåͨÐŽáºÏµÄÐÂÒ»´úÒƶ¯Í¨ÐÅϵͳ¡£
3G
Ö»ÊÇÒ»ÖÖͨÐż¼Êõ±ê×¼£¬·ûºÏÕâ¸ö±ê×¼µÄ¼¼ÊõÓÐ
WCDMA
¡¢
CDMA2000
¡¢
TD-SCDMA
ÈýÖÖÖÆʽ¡£ÖйúÁªÍ¨Ê¹ÓõÄÊÇ
WCDMA
£¨ÊÀ½çÉϴ󲿷Ö
3G
ÍøÂ綼²ÉÓõÄÊǸñê×¼£©
£»ÖйúµçÐÅʹÓõÄÊÇ
CDMA2000
£¨ÈÕ¡¢º«ºÍ±±ÃÀʹÓã©£»ÖйúÒƶ¯Ê¹ÓõÄÊǾßÓÐ×ÔÖ÷֪ʶ²úȨµÄ
TD-SCDMA
£¨Ö»ÓÐÖйú²ÅʹÓã©
 
¡£Ïà¶ÔµÚÒ»´úÄ£ÄâÖÆʽÊÖ»ú
(1G)
ºÍµÚ¶þ´ú
GSM
¡¢
CDMA
µÈÊý×ÖÊÖ»ú
(2G)
£¬
3G
ÍøÂçÄÜ´¦ÀíͼÏñ¡¢ÒôÀÖ¡¢ÊÓƵµÈ¶àÖÖýÌåÐÎʽ£¬Ìṩ°üÀ¨ÍøÒ³ä¯ÀÀ¡¢µç»°»áÒé¡¢µç×ÓÉÌÎñµÈ¶àÖÖÐÅÏ¢·þÎñ¡£µÚÈý´úÓëÇ°Á½´úµÄÖ÷ÒªÇø±ðÊÇÔÚ´«ÊäÉùÒôºÍÊý¾ÝµÄËÙ¶ÈÉÏÓкܴóµÄÌáÉý¡£
      
      
Android
ÊÇʲô
£º
Android
Ò»´ÊµÄ±¾ÒåÖ¸“»úÆ÷ÈË”£¬
Android
ÊÇ
Google
ÓÚ
07
Äê
11
ÔÂ
5
ÈÕ
Ðû²¼µÄ»ùÓÚ
Linux
ƽ̨¿ªÔ´ÊÖ»ú²Ù×÷ϵͳÃû³Æ£¬¸Ãƽ̨ÓɲÙ×÷ϵͳ¡¢Öмä¼þ¡¢Óû§½çÃæºÍÓ¦ÓÃÈí¼þ×é³É¡£ÔÚ¹úÄÚ£¬ÁªÏë¡¢´÷¶û¡¢¶àÆÕ´ï¡¢·ÉÀûÆÖ¡¢ÖÐÐË¡¢ÈýÐÇ¡¢Ä¦ÍÐÂÞÀ­¡¢µÈ³§ÉÌÒѾ­ÍƳö»ùÓÚ
Android
ƽ̨µÄÖÇÄÜÊÖ»ú¡£ÔÚ
3G
Ó¦Óÿª·¢ÁìÓò£¬
Android
µÄ·¢Õ¹Ç°¾°²»ÈÝСÊÓ£¬Ò²½«»á³ÉΪδÀ´Ö÷Á÷µÄÊÖ»ú²Ù×÷ϵͳ¡£
 
      
Android
Ó¦ÓóÌÐò¼Ü¹¹
£º
src/
 
java
Ô­´úÂë´æ·ÅĿ¼
gen
/
×Ô¶¯Éú³ÉĿ¼
gen
Ŀ¼Öдæ·ÅËùÓÐÓÉ
Android
¿ª·¢¹¤¾ß×Ô¶¯Éú³ÉµÄÎļþ¡£Ä¿Â¼ÖÐ×îÖØÒªµÄ¾ÍÊÇ
R.java
Îļþ¡£
Õâ¸öÎļþÓÉ
Android
¿ª·¢¹¤¾ß×Ô¶¯²úÉúµÄ¡£
Android
¿ª·¢¹¤¾ß»á×Ô¶¯¸ù¾ÝÄã·ÅÈë
res
Ŀ¼µÄ
xml
½çÃæÎļþ¡¢Í¼±êÓë³£Á¿£¬Í¬²½¸üÐÂÐÞ¸Ä
R.java
Îļþ¡£ÕýÒòΪ
R.java
ÎļþÊÇÓÉ¿ª·¢¹¤¾ß×Ô¶¯Éú³ÉµÄ£¬ËùÒÔÎÒÃÇÓ¦±ÜÃâÊÖ¹¤ÐÞ¸Ä
R.java
¡£
R.java
ÔÚÓ¦ÓÃÖÐÆðµ½ÁË×ÖµäµÄ×÷Óã¬Ëü°üº¬Á˽çÃ桢ͼ±ê¡¢³£Á¿µÈ¸÷ÖÖ×ÊÔ´µÄ
id
£¬Í¨¹ý
R.java
£¬Ó¦ÓÿÉÒԺܷ½±ãµØÕÒµ½¶ÔÓ¦×ÊÔ´¡£ÁíÍâ±àÒïÆ÷Ò²»á¼ì²é
R.java
ÁбíÖеÄ×ÊÔ´ÊÇ·ñ±»Ê¹Óõ½£¬Ã»Óб»Ê¹Óõ½µÄ×ÊÔ´²»»á±àÒï½øÈí¼þÖУ¬


Ïà¹ØÎĵµ£º

javaÒì³£´¦Àí

Ö»Õë¶Ô²»Õý³£µÄÌõ¼þ²ÅʹÓÃÒì³£
Òì³£Ö»Ó¦¸Ã±»ÓÃÓÚ²»Õý³£µÄÌõ¼þ£¬ËüÃÇÓÀÔ¶²»Ó¦±»ÓÃÓÚÕý³£µÄ¿ØÖÆÁ÷¡£
ÏÂÃæÊÇÒ»¸öÓÃÒì³£×÷±éÀú½áÊøÌõ¼þµÄÀÄÓÃÒì³£µÄÀý×Ó£º
//horrible abuse of exceptions. Don't ever do this!
try{
int i=0;
while(true)a[i++].f();
}catch(ArrayIndexOutOfBoundsException e){ ......

Java °´×Ö½Ú½ØÈ¡´øÓкº×ÖµÄ×Ö·û´®µÄÒ»ÖÖ×ö·¨

Java °´×Ö½Ú½ØÈ¡´øÓкº×ÖµÄ×Ö·û´®µÄ½â·¨£¬ÍøÉÏÓв»ÉÙÌÖÂÛ¡£ÕâÀïÎÒÒ²¸ø³öÒ»ÖÖÎÒ×Ô¼ºµÄ´¦Àí£¬»ù±¾Ô­Àí»¹ÊÇͳ¼ÆÒª½ØÈ¡µÄ×Ö½ÚÊýÖÐÊDZíʾºº×ÖµÄ×Ö½ÚÊýÊÇ·ñÊÇżÊý¸ö£¬¼´ÊÇ·ñ¸ÕºÃ°üÀ¨ÁËÍêÕûµÄºº×Ö¡£
/**
 * ±à³Ì£º±àдһ¸ö½ØÈ¡×Ö·û´®µÄº¯Êý£¬ÊäÈëΪһ¸ö×Ö·û´®ºÍ×Ö½ÚÊý£¬Êä³öΪ°´×Ö½Ú½ØÈ¡µÄ×Ö·û´®¡£ µ«ÊÇÒª±£Ö¤ºº×Ö²»±»½Ø°ë¸ ......

JAVA SWING ×é¼þÏÔʾ

ÔÚËùÓÐ×é¼þ¶¼·Åµ½JFrameÖ®ºó£¬ÏÈsetSize()£¬È»ºóÔÙsetVisible()   ¡£
   
ÉèÖÃÁË´°¿ÚµÄSize,²¼¾Ö¹ÜÀíÆ÷²ÅÄÜΪ¸÷¸ö×é¼þ°²ÅźÏÊʵÄλÖÃ,Ö®ºóÔÙ°Ñ´°ÌåÏÔʾ³öÀ´setVisible()£¬±ÈÈçÄ㻹²»ÖªµÀ³§·¿µÄ´óС£¬Õâʱ¾ÍÎÞ·¨¾ö¶¨É豸°²·ÅµÄλÖᣠ......

JavaÖеġ°==¡±ºÍequal()

Integer n1 = new Integer(1);
Integer n2 = new Integer(1);
System.out.println(n1==n2); // false
Integer n1 = new Integer(3);
Integer n2 = new Integer(3);
System.out.println(n1.equals(n2)); //true

equals()ĬÈÏÒ²ÊDZȽÏreference£¬µ«ÊÇJavaÖеÄclass¸²¸ÇÁËequals()·½·¨ ......

java ɾ³ýList ÖеÄÖظ´Êý¾Ý

1. Ñ­»·listÖеÄËùÓÐÔªËØÈ»ºóɾ³ýÖظ´
public static List removeDuplicate(List list) {
for ( int i = 0 ; i < list.size() - 1 ; i ++ ) {
for ( int j = list.size() - 1 ; j > i; j -- ) {
if (list.get(j).equals(list.get(i))) {
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ