-
Android-ServiceÍêÈ«½âÎö£¬¹ØÓÚ·þÎñÄúËùÐèÖªµÀµÄÒ»ÇÐ(ÏÂ)
Android--ServiceÍêÈ«½âÎö£¬¹ØÓÚ·þÎñÄãËùÐèÖªµÀµÄÒ»ÇÐ(ÏÂ)ÔÚÉÏһƪÎÄÕÂÖУ¬ÎÒÃÇѧϰÁËAndroidServiceÏà¹ØµÄÐí¶àÖØÒªÄÚÈÝ£¬°üÀ¨ServiceµÄ»ù±¾Ó÷¨¡¢ServiceºÍActivity½øÐÐͨÐÅ¡¢ServiceµÄÏú»Ù·½Ê½¡¢ServiceÓëThreadµÄ¹Øϵ¡¢ÒÔ¼°ÈçºÎ´´½¨Ç°Ì¨Service¡£ÒÔÉÏËùÌáµ½µÄÕâЩ֪ʶµã£¬»ù±¾ÉϺ¸ÇÁ˴󲿷ÖÈÕ³£¿ª·¢¹¤×÷µ±ÖпÉÄÜʹÓõ½µÄService¼¼Êõ...
370
ÈÈ¶È -
Android ServiceÍêÈ«½âÎö£¬¹ØÓÚ·þÎñÄúËùÐèÖªµÀµÄÒ»ÇÐ(ÏÂ)-½ø³Ì¼äͨÐÅ
AndroidServiceÍêÈ«½âÎö£¬¹ØÓÚ·þÎñÄãËùÐèÖªµÀµÄÒ»ÇÐ(ÏÂ)-½ø³Ì¼äͨÐÅתÔØÇë×¢²á³ö´¦£ºhttp://blog.csdn.net/guolin_blog/article/details/9797169ÔÚÉÏһƪÎÄÕÂÖУ¬ÎÒÃÇѧϰÁËAndroidServiceÏà¹ØµÄÐí¶àÖØÒªÄÚÈÝ£¬°üÀ¨ServiceµÄ»ù±¾Ó÷¨¡¢ServiceºÍActivity½øÐÐͨÐÅ¡¢ServiceµÄÏú»Ù·½Ê½¡¢ServiceÓëTh...
340
ÈÈ¶È -
1¡¢Hello, Kotlin
¡¾Bugly¼¼Êõ¸É»õ¡¿Android¿ª·¢±Ø±¸ÖªÊ¶£ºÎªÊ²Ã´ËµKotlinÖµµÃÒ»ÊÔ1¡¢Hello,KotlinBugly¼¼Êõ¸É»õϵÁÐÄÚÈÝÖ÷ÒªÉæ¼°Òƶ¯¿ª·¢·½Ïò£¬ÊÇÓÉBuglyÑûÇëÌÚѶÄÚ²¿¸÷λ¼¼Êõ´ó¿§£¬Í¨¹ýÈÕ³£¹¤×÷¾ÑéµÄ×ܽáÒÔ¼°¸ÐÎò׫д¶ø³É£¬ÄÚÈݾùÊôÔ´´£¬×ªÔØÇë±êÃ÷³ö´¦¡£1.1KotlinµÄÉíÊÀдÁËÐí¾ÃJava£¬ÓÐûÓз¢ÏÖÆäʵÄãдÁËÌ«¶àÈßÓàµÄ´úÂ룿ºóÀ´ÄãÌåÑéÁËÒ»ÏÂPython£¬ÓÐûÓоõµÃ²»Ð´·ÖºÅµÄ¸Ð¾õÕæÊÇ...
118
ÈÈ¶È -
ÓÃjavaʵÏÖÐÂÀËÅÀ³æ,´úÂëÍêÕû±æÎö(½öÕë¶Ôµ±Ç°SinaSignOnÓÐЧ)
ÓÃjavaʵÏÖÐÂÀËÅÀ³æ,´úÂëÍêÕûÆÊÎö(½öÕë¶Ôµ±Ç°SinaSignOnÓÐЧ)ÏÈÀ´¿´ÎÒÃǵÄweb.xmlÎļþ£¬ÈçÏÂ1<!DOCTYPEweb-appPUBLIC2"-//SunMicrosystems,Inc.//DTDWebApplication2.3//EN"3"http://java.sun.com/dtd/web-app_2_3.dtd">45<web-app>6<...
40
ÈÈ¶È -
Androidʼþ×ÜÏß»¹ÄÜÈçºÎÍæ
Androidʼþ×ÜÏß»¹ÄÜÔõôÍ棿¹ËÃû˼Ò壬AndroidEventBus£¨githubÁ´½Ó:https://github.com/bboyfeiyu/AndroidEventBus£©ÊÇÒ»¸öAndroidƽ̨µÄʼþ×ÜÏß¿ò¼Ü£¬Ëü¼ò»¯ÁËActivity¡¢Fragment¡¢ServiceµÈ×é¼þÖ®¼äµÄ½»»¥£¬ºÜ´ó³Ì¶ÈÉϽµµÍÁËËüÃÇÖ®¼äµÄñîºÏ£¬Ê¹ÎÒÃǵĴúÂë¸ü¼Ó¼ò½à£¬ñîºÏÐÔ¸üµÍ£¬ÌáÉýÁËÎÒÃǵĴúÂëÖÊÁ¿¡£µ«ËüÄÜ×öµÄÈ´...
61
ÈÈ¶È -
Ë÷ÒýÓësqlÓÅ»¯ÓйØÎÊÌâ»ã×Ü
Ë÷ÒýÓësqlÓÅ»¯ÎÊÌâ»ã×ܸ÷λÇ×°®µÄÔÆÓÑ£¬·Ç³£¸Ðл´ó¼ÒÓ»Ô¾²Î¼ÓDBAר¼ÒÃÅÕïÒ»ÆÚ£ºË÷ÒýÓësqlÓÅ»¯£¬ºÜ¶àÔÆÓѶ¼Ìá³öÁË×Ô¼ºµÄÎÊÌ⣬ÃÅÕïÖ÷ÈÎҽʦÐþ²Ñ¶Ô´ó¼ÒÌáµÄÎÊÌâÒ»Ò»×÷Á˽â´ð¡£ÏÖÒÑÕûÀíºÃÕâЩÎÊÌ⣬·ÖÏíÔÚ´Ë£¬»¶ÓÀ´Ä㬾ø¶Ô¸É»õ£¡Æª·ù½Ï³¤£¬ÄÍÐÄϸ¿´£¡ÎÒÃǽ«ÔùËÍÿλÌáÎÊÕßÿÈËÒ»±¾ÁèÔÆÔÓÖ¾µÚËÄÆÚ£¬Çë¸÷λÒÔÂÛ̳¶ÌÏûÏ¢ÐÎʽ½«ÐÕÃû¡¢µç»°¡¢µØÖ··¢Ë͸ø¹ÜÀíÔ±xiaofanqie¡£°¡ÀïÐÂÈË£¨Q1£©£ºË÷ÒýÎÒÒ»°ã¶¼ÊÇÖ»ÓÐÖ÷¼ü£¬...
68
ÈÈ¶È -
MyBatis(5)¡¢¶¯Ì¬SQLÓï¾ä
MyBatis(Îå)¡¢¶¯Ì¬SQLÓï¾ä?ÓÐЩʱºò£¬sqlÓï¾äwhereÌõ¼þÖУ¬ÐèҪһЩ°²È«Åжϣ¬ÀýÈ簴ijһÌõ¼þ²éѯʱÈç¹û´«ÈëµÄ²ÎÊýÊÇ¿Õ£¬´Ëʱ²éѯ³öµÄ½á¹ûºÜ¿ÉÄÜÊǿյģ¬Ò²ÐíÎÒÃÇÐèÒª²ÎÊýΪ¿Õʱ£¬ÊDzé³öÈ«²¿µÄÐÅÏ¢¡£Ê¹ÓÃOracleµÄÐòÁС¢mysqlµÄº¯ÊýÉú³ÉId¡£ÕâʱÎÒÃÇ¿ÉÒÔʹÓö¯Ì¬sql¡£???????ÏÂÎľù²ÉÓÃmysqlÓï·¨ºÍº¯Êý£¨ÀýÈç×Ö·û´®Á´½Óº¯ÊýCONCAT£©¡£??3.1selectKey?±êÇ©?...
24
ÈÈ¶È -
androidƽ°åϵÄGridViewÊÓͼ»º´æÓÅ»¯
androidƽ°åÉϵÄGridViewÊÓͼ»º´æÓÅ»¯?±¾ÎÄÀ´×Ôhttp://blog.csdn.net/hellogv/?£¬ÒýÓñØÐë×¢Ã÷³ö´¦£¡?????×î½üÔÚ×öandroidƽ°åÉϵĿª·¢£¬ÆäÖÐÉæ¼°µ½¸ß·Ö±æÂÊÖ®ÏÂʹÓÃGridViewµÄÐÔÄÜÎÊÌâ¡£ÔÚAndroidÊÖ»úÈí¼þ¿ª·¢ÖУ¬Èç¹ûÔÚListView»òÕßGridViewÉÏʹÓôóÊýÁ¿Item£¬ºÜ¶àÈ˶¼»áÏëµ½ViewHolder......û´í£¬ViewHo...
16
ÈÈ¶È -
android UI½ø½×Ö®×Ô¶¨Òå½áºÏ¿Ø¼þ
androidUI½ø½×Ö®×Ô¶¨Òå×éºÏ¿Ø¼þºÃ¾Ãûд²©¿ÍÁË¡£ÊµÔÚÊÇæ²»¹ýÀ´£¬²»¹ýÔÙ²»×ܽá×ܽáÕæµÄ²»ÐÐÁË¡£ÂýÂýÀ´°É£¬ÓкöàÐèҪȥ×ܽáµÄ£¬²©¿ÍÀﻹÊǼǼui·½ÃæµÄ¡£½ñÌìºÍ´ó¼Ò·ÖÏíÏÂ×éºÏ¿Ø¼þµÄʹÓ᣺ܶàʱºòandroid×Ô¶¨Òå¿Ø¼þ²¢²»ÄÜÂú×ãÐèÇó£¬ÈçºÎ×öÄØ£¿ºÜ¶à·½·¨£¬¿ÉÒÔ×Ô¼º»æÖÆÒ»¸ö£¬¿ÉÒÔͨ¹ý¼Ì³Ð»ù´¡¿Ø¼þÀ´ÖØдijЩ»·½Ú£¬µ±È»Ò²¿ÉÒÔ½«¿Ø¼þ×éºÏ³ÉÒ»¸öпؼþ£¬ÕâÒ²ÊÇ×î·½±ãµÄÒ»¸ö·½·¨¡£½ñÌì¾ÍÀ´½éÉÜÏÂÈçºÎʹÓÃ×éºÏ¿Ø¼þ£¬½«...
57
ÈÈ¶È -
(ת)oracle»Ø¸´Îóɾ³ýÊý¾Ý£¬½â³ýËø¶¨µÄµÈsqlÓï¾ä
(ת)oracle»Ö¸´Îóɾ³ýÊý¾Ý£¬½â³ýËø¶¨µÄµÈsqlÓï¾ä×¢Òâ:Êý¾Ý¿â°æ±¾ÊÇ10g,²»¹ý´ó²¿·Ö9iµÄÒ²ÊÊÓÃ,ÉÁ»Ø9i¾ÍûÓÐ.?1.Ôø¾²»Ð¡ÐÄ°Ñ¿ª·¢¿âµÄÊý¾Ý¿â±íÈ«²¿É¾³ý£¬µ±Ê±ÏŵÄÒªËÀ¡£½á¹ûÕÒµ½ÏÂÃæµÄÓï¾ä»Ö¸´µ½ÁË1¸öСʱ֮ǰµÄÊý¾Ý£¡ºÜ¼òµ¥¡£×¢ÒâʹÓùÜÀíÔ±µÇ¼ϵͳ£ºselect*from±íÃûasoftimestampsysdate-1/12??//²éѯÁ½¸öСʱǰµÄij±íÊý¾Ý£¡¼ÈÈ»Á½Ð¡Ê±ÒÔÇ°µÄÊý¾Ý¶¼µÃµ½ÁË£¬¼Ì...
51
ÈÈ¶È -
»ù×¼SQLµÄ9ÖÖÓï¾ä£¨ÖصãÖ®Èý£©
±ê×¼SQLµÄ9ÖÖÓï¾ä£¨ÖصãÖ®Èý£©1£¬SQLSELECTÓï¾ä£º£¨1£©Óï·¨£ºSelectÁÐÃû³ÆFrom±íÃû³Æ»òSelect*From±íÃû³Æ£¨2£©ÊµÀý£ºMarket_InformationMarket_nameBeerToy_SalesQuantityDataÃ÷Ö飤150102012¡ª2¡ª01Ôª³½£¤120112012¡ª3¡ª05³¯Ñô£¤130122012¡ª3¡ª04Íò´ï£¤140132012¡ª5¡ª16³¯Ñô£¤14...
94
ÈÈ¶È -
Android 4.0 LauncherÔ´Âë·ÖÎöϵÁÐ(3)
Android4.0LauncherÔ´Âë·ÖÎöϵÁÐ(Èý)ÔÎÄ£ºhttp://mobile.51cto.com/hot-316799.htmÊ×ÏÈɵµ°ÏÈ»Á˸öͼÀ´ÔÙÀ´²ûÊöÒ»ÏÂWorkSpaceµÄ½á¹¹¡£ÈçÏÂͼ£ºµã»÷²é¿´´óͼ×ÀÃæµÄ×óÓÒ»¬¶¯¹¦ÄÜÖ÷ÒªÊÇÔÚPagedViewÀàÖÐʵÏֵģ¬¶øWorkSpaceÊÇPagedViewÀàµÄ×ÓÀ࣬ËùÒÔ»á¼Ì³ÐPagedViewÖеķ½·¨¡£µ±ÎÒÃǵÄÊÖÖ¸µã»÷WorkSpaceʱ£¬Ê×ÏÈ...
56
ÈÈ¶È -
RubyµÄ.nil? .empty? .blank? .present?²îÒì
RubyµÄ.nil?.empty?.blank?.present?Çø±ð.nil?,.empty?.blank?.present?Çø±ð£º.nil?ºÍ.empty?ÊÇrubyµÄ·½·¨¡£.blank?ÊÇrailsµÄ·½·¨¡£?.nil?Åж϶ÔÏóÊÇ·ñ´æÔÚ£¨nil£©¡£²»´æÔڵĶÔÏó¶¼ÊÇnilµÄ¡£?.empty?¶ÔÏóÒѾ´æÔÚ£¬ÅжÏÊÇ·ñΪ¿Õ×ֶΣ¬±ÈÈçÒ»¸ö×Ö·û´®ÊÇ·ñΪ¿Õ´®£¬»òÕßÒ»¸öÊý×éÖÐÊÇ·ñÓÐÖµ?.blank?Ï൱ÓÚͬʱ...
599
ÈÈ¶È -
Èí¼þ¹¤³Ìʦ±Ø¶ÁÊéµ¥
³ÌÐòÔ±±Ø¶ÁÊéµ¥×÷ÕߣºLucida΢²©£º@peng_gong¶¹°ê£º@figure9ÔÎÄÁ´½Ó£ºhttp://lucida.me/blog/developer-reading-list/¹ØÓÚ±¾ÎİѳÌÐòÔ±ËùÐèÕÆÎյĹؼü֪ʶ×ܽáΪÈý´óÀà19¸ö¹Ø¼ü¸ÅÄȻºó¸ø³öÁËÕÆÎÕÿ¸ö¹Ø¼ü¸ÅÄîËùÐèµÄÈëÃÅÊé¼®£¬±Ø¶ÁÊé¼®£¬ÒÔ¼°ÑÓÉìÔĶÁ¡£Ö¼ÔÚ³ÉΪ×îºÃ×îÈ«ÃæµÄ³ÌÐòÔ±±Ø¶ÁÊéµ¥¡£Ç°ÑÔReadingmakesafullman;confe...
195
ÈÈ¶È -
¡¶»ªÎªÂ·ÓÉÆ÷ѧϰָÄÏ¡·ÖÕÉóË÷ÒýÊ׶ÈÆعâ
¡¶»ªÎªÂ·ÓÉÆ÷ѧϰָÄÏ¡·ÖÕÉóĿ¼Ê׶ÈÆع⾹ý³¤´ïÒ»ÄêµÄ±àдºÍ±à¼¡¢³ö°æ£¬ÍòÖÚÖõÄ¿µÄ¡¶»ªÎªÂ·ÓÉÆ÷ѧϰָÄÏ¡·Ò²¼´½«Óë´ó¼Ò¼ûÃæÁË¡£±¾ÊéͬÑùÊÇÓÉ»ªÎª¹«Ë¾Ö±½ÓÊÚȨ²¢ÉóºË³ö°æµÄ£¬ÊÇ»ªÎªICTÈÏÖ¤Åàѵָ¶¨½Ì²Ä£¬Ò²ÊǹúÄÚͼÊéÊг¡µÚÒ»±¾£¬Ò²ÊÇĿǰΪֹΨһһ±¾×¨ÃŽéÉÜ»ªÎªÂ·ÓÉÆ÷ÅäÖÃÓë¹ÜÀíµÄȨÍþ¹¤¾ßͼÊ顣ȫÊé1000Ò³ÒÔÉÏ£¬¹²·ÖÈýƪ¡¢15Õ£¬µÚһƪ£º»ªÎªÂ·ÓÉÆ÷Ñ¡Ðͺͻù±¾¹¦ÄÜÅäÖÃÓë¹ÜÀí£¬¾ßÌå°üÀ¨ARG3¡¢NEϵÁзÓÉÆ÷µÄÑ¡...
31
ÈÈ¶È -
23£¬ÁÙʱ±í
MySQL¸´Ï°±Ê¼Ç±¾ÎÄÄÚÈÝSQLÓï¾ä´´½¨Êý¾Ý¿â´´½¨Êý¾Ý±íÊý¾ÝÍêÕûÐÔÔ¼ÊøËÄÖÖ»ù±¾×Ö·ûÀàÐÍ˵Ã÷SQL»ù±¾Óï¾äÀàÐÍת»»º¯ÊýÈÕÆÚº¯ÊýÊýѧº¯Êý×Ö·û´®º¯ÊýºÏ²¢½á¹û¼¯unionCASEº¯ÊýÓ÷¨IFELSEÓï·¨WHILEÑ»·Óï·¨×Ó²éѯ±íÁ¬½ÓjoinÊÂÎñÊÓͼ´¥·¢Æ÷´æ´¢¹ý³Ì·ÖÒ³´æ´¢¹ý³ÌË÷ÒýÁÙʱ±í1£¬SQLÓï¾äSQLÓïÑÔ£º½á¹¹»¯µÄ²éѯÓïÑÔ£¨StructuredQueryLanguage£©£¬ÊǹØϵÊý¾Ý¿â¹ÜÀíϵͳµÄ±ê×¼ÓïÑÔ...
162
ÈÈ¶È -
SQLÖйßÓú¯Êý×ܽá
SQLÖг£Óú¯Êý×ܽá¾ÛºÏº¯Êýavg():º¯Êý·µ»Ø×éÖи÷ÖµµÄƽ¾ùÊýsum():º¯Êý·µ»Ø×éÖи÷ÖµÖ®ºÍ?1selectsum(money)fromcashcount():º¯Êý·µ»ØÆ¥ÅäÖ¸¶¨Ìõ¼þµÄÐÐÊýcount(column_name)º¯Êý·µ»ØÖ¸¶¨ÁеÄÖµµÄÊýÄ¿£¨NULL²»¼ÆÈ룩count(*)º¯Êý·µ»Ø±íÖеļǼÊýcount(DISTINCTcolumn_name)º¯Êý·µ»ØÖ¸¶¨ÁеIJ»Í¬ÖµµÄÊýÄ¿?²éѯ·¶Î§¡ª¡ªo...
103
ÈÈ¶È -
[Effective Java]µÚÁùÕ ö¾Ù¸ú×¢½â
[EffectiveJava]µÚÁùÕÂö¾ÙºÍ×¢½âµÚÁùÕÂö¾ÙºÍ×¢½â30¡¢ÓÃenum´úÌæint³£Á¿Ã¶¾ÙÀàÐÍÊÇÖ¸ÓÉÒ»×é¹Ì¶¨µÄ³£Á¿×é³ÉºÏ·¨ÖµµÄÀàÐÍ£¬ÀýÈçÒ»ÄêÖеļ¾½Ú»òÒ»¸±ÅÆÖеĻ¨É«¡£ÔÚûÒýÈëö¾Ùʱ£¬Ò»°ãÊÇÉùÃ÷Ò»×éint³£Á¿£¬Ã¿¸öÀàÐͳÉÔ±Ò»¸ö³£Á¿£ºpublicstaticfinalintAPPLE_FUJI=0;publicstaticfinalintAPPLE_PIPPIN=1;publicstaticfi...
188
ÈÈ¶È -
Èý¡¢¼¼ÇÉ
SQL³£ÓÃÓï·¨Ò»¡¢»ù´¡1¡¢´´½¨Êý¾Ý¿âCREATEDATABASEdatabase-name2¡¢É¾³ýÊý¾Ý¿âdropdatabasedbname3¡¢±¸·Ýsqlserver---´´½¨±¸·ÝÊý¾ÝµÄdeviceUSEmasterEXECsp_addumpdevice'disk','testBack','c:\mssql7backup\MyNwind_1.dat'---¿ªÊ¼±¸·ÝBACKUPDATABASEpub...
39
ÈÈ¶È -
ssss¶¨Î»Æ÷iosÏÂÔØ
ssss¶¨Î»Æ÷iosÏÂÔØ À´Ô´£ºÒ»ÈÕÒ»¶È ID£ºyryd115 Çé¼äÏà´¦£¬Ò»µãСʾÍȽÅÏà¼Ó£¬ ²»ÖªÎªÊ²Ã´£¬¾Í±»´òµÃ±ÇÇàÁ³Öס£ À´²»¼°´©ÍâÌ×£¬Ö»ÏëÌÓÀëÕâ¸ö¼Ò£¬ »ÅÂÒ¶ã½øµçÌÝ£¬ÄÐÈËÈ´´ò¶ÏÁ˹ØÃÅ¡£ Ö»ºÃÆ´Ãüºô¾È£¬È´ÔõôҲûÈËÌýµ½£¬ ÄÐÈ˶þ»°²»Ëµ£¬Ç¿ÐаÑÈËÍϳöµçÌÝ¡£ ¡¡ Õâ²»ÊÇ¿Ö²ÀµçÓ°µÄ¾µÍ·...
86
ÈȶÈ