-
androidÄÚºËÆʽâѧϰ±Ê¼Ç£ºAMS£¨ActivityManagerService£©ÄÚ²¿ÔÀíºÍ¹¤×÷»úÖÆ
androidÄÚºËÆÊÎöѧϰ±Ê¼Ç£ºAMS£¨ActivityManagerService£©ÄÚ²¿ÔÀíºÍ¹¤×÷»úÖÆÒ»¡¢ActivityManagerServiceÌṩµÄÖ÷Òª¹¦ÄÜ£º£¨1£©Í³Ò»µ÷¶È¸÷Ó¦ÓóÌÐòµÄActivity£¨2£©ÄÚ´æ¹ÜÀí£¨3£©½ø³Ì¹ÜÀí¶þ¡¢Æô¶¯Ò»¸öActivityµÄ·½Ê½ÓÐÒÔϼ¸ÖÖ£º£¨1£©ÔÚÓ¦ÓóÌÐòÖе÷ÓÃstartActivityÆô¶¯Ö¸¶¨µÄActivity£¨2£©ÔÚHome³ÌÐòÖе¥»÷Ò»¸öÓ¦ÓÃͼ±ê£¬Æô...
89
ÈÈ¶È -
[Effective Java]µÚËÄÕ Àà¸ú½Ó¿Ú
[EffectiveJava]µÚËÄÕÂÀàºÍ½Ó¿ÚµÚËÄÕÂÀàºÍ½Ó¿Ú13¡¢Ê¹ÀàºÍ³ÉÔ±µÄ¿É·ÃÎÊÐÔ×îС»¯ÒªÇø±ðÉè¼ÆÁ¼ºÃµÄÄ£¿éÓëÉè¼Æ²»ºÃµÄÄ£¿é£¬×îºóÖØÒªµÄÒòËØÔÚÓÚ£¬Õâ¸öÄ£¿é¶ÔÓÚÍⲿµÄÆäËûÄ£¿é¶øÑÔ£¬ÊÇ·ñÒþ²ØÆäÄÚ²¿ÁËÊý¾ÝºÍÆäËûʵÏÖϸ½Ú¡£Éè¼ÆÁ¼ºÃµÄÄ£¿é»áÒþ²ØËùÓеÄʵÏÖϸ½Ú£¬°ÑËüµÄAPIÓëËüµÄʵÏÖÇåÎúµØ¸ôÀ뿪À´¡£È»ºó£¬Ä£¿éÖ®¼äֻͨ¹ýËüÃǵÄAPI½øÐÐͨÐÅ£¬Ò»¸öÄ£¿é²»ÒªÖªµÀÆäËûÄ£¿éµÄÄÚ²¿¹¤×÷Çé¿ö¡£Õâ¸ö¸ÅÄî±»³ÆΪÐÅÏ¢Òþ²Ø»ò·â×°...
324
ÈÈ¶È -
androidÏà»ú
androidÕÕÏà»úʹÓÃÏà»úµÄÁ½ÖÖ·½Ê½£º1ʹÓÃIntentÌøתµ½ÏµÍ³Ïà»ú,actionΪ:android.media.action.STILL_IMAGE_CAMERAÕâÖз½·¨Ò»°ãÊÇ×î³£Óõķ½±ã¼òµ¥±Ï¾¹×Ô¶¨ÒåÏà»ú±È½Ï¸´ÔÓ¶øÇÒ»¨·Ñʱ¼ä±È½Ï³¤´úÂëƬ¶Î£¬Ë«»÷¸´ÖÆ010203040506070809101112131415161718192021222324252627282930313233343536...
86
ÈÈ¶È -
<ת>AndroidÖеĶԻ°¿òAlertDialogÓ¦Óü¼Çɺϼ¯
<ת>AndroidÖеĶԻ°¿òAlertDialogʹÓü¼Çɺϼ¯?ÎÄÕÂÀ´×Ô£ºhttp://blog.csdn.net/blue6626/article/details/6641105½ñÌìÎÒÓÃ×Ô¼ºÐ´µÄÒ»¸öDemoºÍ´ó¼ÒÏêϸ½éÉÜÒ»¸öAndroidÖеĶԻ°¿òµÄʹÓü¼ÇÉ¡£?1.È·¶¨È¡Ïû¶Ô»°¿ò¶Ô»°¿òÖÐÓÐ2¸ö°´Å¥??ͨ¹ýµ÷ÓÃsetPositiveButton·½·¨ºÍsetNegativeButton...
67
ÈÈ¶È -
C# Èí¼þ¹¤³Ìʦ×î³£·¸µÄ 10 ¸öÒì³£
C#³ÌÐòÔ±×î³£·¸µÄ10¸ö´íÎó¹ØÓÚC#C#ÊÇ´ï³É΢Èí¹«¹²ÓïÑÔÔËÐп⣨CLR£©µÄÉÙÊýÓïÑÔÖеÄÒ»ÖÖ¡£´ï³ÉCLRµÄÓïÑÔ¿ÉÒÔÊÜÒæÓÚÆä´øÀ´µÄÌØÐÔ£¬Èç¿çÓïÑÔ¼¯³É¡¢Òì³£´¦Àí¡¢°²È«ÐÔÔöÇ¿¡¢²¿¼þ×éºÏµÄ¼òÒ×Ä£ÐÍÒÔ¼°µ÷ÊԺͷÖÎö·þÎñ¡£×÷ΪÏÖ´úµÄCLRÓïÑÔ£¬C#ÊÇÓ¦ÓÃ×îΪ¹ã·ºµÄ£¬ÆäÓ¦Óó¡¾°Õë¶ÔWindows×ÀÃæ¡¢Òƶ¯ÊÖ»úÒÔ¼°·þÎñÆ÷»·¾³µÈ¸´ÔÓ¡¢×¨ÒµµÄ¿ª·¢ÏîÄ¿¡£C#ÊÇÖÖÃæÏò¶ÔÏóµÄÇ¿ÀàÐÍÓïÑÔ¡£C#ÔÚ±àÒëºÍÔËÐÐʱ¶¼ÓеÄÇ¿ÀàÐͼì²é£¬Ê¹...
101
ÈÈ¶È -
eclipse¿ì½Ý¼ü¹é²Ø
eclipse¿ì½Ý¼üÊղرà¼×÷ÓÃÓò¹¦ÄÜ¿ì½Ý¼üÈ«¾Ö²éÕÒ²¢Ìæ»»Ctrl+FÎı¾±à¼Æ÷²éÕÒÉÏÒ»¸öCtrl+Shift+KÎı¾±à¼Æ÷²éÕÒÏÂÒ»¸öCtrl+KÎı¾±à¼Æ÷ɾ³ýµ±Ç°ÐÐCtrl+DÎı¾±à¼Æ÷µ±Ç°ÐеÄÏÂÒ»ÐвåÈë¿ÕÐÐShift+EnterÎı¾±à¼Æ÷µ±Ç°ÐвåÈë¿ÕÐÐCtrl+Shift+EnterÎı¾±à¼Æ÷¶¨Î»µ½×îºó±à¼µÄλÖÃCtrl+QÈ«¾Ö»Ö¸´ÉÏÒ»¸öÑ¡ÔñAlt+Shift+¡ýÈ«¾Ö¿ìËÙÐÞÕýCtrl+1È«¾ÖÄÚ...
41
ÈÈ¶È -
[Effective Java]µÚÈýÕ ¶ÔÈ«²¿¶ÔÏó¶¼Í¨Óõķ½·¨
[EffectiveJava]µÚÈýÕ¶ÔËùÓжÔÏó¶¼Í¨Óõķ½·¨µÚÈýÕ¶ÔËùÓжÔÏó¶¼Í¨Óõķ½·¨8¡¢¸²¸ÇequalsʱÇë×ñÊØͨÓÃÔ¼¶¨Èç¹ûÀà¾ßÓÐ×Ô¼ºÌض¨µÄ“Âß¼ÏàµÈ”¸ÅÄ²»Í¬ÓÚ¶ÔÏóµÈͬ¸ÅÄ£¬¶øÇÒ³¬À໹ûÓи²¸ÇequalsÒÔʵÏÖÆÚÍûµÄÐÐΪ£¬ÕâʱÎÒÃǾÍÐèÒª¸²¸Çequals·½·¨£¬Õâͨ³£ÊôÓÚ“ÖµÀà”µÄÇéÐΣ¬ÀýÈçInteger»òÕßÊÇData£¬³ÌÐòÔ±ÔÚÀûÓÃequals·½...
373
ÈÈ¶È -
AndroidʼþÉ¢·¢»úÖÆÍêÈ«½âÎö£¬´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½â
Androidʼþ·Ö·¢»úÖÆÍêÈ«½âÎö£¬´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½âÆäʵÎÒÒ»Ö±×¼±¸Ð´Ò»Æª¹ØÓÚAndroidʼþ·Ö·¢»úÖƵÄÎÄÕ£¬´ÓÎҵĵÚһƪ²©¿Í¿ªÊ¼£¬¾ÍÁãÁãɢɢÔںöàµØ·½Ê¹Óõ½ÁËAndroidʼþ·Ö·¢µÄ֪ʶ¡£Ò²ÓкöàÅóÓÑÎʹýÎÒ¸÷ÖÖÎÊÌ⣬±ÈÈ磺onTouchºÍonTouchEventÓÐʲôÇø±ð£¬ÓÖ¸ÃÈçºÎʹÓã¿ÎªÊ²Ã´¸øListViewÒýÈëÁËÒ»¸ö»¬¶¯²Ëµ¥µÄ¹¦ÄÜ£¬ListView¾Í²»Äܹö¶¯ÁË£¿ÎªÊ²Ã´Í¼Æ¬ÂÖ²¥Æ÷ÀïµÄͼ...
41
ÈÈ¶È -
Android so lib¿âԶ·httpÏÂÔغͶ¯Ì¬×¢²á
Androidsolib¿âÔ¶³ÌhttpÏÂÔغͶ¯Ì¬×¢²áÒ»¡¢±³¾°???ÔÚ¿ª·¢AndroidÓ¦ÓóÌÐòµÄʵÏÖ£¬ÓÐʱºòÐèÒªÒýÈëµÚÈý·½solib¿â£¬µ«µÚÈý·½so¿â±È½Ï´ó£¬ÀýÈ翪ԴµÚÈý·½²¥·Å×é¼þffmpeg¿â,Èç¹ûÖ±½Ó´ò°üµÄapk°üÀïÃæ,Õû¸öÓ¦ÓóÌÐò»á´óºÜ¶à.¾¹ý²éÔÄ×ÊÁϺÍʵÑ飬·¢ÏÖͨ¹ýÔ¶³ÌÏÂÔØsoÎļþ£¬È»ºóÔÙ¶¯Ì¬×¢²ásoÎļþʱ¿ÉÐеġ£Ö÷ÒªÐèÒª½â¾öÏÂÔØsoÎļþ´æ·ÅλÖÃÒÔ¼°Îļþ¶ÁдȨÏÞÎÊÌâ¡£?¶þ¡¢Ö÷Ҫ˼·?1¡¢Ê×...
40
ÈÈ¶È -
½â¾öAndroid¼ÓÔØͼƬʱÄÚ´æÒç³öµÄÓйØÎÊÌâ
½â¾öAndroid¼ÓÔØͼƬʱÄÚ´æÒç³öµÄÎÊÌâ?¾¡Á¿²»ÒªÊ¹ÓÃsetImageBitmap»òsetImageResource»òBitmapFactory.decodeResourceÀ´ÉèÖÃÒ»ÕÅ´óͼ£¬ÒòΪÕâЩº¯ÊýÔÚÍê³Édecodeºó£¬×îÖÕ¶¼ÊÇͨ¹ýjava²ãµÄcreateBitmapÀ´Íê³ÉµÄ£¬ÐèÒªÏûºÄ¸ü¶àÄÚ´æ¡£?Òò´Ë£¬¸ÄÓÃÏÈͨ¹ýBitmapFactory.decodeStream·½·¨£¬´´½¨³öÒ»¸öbitmap...
19
ÈÈ¶È -
phpredisººÓïÑÔÊֲᡪ¡ª¡¶redisÖÐÎÄÊֲᡷ php°æ
phpredisÖÐÎÄÊֲᡪ¡ª¡¶redisÖÐÎÄÊֲᡷphp°æredisÖÐÎÄÊֲ᣺http://readthedocs.org/docs/redis/en/latest/?±¾ÎÄÊDzο¼¡¶redisÖÐÎÄÊֲᡷ£¬½«Ê¾Àý´úÂëÓÃphpÀ´ÊµÏÖ£¬×¢Òâphp-redisÓëredis_cliµÄÇø±ð£¨Ö÷ÒªÊÇ·µ»ØÖµÀàÐͺͲÎÊýÓ÷¨£©¡£Ä¿Â¼(ʹÓÃCTRL+F¿ìËÙ²éÕÒÃüÁî)£ºKeyStringHashListSet¼ü(Key)D...
37
ÈÈ¶È -
ÓÃPHPʵÏÖÒ»¸ö¸ßЧÂÊ°²È«µÄftp·þÎñÆ÷£¨¶þ£©
ÓÃPHPʵÏÖÒ»¸ö¸ßЧ°²È«µÄftp·þÎñÆ÷£¨¶þ£©½ÓÇ°ÎÄ¡£1.ʵÏÖÓû§ÀàCUser¡£Óû§µÄ´æ´¢²ÉÓÃÎı¾ÐÎʽ£¬½«Óû§Êý×é½øÐÐjson±àÂë¡£Óû§Îļþ¸ñʽ£º*array(*'user1'=>array(*'pass'=>'',*'group'=>'',*'home'=>'/home/ftp/',//ftpÖ÷Ŀ¼*'active'=>true,*'expired=>'2015...
41
ÈÈ¶È -
Android Developers:̨ÀúÌṩÕß
AndroidDevelopers:ÈÕÀúÌṩÕß<?xmlversion="1.0"encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"...><uses-sdkandroid:minSdkVe...
53
ÈÈ¶È -
Android ÄÚ´æÒç³ö½â¾ö·½°¸£¨OOM£© ÊÕÊ°×ܽá
AndroidÄÚ´æÒç³ö½â¾ö·½°¸£¨OOM£©ÕûÀí×ܽáÔÚ×î½ü×öµÄ¹¤³ÌÖз¢ÏÖ¼ÓÔصÄͼƬ̫¶à»òͼƬ¹ý´óʱ¾³£³öÏÖOOMÎÊÌ⣬ÕÒÍøÉÏ×ÊÁÏÒ²ÌṩÁ˺ܶ෽·¨£¬µ«×Ô¼º¸Ð¾õÓеãÂÒ£¬ÌØ´Ë£¬½ñÌìÔÚ²»Í¬ÐͺŵÄÈý¿î°²×¿ÊÖ»úÉÏ×öÁ˲âÊÔ£¬ÒòΪÓÐЧ¹ûÒ²Óнá¹û£¬½ñÌìСÂí¾Í×ö¸öÏêϸµÄ×ܽᣬÒÔ¹©ÅóÓÑÃǹ²Í¬½»Á÷ѧϰ£¬Ò²¹©×Ô¼ºÒÔºóÔÚ½â¾öOOMÎÊÌâÉÏÓÐËùÌá¸ß£¬ÌáÇ°½²Ï£¬Æ¬·ùÓе㳤£¬Éæ¼°µÄ¶«Î÷Ì«¶à£¬´ó¼ÒÄÍÐÄ¿´£¬¿Ï¶¨ÓÐÊÕ»ñµÄ£¬ÀïÃæµÄºÜ¶à¶«Î÷СÂíÒ²...
88
ÈÈ¶È -
AndroidʼþÉ¢·¢»úÖÆÍêÈ«½âÎö ontouch
Androidʼþ·Ö·¢»úÖÆÍêÈ«½âÎöontouchתÔØÇë×¢Ã÷³ö´¦£ºhttp://blog.csdn.net/guolin_blog/article/details/9097463ÆäʵÎÒÒ»Ö±×¼±¸Ð´Ò»Æª¹ØÓÚAndroidʼþ·Ö·¢»úÖƵÄÎÄÕ£¬´ÓÎҵĵÚһƪ²©¿Í¿ªÊ¼£¬¾ÍÁãÁãɢɢÔںöàµØ·½Ê¹Óõ½ÁËAndroidʼþ·Ö·¢µÄ֪ʶ¡£Ò²ÓкöàÅóÓÑÎʹýÎÒ¸÷ÖÖÎÊÌ⣬±ÈÈ磺onTouchºÍonTouchEventÓÐʲôÇø±ð£¬...
48
ÈÈ¶È -
Android ʹÓÃNineOldAndroidsʵÏÖѤÀõÄListView×óÓÒ»¬¶¯É¾³ýItemЧ¹û
AndroidʹÓÃNineOldAndroidsʵÏÖѤÀöµÄListView×óÓÒ»¬¶¯É¾³ýItemЧ¹ûתÔØÇë×¢Ã÷±¾Îijö×ÔxiaanmingµÄ²©¿Í£¨http://blog.csdn.net/xiaanming/article/details/18311877£©£¬Çë×ðÖØËûÈ˵ÄÐÁÇÚÀͶ¯³É¹û£¬Ð»Ð»£¡½ñÌ컹ÊǸø´ó¼Ò´øÀ´×Ô¶¨Òå¿Ø¼þµÄ±àд£¬×Ô¶¨ÒåÒ»¸öListViewµÄ×óÓÒ»¬¶¯É¾³ýItemµÄЧ¹û£¬Õâ¸öЧ¹û֮ǰÒѾʵÏÖ...
58
ÈÈ¶È -
Android´®¿Ú²Ù×÷£¬¼òµ¥»¯android-serialport-apiµÄdemo
Android´®¿Ú²Ù×÷£¬¼ò»¯android-serialport-apiµÄdemo??×î½üÔÚ×öandroid´®¿ÚµÄ¿ª·¢£¬ÕÒµ½Ò»¸ö¿ªÔ´µÄ´®¿ÚÀàandroid-serialport-api¡£ÆäÖ÷Ò³ÔÚÕâÀïhttp://code.google.com/p/android-serialport-api/?£¬ÕâÀï¿ÉÒÔϵ½APK¼°¶ÔÔ´Âë¡£??µ«ÊÇÏÂÔØÔ´ÂëÖ®ºó·¢ÏÖÔ´Âë²»ÄÜÖ±½ÓʹÓ㬶øÇÒÔ´Âë½á¹¹½ÏΪ¸´ÔÓ¡£¹ØÓÚ´®¿ÚµÄ...
671
ÈÈ¶È -
android Homeʼþ¼¯½õ
androidHomeʼþ»ã×Ü·½·¨Ò»£ºandroid4.0ÒÔºóÎÞ·¨Í¨¹ý¸ü¸ÄÒ³ÃæµÄÀàÐÍÀ´¼àÌýhome¼üÁË¡£Èç¹û²»¸ÄÔ´ÂëµÄÇé¿öÏ£¬ÏÂÃæµÄ·½Ê½¿ÉÒԺܺõļàÌýµ½home¼ü£¨Ç°ÌáÊÇÊÖ»ú´òϵͳÈÕÖ¾£¬ÓÐЩÊÖ»úÈÕÖ¾±»¹Ø±ÕÁË£¨È绪ΪÈÙÒ«£©¾ÍÎÞ·¨¼àÌýÁË£©¡£01protected?void?onResume()02????{03???????super.onResume();04???????isTesting=tru...
20
ÈÈ¶È -
AndroidÖл¬ÆÁʵÏÖ-ÊÖ°ÑÊÖ½ÌÄãÔõôʵÏÖ´¥Ãþ»¬ÆÁÒÔ¼°ScrollerÀàÏê½â
AndroidÖл¬ÆÁʵÏÖ----ÊÖ°ÑÊÖ½ÌÄãÈçºÎʵÏÖ´¥Ãþ»¬ÆÁÒÔ¼°ScrollerÀàÏê½â?תÔØÇë×¢Ã÷³ö´¦£ºhttp://blog.csdn.net/qinjuning????????????Ç°ÑÔ£º?ËäÈ»±¾ÎıêÌâµÄÓеã±êÌâµ³µÄ¸Ð¾õ£¬µ«ÎÞÂÛÈçºÎ£¬Í¨¹ýÕâƪÎÄÕµÄѧϰÒÔ¼°Äã×Ô¼ºµÄʵ¼ùÈÏÖª£¬Ð´¸ö¼òµ¥µÄ»¬ÆÁС???Demo»¹ÊÇjust?sosoµÄ¡£????????ÓÑÇéÌáʾ£º???????????ÔÚ¼ÌÐøÍùÏÂÃæ¶Á֮ǰ...
22
ÈÈ¶È -
C#¶ÁÈ¡ExcelµÄÈýÖÖÐÎʽÒÔ¼°±È½Ï
C#¶ÁÈ¡ExcelµÄÈýÖÖ·½Ê½ÒÔ¼°±È½Ï£¨1£©OleDB·½Ê½Óŵ㣺½«ExcelÖ±½Óµ±×öÊý¾ÝÔ´´¦Àí£¬Í¨¹ýSQLÖ±½Ó¶ÁÈ¡ÄÚÈÝ£¬¶ÁÈ¡ËٶȽϿ졣ȱµã£º¶ÁÈ¡Êý¾Ý·½Ê½²»¹»Áé»î£¬ÎÞ·¨Ö±½Ó¶Áȡijһ¸öµ¥Ôª¸ñ£¬Ö»Óн«Õû¸öSheetÒ³¶ÁÈ¡³öÀ´ºó£¨½á¹ûΪDatatable£©ÔÙÔÚDatatableÖиù¾ÝÐÐÁÐÊýÀ´»ñÈ¡Ö¸¶¨µÄÖµ¡£ ...
329
ÈȶÈ