µ±Ç°Î»Ö㺠´úÂëÃÔ >> ѧʲô��µÄ½â¾ö·½°¸
 
  • Android¼òÂÔ¡¢¿ìËÙµÄÍøÂç¿â: Volley ( Google IO 2013 )

    Android¼òµ¥¡¢¿ìËÙµÄÍøÂç¿â:Volley(GoogleIO2013)1¡¢Ê²Ã´ÊÇvolleyVolleyÊÇFicusKirpatrickÔÚGooogleI/O2013·¢²¼µÄÒ»¸ö´¦ÀíºÍ»º´æÍøÂçÇëÇóµÄ¿â£¬ÄÜʹÍøÂçͨПü¿ì£¬¸ü¼òµ¥£¬¸ü½¡×³¡£VolleyÃû³ÆµÄÓÉÀ´£ºaburstoremissionofmanythingsoralargeamountatonce¡£ÔÚGoogleIOµÄÑݽ²ÉÏ£¬ÆäÅäͼÊÇÒ»·ù...

    33
    ÈȶÈ
  • SpringMVCÔ´ÂëÆÊÎö£¨1£©- ´Ó³éÏóºÍ½Ó¿Ú˵Æð

    SpringMVCÔ´ÂëÆÊÎö£¨Ò»£©-´Ó³éÏóºÍ½Ó¿Ú˵Æð±¾ÎÄת×Ô:http://my.oschina.net/lichhao/blog/99039½ö¹©Ñ§Ï°²Î¿¼SpringMVC×÷ΪStruts2Ö®ºóÒì¾üÍ»ÆðµÄÒ»¸ö±íÏÖ²ã¿ò¼Ü£¬ÕýÔ½À´Ô½Á÷ÐУ¬ÏàÐÅjavaeeµÄ¿ª·¢ÕßÃǾÍËãûʹÓùýSpringMVC£¬Ò²Ó¦¸Ã¶ÔÆäÂÔÓжúÎÅ¡£ÎÒÊÔͼͨ¹ý¶ÔSpringMVCµÄÉè¼Æ˼ÏëºÍÔ´ÂëʵÏÖµÄÆÊÎö£¬´Ó³éÏóÒâÒåÉϵÄÉè¼Æ²ãÃæºÍʵÏÖÒâÒå...

    129
    ÈȶÈ
  • VelocityÓï·¨¸úʹÓÃʾÀý

    VelocityÓï·¨ºÍʹÓÃʾÀý VelocityÓï·¨ 1.?????±äÁ¿ (1)±äÁ¿µÄ¶¨Ò壺 #set($name="hello")??????˵Ã÷£ºvelocityÖбäÁ¿ÊÇÈõÀàÐ͵ġ£ µ±Ê¹ÓÃ#set?Ö¸Áîʱ£¬À¨ÔÚË«ÒýºÅÖеÄ×ÖÃæ×Ö·û´®½«½âÎöºÍÖØнâÊÍ£¬ÈçÏÂËùʾ£º #set($directoryRoot="www") #set($templateName="index.vm") #set($tem...

    826
    ÈȶÈ
  • ת£ºJ2EE ÓüàÌýÆ÷¶ÒÏÖͬһÓû§Ö»ÄÜÓÐÒ»¸öÔÚÏß

    ת£ºJ2EEÓüàÌýÆ÷ʵÏÖͬһÓû§Ö»ÄÜÓÐÒ»¸öÔÚÏßÕâÀïÎÒÃÇÌÖÂÛµÄÊÇÒѵǽ»ò½«ÒªµÇ½µÄÓû§£¬ÓοͲ»ÔÚÌÖÂ۵ķ¶Î§Ö®ÄÚ¡£ÕâÒ»µã´ó¼ÒÓ¦¸ÃºÜÈÝÒ×¾ÍÄÜÀí½âµÄ°É¡£?ÄÇôÎÒÃÇÓ¦¸ÃÔõÑùȥʵÏÖͬһÓû§Ö»ÄÜÓÐÒ»¸öÔÚÏßÕâÑùµÄÒ»¸öС¹¦ÄÜÄØ£¿?ÓÐÈË¿ÉÄܾͻáÕâÑùÉèÏëÁË£º"Õâ²»ÊǺܼòµ¥Âð£¿Ö»ÒªÔÚÊý¾Ý¿âÖÐÓÃÒ»¸ö×Ö¶ÎÀ´±ê¼ÇÓû§µÄ״̬¾ÍÐÐÁË£¬±ÈÈçÈç¹ûÓû§µÇ½Á˾ͽ«×´Ì¬ÉèΪ1£¬Í˳öÁ˾ͽ«Õâ¸öÓû§µÄ״̬ÉèΪ0£¬OK£¬¸ã¶¨¡£"?µ«ÊÇ£¬Êµ¼ÊÉÏÊDz»...

    80
    ÈȶÈ
  • Ôõô¼à¿ØORACLEË÷ÒýʹÓÃÓë·ñ

    ÈçºÎ¼à¿ØORACLEË÷ÒýʹÓÃÓë·ñcolor="#000000"face="ËÎÌå">ÔÚÊý¾Ý¿â¹ÜÀíÓëά»¤ÖУ¬ÎÒÃÇ×Ü»áÓöµ½Ò»¸öÎÊÌ⣺ÎÒÃÇ´´½¨µÄË÷ÒýÊÇ·ñ»á±»Ä³Ð©SQLÓï¾äʹÓÃÄØ£¿»»¸öͨË×±í´ï·½Ê½£ºÎÒ´´½¨µÄË÷ÒýÊÇ·ñÊÇδʹÓõÄË÷Òý£¨unusedIndexes£©£¬ÊÇ·ñÓмÛÖµÄØ£¿Èç¹û´´½¨µÄij¸öË÷ÒýÊÇUnusedIndexes£¬ÓÈÆäÊÇûÓкÏÀí¹æ»®Ë÷ÒýµÄϵͳ»òÄÇЩ¹ÜÀí¿ØÖƲ»¹æ·¶µÄϵͳ¡£ÓпÉÄܽ¨Á¢ÁËN¸öË÷Òý£¬ÆäʵÓÐЩË÷...

    192
    ÈȶÈ
  • ËÄ. ·ÖÇø±íµÄË÷Òý

    Oracle·ÖÇø±íµÄÐÂÔö¡¢Ð޸ġ¢É¾³ý¡¢ºÏ²¢¡£ÆÕͨ±íת·ÖÇø±í·½·¨Ò».·ÖÇø±íÀíÂÛ֪ʶOracleÌṩÁË·ÖÇø¼¼ÊõÒÔÖ§³ÖVLDB(VeryLargeDataBase)¡£·ÖÇø±íͨ¹ý¶Ô·ÖÇøÁеÄÅжϣ¬°Ñ·ÖÇøÁв»Í¬µÄ¼Ç¼£¬·Åµ½²»Í¬µÄ·ÖÇøÖС£·ÖÇøÍêÈ«¶ÔÓ¦ÓÃ͸Ã÷¡£OracleµÄ·ÖÇø±í¿ÉÒÔ°üÀ¨¶à¸ö·ÖÇø£¬Ã¿¸ö·ÖÇø¶¼ÊÇÒ»¸ö¶ÀÁ¢µÄ¶Î£¨SEGMENT£©£¬¿ÉÒÔ´æ·Åµ½²»Í¬µÄ±í¿Õ¼äÖС£²éѯʱ¿ÉÒÔͨ¹ý²éѯ±íÀ´·ÃÎʸ÷¸ö·ÖÇøÖеÄÊý¾Ý£¬Ò²¿É...

    677
    ÈȶÈ
  • ¡¾×ª¡¿J2EE¼àÌýÆ÷¸ú¹ýÂËÆ÷»ù´¡

    ¡¾×ª¡¿J2EE¼àÌýÆ÷ºÍ¹ýÂËÆ÷»ù´¡Servlet³ÌÐòÓÉServlet£¬FilterºÍListener×é³É£¬ÆäÖмàÌýÆ÷ÓÃÀ´¼àÌýServletÈÝÆ÷ÉÏÏÂÎÄ¡£¼àÌýÆ÷ͨ³£·ÖÈýÀࣺ»ùÓÚServletÉÏÏÂÎĵÄServletContex¼àÌý£¬»ùÓڻỰµÄHttpSession¼àÌýºÍ»ùÓÚÇëÇóµÄServletRequest¼àÌý¡£?ServletContex¼àÌýÆ÷ ServletContexÓÖ½Ðapplication£¬´æÔÚ...

    67
    ÈȶÈ
  • ¼òÂÔºöÂÔµÄÀ¨ºÅ

    ÈÝÒ׺öÂÔµÄÀ¨ºÅ×¢Òâ¿´ÒÔÏÂLINQµÄд·¨.varmodeltest1=db.SysUsers.Where(m=>m.State!=0&&string.IsNullOrEmpty(User_Name)?true:m.Name.Contains(User_Name)); varmodeltest2=db.SysUsers.Where(m=>m.State!=0&am...

    89
    ÈȶÈ
  • µÚÈýÕ Java¿ò¼Üµ÷Õû-ÆóÒµÖеÄÏîÄ¿¼Ü¹¹ÒÔ¼°¶à»·¾³·ÖÅä

    µÚÈýÕÂJava¿ò¼ÜÕûºÏ--ÆóÒµÖеÄÏîÄ¿¼Ü¹¹ÒÔ¼°¶à»·¾³·ÖÅä1¡¢ÒµÎñÄ£¿éÓëÊý¾ÝÄ£¿é·ÖÀëÔÚʵ¼Ê¿ª·¢ÖУ¬ÎÒÃÇÏîÄ¿µÄ¼Ü¹¹ÒµÎñÄ£¿éºÍÊý¾ÝÄ£¿éÊÇ·ÖÀëµÄ£¬¾Ù¸öÀý×Ó£¬¼ÙÉèÎÒÃǵÄÏîÄ¿ÓÐ"ÈËÔ±¹ÜÀíÄ£¿é"ºÍ"¾Æµê¹ÜÀíÄ£¿é"Á½¸öÄ£¿é£¬°´ÕÕÉÏÒ»ÕµĽéÉÜ£¬ÎÒÃǻὨÁ¢ÏÂͼËùʾµÄÏîÄ¿½á¹¹£ºÆäÖУ¬ÈËÔ±¹ÜÀíÄ£¿éµÄcontroller¡¢service¡¢dao¡¢mapper¶¼ÔÚÒ»¸öÏîÄ¿ÖУ¬¶øÔÚʵ¼ÊʹÓÃÖУ¬ÎÒÃǻὫÊý¾ÝÄ£¿é·ÖÀë³öÀ´£¬¼´½«ÒÔÉÏ...

    466
    ÈȶÈ
  • °²×¿¿ª·¢Ôý¼Ç¡ª¡ª¹ØÓÚͼƬµÄÈý¼¶»º´æ²ßÂÔ£¨ÄÚ´æLruCache+´ÅÅÌDiskLruCache+ÍøÂçVolley£©

    °²×¿¿ª·¢±Ê¼Ç¡ª¡ª¹ØÓÚͼƬµÄÈý¼¶»º´æ²ßÂÔ£¨ÄÚ´æLruCache+´ÅÅÌDiskLruCache+ÍøÂçVolley£©ÔÚ¿ª·¢°²×¿Ó¦ÓÃÖбÜÃâ²»ÁËҪʹÓõ½ÍøÂçͼƬ£¬»ñÈ¡ÍøÂçͼƬºÜ¼òµ¥£¬µ«ÊÇÐèÒª¸¶³öÒ»¶¨µÄ´ú¼Û——Á÷Á¿¡£¶ÔÓÚÉÙÊýµÄͼƬ¶øÑÔÎÊÌâ²»´ó£¬µ«Èç¹ûÊÖ»úÓ¦ÓÃÖаüº¬´óÁ¿µÄͼƬ£¬ÕâÊƱػáºÄ·ÑÓû§µÄÒ»¶¨Á÷Á¿£¬Èç¹ûÎÒÃDz»¼ÓÒÔ´¦Àí£¬Ã¿´Î´ò¿ªÓ¦Óö¼È¥ÍøÂç»ñȡͼƬ£¬ÄÇôÓû§¿É¾Í²»ÀÖÒâÁË£¬ÕâÀïµÄ´¦Àí¾Í...

    95
    ÈȶÈ
  • Android 5.0 APIÐÂÔö¸ú¸Ä½ø

    Android5.0APIÐÂÔöºÍ¸Ä½øת×ÔAndroid¹ÙÍø£ºµã»÷´ò¿ªÁ´½ÓAPI¼¶±ð£º21Android5.0(LOLLIPOP)ΪÓû§ºÍÓ¦Óÿª·¢ÕßÌṩÁËÐµĹ¦ÄÜ¡£±¾Îĵµ½éÉÜÁË×îÖµµÃ×¢ÒâµÄÐÂAPI¡£ÓйØÐÂƽ̨¹¦ÄܵĶóÒª½éÉÜ£¬ÁíÇë²ÎÔÄ?AndroidLollipop¼¯½õ¡£¿ªÊ¼¿ª·¢Òª¹¹½¨Android5.0°æÓ¦Óã¬Äú±ØÐëÏÈÏÂÔØAndroidSDK£¬È»ºóʹÓÃ?SDK¹ÜÀíÆ÷ÏÂÔØAndroid5.0SDKƽ̨...

    88
    ÈȶÈ
  • Android¿ª·¢Ö®ActivityµÄÆð²½Ä£Ê½

    Android¿ª·¢Ö®ActivityµÄÆô¶¯Ä£Ê½ºÚ·¢²»ÖªÇÚѧÔ磬°×Ê×·½»Ú¶ÁÊé³Ù¡£¡ª¡ª¡¶È°Ñ§¡·????ActivityµÄËÄÖÖÆô¶¯Ä£Ê½£¬ÈçÓÐÒÉÎÊ»¶Ó­ÁôÑÔ£¬ÈçÓÐÃýÎó»¶Ó­´ó¼ÒÅúÆÀÖ¸Õý£¬Ð»Ð»??ActivityµÄÆô¶¯Ä£Ê½¹²ÓÐËÄÖÖ1.standard2.singleTop3.singleTask4.singleInstanceÈçͼËùʾ£ºLaunchModeÔÚ¶à¸öActivityÌøתµÄ¹ý³ÌÖаçÑÝ×ÅÖØÒªµÄ½ÇÉ«£¬Ëü¿É...

    79
    ÈȶÈ
  • AndroidÖеÄÈËÁ³¼ì²â(¾²Ì¬¸ú¶¯Ì¬)

    AndroidÖеÄÈËÁ³¼ì²â(¾²Ì¬ºÍ¶¯Ì¬)£¨1£©±³¾°¡£??????GoogleÓÚ2006Äê8ÔÂÊÕ¹ºNevenVision¹«Ë¾£¨¸Ã¹«Ë¾ÓµÓÐ10¶àÏîÓ¦ÓÃÓÚÒƶ¯É豸ÁìÓòµÄͼÏñʶ±ðµÄרÀû£©£¬ÒÔ´Ë»ñµÃÁËͼÏñʶ±ðµÄ¼¼Êõ£¬²¢¼ÓÈëµ½androidÖС£AndroidÖеÄÈËÁ³Ê¶±ð¼¼Êõ£¬Óõ½µÄµ×²ã¿â£ºandroid/external/neven/£¬framework²ã£ºframeworks/base/media/java...

    96
    ÈȶÈ
  • oracle PL/SQLµÄ»ù±¾¹¹³É,½á¹¹¿ØÖÆÓï¾ä,·ÖÖ§½á¹¹,Ñ¡Ôñ½á¹¹,loopÑ­»·½á¹¹

    oraclePL/SQLµÄ»ù±¾¹¹³É,½á¹¹¿ØÖÆÓï¾ä,·ÖÖ§½á¹¹,Ñ¡Ôñ½á¹¹,loopÑ­»·½á¹¹,·ÖÖ§½á¹¹?·ÖÖ§½á¹¹ÊÇ×î»ù±¾µÄ³ÌÐò½á¹¹£¬·ÖÖ§½á¹¹ÓÉIFÓï¾äʵÏÖ¡£?ʹÓÃIFÓï¾ä£¬¸ù¾ÝÌõ¼þ¿ÉÒԸıä³ÌÐòµÄÂß¼­Á÷³Ì¡£IFÓï¾äÓÐÈçϵÄÐÎʽ:?IFÌõ¼þ1THEN?Óï¾äÐòÁÐ1£»?[ELSIFÌõ¼þ2THEN?Óï¾äÐòÁÐ2£»?ELSE?Óï¾äÐòÁÐn£»]?ENDIF;?ÆäÖУº??Ìõ¼þ²¿·ÖÊÇÒ»¸öÂß¼­±í´ïʽ£¬ÖµÖ»ÄÜÊÇÕæ(TRUE)¡¢¼Ù...

    26
    ÈȶÈ
  • SQLiteС½á

    SQLite×ܽáSQLiteDatabaseSQLiteisanembeddedrelationaldatabaseengine.Itsdeveloperscallitaself-contained,serverless,zero-configurationandtransactionalSQLdatabaseengine.ÆäʵֻÐèÒª¼ÇסSQLite²»ÐèÒªÊý¾Ý¿â·þÎñÆ÷£¬²»ÐèÒª¶îÍâÅäÖã¬ÆäÊý¾Ý¿â±¾Éí...

    88
    ÈȶÈ
  • Android Service ·þÎñ£¨1£©¡ª¡ª Service

    AndroidService·þÎñ£¨Ò»£©¡ª¡ªServiceÒ»¡¢?Service¼ò½éServiceÊÇandroid?ϵͳÖеÄËÄ´ó×é¼þÖ®Ò»£¨Activity¡¢Service¡¢BroadcastReceiver¡¢ContentProvider£©£¬Ëü¸úActivityµÄ¼¶±ð²î²»¶à£¬µ«²»ÄÜ×Ô¼ºÔËÐÐÖ»Äܺǫ́ÔËÐУ¬²¢ÇÒ¿ÉÒÔºÍÆäËû×é¼þ½øÐн»»¥¡£service¿ÉÒÔÔںܶೡºÏµÄÓ¦ÓÃÖÐʹÓ㬱ÈÈç²¥·Å¶àýÌåµÄʱºòÓû§Æô¶¯ÁË...

    23
    ÈȶÈ
  • AndroidÖÐStyle¸úThemeµÄʹÓÃ

    AndroidÖÐStyleºÍThemeµÄʹÓÃÔ­ÌûΪ£ºhttp://henzil.easymorse.com/?p=364?Ô½À´Ô½¶à»¥ÁªÍøÆóÒµ¶¼ÔÚAndroidƽ̨Éϲ¿ÊðÆä¿Í»§¶Ë£¬ÎªÁËÌáÉýÓû§ÌåÑ飬ÕâЩ¿Í»§¶Ë¶¼×öµÃ²¼¾ÖºÏÀí¶øÇÒÃÀ¹Û.......AndroidµÄStyleÉè¼Æ¾ÍÊÇÌáÉýÓû§ÌåÑéµÄ¹Ø¼üÖ®Ò»¡£AndroidÉϵÄStyle·ÖΪÁËÁ½¸ö·½Ã棺ThemeÊÇÕë¶Ô´°Ì弶±ðµÄ£¬¸Ä±ä´°ÌåÑùʽ£»StyleÊÇÕë...

    98
    ÈȶÈ
  • android»ñȡװÅäµÄÓ¦ÓóÌÐò

    android»ñÈ¡°²×°µÄÓ¦ÓóÌÐòÔÚgoogleÉÏÊäÈëÒÔÉϵĹؼü×Ö+android£¬¿ÉÒÔËѵ½µÄ´úÂë:?1List<PackageInfo>packs=getPackageManager().getInstalledPackages(0);?ËäÈ»£¬ÓÐЩ´úÂëºÅ³Æ¿ÉÒÔ¹ýÂ˵ôϵͳ×ÔÉíµÄÓ¦ÓóÌÐò,µ«ÊÇֻҪϸ¿´´úÂë¾Í»á·¢ÏÖ£¬ºÃÏñÀïÃæµÄÄǸö²¼¶û±äÁ¿Ã»ÓÐÆðµ½Ê²Ã´¹ýÂ˵Ä×÷Ó᣷½·¨Ò»:ͨ¹ý»ñÈ¡µÄ°²×°°ü(°üÀ¨...

    82
    ÈȶÈ
  • Atitit.¼ÓÃÜËã·¨ des  aes ¸÷¸öÓïÑÔ²»Í¬µÄÔ­ÀíÓë½â¾ö·½°¸java php c

    Atitit.¼ÓÃÜËã·¨ des  aes ¸÷¸öÓïÑÔ²»Í¬µÄÔ­ÀíÓë½â¾ö·½°¸java php c#Atitit.¼ÓÃÜËã·¨desaes¸÷¸öÓïÑÔ²»Í¬µÄÔ­ÀíÓë½â¾ö·½°¸javaphpc#1.¼ÓÃÜËã·¨µÄ²ÎÊý£º£ºËã·¨/ģʽ/Ìî³ä12.±ê×¼¼ÓÃÜapiʹÓÃÁ÷³Ì12.1.Md5¡ª¡ª16bitÌî³äkey£¬Ê¹Æ䳤¶È´ïµ½128£¨»òÆäËû¹æ¶¨µÄ³¤¶È£©22.2.Éú³Ékey2...

    951
    ÈȶÈ
  • PHP¸ß¼¶ÌØÐÔ2Ö®Îļþ´¦Àí

    PHP¸ß¼¶ÌØÐÔ¶þÖ®Îļþ´¦ÀíPHPÖеÄÎļþ´¦ÀíÒ²ÊÇÒ»¸öÏ൱ÖØÒªµÄÄ£¿é£¬ÕâһƪµÄÖ÷ÒªÄÚÈݾÍÊÇPHPÖÐÎļþϵͳµÄ¼ò½é¡£ÎļþϵͳÓÃ;1.ÏîÄ¿´¦Àí¶¼Àë²»¿ªÎļþ´¦Àí2.¿ÉÒÔÓÃÎļþ³¤Ê±¼ä±£´æÊý¾Ý3.½¨Á¢»º´æ£¬ÔÚ·þÎñÆ÷ÖнøÐÐÎļþ²Ù×÷Îļþϵͳº¯ÊýÓ÷¨ÏêÊö1.»ù±¾µÄÅжϺ¯Êýis_dir—Åжϸø¶¨ÎļþÃûÊÇ·ñÊÇÒ»¸öĿ¼is_file—Åжϸø¶¨ÎļþÃûÊÇ·ñΪһ¸öÎļþis_executable&mdas...

    26
    ÈȶÈ