-
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
ÈÈ¶È -
»úÆ÷ѧϰ·½·¨£¨5£©£ºÂß¼»Ø¹éLogistic Regression£¬Softmax Regression
»úÆ÷ѧϰ·½·¨£¨Î壩£ºÂß¼»Ø¹éLogisticRegression£¬SoftmaxRegression»¶ÓתÔØ£¬×ªÔØÇë×¢Ã÷£º±¾Îijö×ÔBinµÄרÀ¸blog.csdn.net/xbinworld¡£¼¼Êõ½»Á÷QQȺ£º433250724£¬»¶Ó¶ÔËã·¨¡¢¼¼Êõ¡¢Ó¦ÓøÐÐËȤµÄͬѧ¼ÓÈ롣ǰÃæ½éÉܹýÏßÐԻعéµÄ»ù±¾ÖªÊ¶£¬ÏßÐԻعéÒòΪËüµÄ¼òµ¥£¬Ò×Óã¬ÇÒ¿ÉÒÔÇó³ö±ÕºÏ½â£¬±»¹ã·ºµØÔËÓÃÔÚ¸÷ÖÖ»úÆ÷ѧϰӦÓÃÖС£ÊÂʵÉÏ£¬³ýÁ˵¥¶ÀʹÓã¬Ïß...
552
ÈÈ¶È -
NFSÒì³£Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
NFS´íÎóStartingNFSquotas:Cannotregisterservice:RPC:Unabletoreceive;errno=ConnectionrefusedNFS±¨´íÒ»Àý[root@bjs0-~]#/etc/init.d/portreservestartStartingportreserve:[OK][root@bjs0-~]#/etc/init.d/nfsstartStart...
567
ÈÈ¶È -
Mysql1Ö÷¶à´ÓºÍ¶Áд·ÖÀëÅäÖüò¼Ç
MysqlÒ»Ö÷¶à´ÓºÍ¶Áд·ÖÀëÅäÖüò¼Ç½üÆÚ¿ª·¢µÄϵͳÖÐʹÓÃMySql×÷ΪÊý¾Ý¿â£¬ÓÉÓÚÊý¾ÝÉæ¼°µ½Money£¬ËùÒÔ²»µÃ²»É÷ÖØ¡£Í¬Ê±£¬Óû§¶Ô×î´ó·ÃÎÊÁ¿Ò²Ìá³öÁËÒªÇó¡£ÎªÁ˱ÜÃâMysql³ÉΪÐÔÄÜÆ¿¾±²¢¾ß±¸ºÜºÃµÄÈÝ´íÄÜÁ¦£¬ÌØ´ËʵÏÖÖ÷´ÓÈȱ¸ºÍ¶Áд·ÖÀë¡£Ôڴ˼ò×ö¼ÍÒª,ÒÔ±¸ÈÕºóËùÓã¡Ò»¡¢ÅäÖÃÖ÷´ÓÌõ¼þ£ºÁ½Ì¨PC£¬IP·Ö±ðΪ192.168.168.253,192.168.168.251¡£Á½Ì¨PCÉϵÄMysql°æ±¾Îª5.0...
95
ÈÈ¶È -
Êý¾ÝÍÚ¾òÊ®´ó¾µäËã·¨Ö®K×î±ÈÁÚËã·¨
Êý¾ÝÍÚ¾òÊ®´ó¾µäËã·¨Ö®K×î½üÁÚËã·¨k-×î½üÁÚËã·¨ÊÇ»ùÓÚʵÀýµÄѧϰ·½·¨ÖÐ×î»ù±¾µÄ£¬ÏȽéÉÜ»ùÓÚʵÀýѧϰµÄÏà¹Ø¸ÅÄî¡£»ùÓÚʵÀýµÄѧϰÒÑ֪һϵÁеÄѵÁ·ÑùÀý£¬ºÜ¶àѧϰ·½·¨ÎªÄ¿±êº¯Êý½¨Á¢ÆðÃ÷È·µÄÒ»°ã»¯ÃèÊö£»µ«Óë´Ë²»Í¬£¬»ùÓÚʵÀýµÄѧϰ·½·¨Ö»ÊǼòµ¥µØ°ÑѵÁ·ÑùÀý´æ´¢ÆðÀ´¡£´ÓÕâЩʵÀýÖзº»¯µÄ¹¤×÷±»ÍƳٵ½±ØÐë·ÖÀàеÄʵÀýʱ¡£Ã¿µ±Ñ§Ï°Æ÷Óöµ½Ò»¸öеIJéѯʵÀý£¬Ëü·ÖÎöÕâ¸öÐÂʵÀýÓëÒÔÇ°´æ´¢µÄʵÀýµÄ¹Øϵ£¬²¢¾Ý´Ë°ÑÒ»¸öÄ¿±êº¯ÊýÖµ¸³¸ø...
109
ÈÈ¶È -
TCP×¢²á¶Ë¿ÚºÅ´óÈ«
ÎÒÃÇÖªµÀ£¬TCP/UDPµÄ¶Ë¿ÚºÅÓÐÈý¸öÖÖÀࣺWellKnownPorts£¨¹«Óö˿ڣ©,thRegisteredPorts£¨×¢²á¶Ë¿Ú£©,ºÍDynamic/PrivatePorts£¨¶¯Ì¬/˽Óж˿ڣ©.¹«Óö˿ڴÓ0µ½1023£¬ËùÒÔ£¬ÎÒÃǵÄ˽Óö˿ںŲ»Ó¦¸ÃʹÓÃÕâ¸öÇø¼äÄڵĶ˿ڣ¬³ý·ÇÄãÏòIANA×¢²áÁË¡£×¢²áµÄÁ÷³Ì²Î¼ûÎĵµ×ÊÁÏ[RFC4340]£¬¼ûÕ½Ú19.9.×¢²á¶Ë¿ÚºÅ´Ó1024µ½49151£¬ËùÒÔ£¬ÄãÒ²²»Ó¦...
36652
ÈÈ¶È -
[Effective Java]µÚÁùÕ ö¾Ù¸ú×¢½â
[EffectiveJava]µÚÁùÕÂö¾ÙºÍ×¢½âµÚÁùÕÂö¾ÙºÍ×¢½â30¡¢ÓÃenum´úÌæint³£Á¿Ã¶¾ÙÀàÐÍÊÇÖ¸ÓÉÒ»×é¹Ì¶¨µÄ³£Á¿×é³ÉºÏ·¨ÖµµÄÀàÐÍ£¬ÀýÈçÒ»ÄêÖеļ¾½Ú»òÒ»¸±ÅÆÖеĻ¨É«¡£ÔÚûÒýÈëö¾Ùʱ£¬Ò»°ãÊÇÉùÃ÷Ò»×éint³£Á¿£¬Ã¿¸öÀàÐͳÉÔ±Ò»¸ö³£Á¿£ºpublicstaticfinalintAPPLE_FUJI=0;publicstaticfinalintAPPLE_PIPPIN=1;publicstaticfi...
188
ÈÈ¶È -
·ÖÎöAndroid³ÌÐòÖ®ÆÆÒëµÚÒ»¸ö³ÌÐò
·ÖÎöAndroid³ÌÐòÖ®ÆƽâµÚÒ»¸ö³ÌÐòÆƽâAndroid³ÌÐòͨ³£µÄ·½·¨Êǽ«apkÎļþÀûÓÃApkTool·´±àÒ룬Éú³ÉSmali格ʽµÄ·´»ã±à´úÂ룬ȻºóÔĶÁSmaliÎļþµÄ´úÂëÀ´Àí½â³ÌÐòµÄÔËÐлúÖÆ£¬ÕÒµ½³ÌÐòµÄÍ»ÆÆ¿Ú½øÐÐÐ޸ģ¬×îºóʹÓÃApkToolÖØбàÒëÉú³ÉapkÎļþ²¢Ç©Ãû£¬×îºóÔËÐвâÊÔ£¬Èç´ËÑ»·£¬Ö±ÖÁ³ÌÐò±»³É¹¦Æƽ⡣1.·´±àÒëAPKÎļþApkToolÊÇ¿çƽ̨µÄ¹¤¾ß£¬¿ÉÒÔÔÚwindowsƽ...
66
ÈÈ¶È -
Spring3 µ÷ÕûMyBatis3 ÅäÖöàÊý¾ÝÔ´ ¶¯Ì¬Ñ¡ÔñSqlSessionFactory
Spring3ÕûºÏMyBatis3ÅäÖöàÊý¾ÝÔ´¶¯Ì¬Ñ¡ÔñSqlSessionFactoryÒ»¡¢ÕªÒªÉÏÁ½ÆªÎÄÕ·ֱð½éÉÜÁËSpring3.3ÕûºÏHibernate3¡¢MyBatis3.2ÅäÖöàÊý¾ÝÔ´/¶¯Ì¬Çл»Êý¾ÝÔ´·½·¨ºÍSpring3ÕûºÏHibernate3.5¶¯Ì¬Çл»SessionFactory£¨Çл»Êý¾Ý¿â·½ÑÔ£©£¬ÕâƪÎÄÕ½«½éÉÜSpringÕûºÏMybatisÈçºÎÍê³ÉSqlSessionFactoryµÄ...
78
ÈÈ¶È -
Android ÔõôÔÚ×Ô¶¨Òå½çÃæÏÂÆôÓÃÊäÈë·¨ (How to enable inputmethod for the custom UI) ת
AndroidÈçºÎÔÚ×Ô¶¨Òå½çÃæÉÏÆôÓÃÊäÈë·¨(HowtoenableinputmethodforthecustomUI)תÔÚandroidÖо³£»á×Ô¶¨Òå×é¼þ£¬×Ô¶¨ÒåµÄ×é¼þ¿ÉÒÔͨ¹ý¼Ì³ÐϵͳµÄÒѾÓеÄ×é¼þÀ´ÊµÏÖ¡£Ò²¿ÉÒÔÖ±½Ó¼Ì³Ð×ÔView»òÕßÊÇSurfaceView½çÃæ¡£ÓÐʱºòÏëÔÚÕâЩ½çÃæÖÐÊäÈëÎÄ×Ö£¬ÀýÈçÓÎÏ·Öо³£Óõ½µÄSurfaceViewÉÏÈÃÓû§ÊäÈëÎÄ×Ö¡£ÓÉÓÚ¶àÊýandroid¶¼Ã»ÓÐʵÌåµÄÊäÈë¼üÅÌ£¬Áí...
195
ÈÈ¶È -
Android¼òÂÔ¡¢¿ìËÙµÄÍøÂç¿â: Volley ( Google IO 2013 )
Android¼òµ¥¡¢¿ìËÙµÄÍøÂç¿â:Volley(GoogleIO2013)1¡¢Ê²Ã´ÊÇvolleyVolleyÊÇFicusKirpatrickÔÚGooogleI/O2013·¢²¼µÄÒ»¸ö´¦ÀíºÍ»º´æÍøÂçÇëÇóµÄ¿â£¬ÄÜʹÍøÂçͨПü¿ì£¬¸ü¼òµ¥£¬¸ü½¡×³¡£VolleyÃû³ÆµÄÓÉÀ´£ºaburstoremissionofmanythingsoralargeamountatonce¡£ÔÚGoogleIOµÄÑݽ²ÉÏ£¬ÆäÅäͼÊÇÒ»·ù...
33
ÈÈ¶È -
androidÔ´Âë½âÎö-Handler
androidÔ´Âë½âÎö--HandlerHandlerÊÇÓÃÓÚ·¢Ëͺʹ¦ÀíÏûÏ¢ºÍÒ»¸öÏ̵߳ÄMessageQueueÏà¹ØÁªµÄRunable¶ÔÏó¡£Ã¿¸öHandlerʵÀý¹ØÁªµ½Ò»¸öµ¥Ò»Ï̺߳ÍÏ̵߳Ämessagequeue¡£µ±Äú´´½¨Ò»¸öHandler,´ÓÄã´´½¨ËüµÄʱºò¿ªÊ¼£¬Ëü¾Í°ó¶¨µ½´´½¨ËüµÄÏß³ÌÒÔ¼°¶ÔÓ¦µÄÏûÏ¢¶ÓÁУ¬handler½«·¢ËÍÏûÏ¢µ½ÏûÏ¢¶ÓÁУ¬²¢´¦Àí´ÓÏûÏ¢¶ÓÁÐÖÐÈ¡³öµÄÏûÏ¢¡£HandlerµÄÖ÷ÒªÓÃ;ÓÐÁ½¸ö...
87
ÈÈ¶È -
ANDROIDÓïÒôʶ±ðʾ·¶
ANDROIDÓïÒôʶ±ðʾÀýÎÒÃÇÏÖÔÚͨ¹ýÒ»¸öСµÄʾÀý³ÌÐòչʾÈçºÎÔÚÓ¦ÓÃÖÐʹÓÃÓïÒôËÑË÷¡£ÎÒÃǵÄÓ¦ÓÃÐèÒªÍê³ÉÒÔÏÂÈÎÎñ£ºÊÕµ½ÓïÒôʶ±ðÇëÇó¼ì²éÓïÒôʶ±ðÓ¦ÓõĿÉÓÃÐÔÈç¹ûÓïÒôʶ±ð¿ÉÓã¬È»ºóµ÷ÓÃÒâͼ²¢½ÓÊÕ½á¹ûÈç¹ûÓïÒôʶ±ð²»¿ÉÓã¬È»ºó»áÏÔʾһ¸ö°²×°GoogleÓïÒôËÑË÷µÄ»á»°£¬²¢½«Óû§Öض¨ÏòÖÁGooglePlay¡£Ê×ÏÈ£¬ÎÒÃÇÐèÒª´´½¨Ò»¸öÀ࣬ΪÓïÒôʶ±ðʵÏÖÂß¼¡£µ÷ÓÃÀà?SpeechRecognitionHelper£¬´Ë...
13
ÈÈ¶È -
zabbix¼à¿ØmysqlµÄQPS¸úTPSµÄpythonд·¨
zabbix¼à¿ØmysqlµÄQPSºÍTPSµÄpythonд·¨#!/usr/bin/envpython#coding=utf-8?importsysimportosimportcommands?classQpsTps(object):def__init__(self):self.QPS=''self.TPS=''defgetQps(self):(Queries,QPS_result)=command...
478
ÈȶÈ