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

Android G1 JAVAÐéÄâ»ú

Blog from http://forum.xda-developers.com/showthread.php?t=552846
I've just pushed new Hero Java app into my rogers build and it works fine.
What you basically need is:
Jbed.apk (install with adb install)
libjbedvm.so (adb push /system/lib) - remember to remount as RW.
I strongly suggest to run linux-swap (as it killed all my applications and hanged for some time without it).
Files taken from Drizzy's build.
Attached Files
java.zip (1.95 MB, 350 views)


Ïà¹ØÎĵµ£º

JavaÈëÃŽ̳Ì

×î½üÎÒ·¢ÏÖ²»ÉÙ³õѧÕߣ¬Ñ§Ï°javaµÄʱºò£¬¿´Á˺öàjavaµÄÀúÊ·¡¢ÓŵãºÍÓ¦Ó÷¶Î§¡£¶ÔÓÚÕâЩ֪ʶ£¬²¢²»ÄÑÀí½â¡£ÎÒÒ²µ±È»Í¬ÒâjavaÊÇÒ»ÖÖÓÅÐãµÄ¼ÆËã»úÓïÑÔ¡£µ«ÊǶÔÓÚÎÒÃÇÀ´ËµÒªÁ˽âµÄ²¢²»ÊÇ£¬ÕâЩÀúÊ·µÈ֪ʶ¡£¶øÊÇÕÆÎÕjavaÕâÌ×¼¼Êõ¡£ÒªÏëÕÆÎÕÕâÌ×¼¼Êõʵ¼ùÊǷdz£ÖØÒªµÄ¡£ÄÇôºÜ¶à³õѧÕߣ¬ÔÚµÚÒ»²½Êµ¼ùµÄʱºò¾ÍÓöµ½ÁËÀ§ÄÑ£¬¾ÍÊÇÅäÖà ......

JAVA¹æ·¶Ñ§Ï°——static³ÉÔ±³õʼ»¯

class Super { static int taxi = 1729; }
class Sub extends Super {
static { System.out.print("Sub "); }
}
class Test {
public static void main(String[] args) {
System.out.println(Sub.taxi);
}
}
Êä³ö£º1729
֪ʶҪµã£º
A reference to a class field causes initialization of ......

java¹ØÓÚ23ÖÖÉè¼Æģʽ֮ÅÝMM°æ£¨ÍƼö£©[ת]


´´½¨ÐÍģʽ
1¡¢FACTORY——×·MMÉÙ²»ÁËÇë³Ô·¹ÁË£¬Âóµ±À͵ļ¦³áºÍ¿ÏµÂ»ùµÄ¼¦³á¶¼ÊÇMM°®³ÔµÄ¶«Î÷£¬ËäÈ»¿ÚζÓÐËù²»Í¬£¬µ«²»¹ÜÄã´øMMÈ¥Âóµ±ÀÍ»ò¿ÏµÂ»ù£¬Ö»¹ÜÏò·þÎñԱ˵“À´Ëĸö¼¦³á”¾ÍÐÐÁË¡£Âóµ±ÀͺͿϵ»ù¾ÍÊÇÉú²ú¼¦³áµÄFactory
¹¤³§Ä£Ê½£º¿Í»§ÀàºÍ¹¤³§Àà·Ö¿ª¡£Ïû·ÑÕßÈκÎʱºòÐèҪijÖÖ²úÆ·£¬Ö»ÐèÏò¹ ......

javaÖжÔÏóµÄÐòÁл¯


ÐòÁл¯µÄ¹ý³Ì¾ÍÊǽ«¶ÔÏóдÈë×Ö½ÚÁ÷ºÍ´Ó×Ö½ÚÁ÷ÖжÁÈ¡¶ÔÏó¡£½«¶ÔÏó״̬ת»»³É×Ö½ÚÁ÷Ö®ºó£¬¿ÉÒÔÓÃjava.io°üÖеĸ÷ÖÖ×Ö½ÚÁ÷ÀཫÆä±£´æµ½ÎļþÖУ¬¿ÉÒÔͨ¹ý¹ÜµÀ»òÏ̶߳ÁÈ¡£¬»òͨ¹ýÍøÂçÁ¬½Ó½«¶ÔÏóÊý¾Ý·¢Ë͵½ÁíÒ»Ö÷»ú¡£¶ÔÏóÐòÁл¯¹¦Äܷdz£¼òµ¥¡¢Ç¿´ó£¬ÔÚRMI¡¢Socket¡¢JMS¡¢EJB¶¼ÓÐÓ¦Ó᣶ÔÏóÐòÁл¯ÎÊÌâÔÚÍøÂç±à³ÌÖв¢²»ÊÇ×¶¯ÈË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ