µ±Ç°Î»Ö㺠´úÂëÃÔ >> ���ɷַ���µÄ½â¾ö·½°¸
 
  • android api ÍêÕûͨÒëÖ®Contacts Provider £¨Ñ§Ï°°²×¿±ØÖªµÄapi£¬ÖÐÓ¢ÎĶÔÕÕ£©

    androidapiÍêÕû·­ÒëÖ®ContactsProvider£¨Ñ§Ï°°²×¿±ØÖªµÄapi£¬ÖÐÓ¢ÎĶÔÕÕ£©ContactsProviderµç»°²¾£¨×¢£ºÁªÏµÈË£¬ÁªÂçÈË¡¢Í¨Ðż£©ÌṩÕß-------------------------------QUICKVIEW¿ìËÙ¸ÅÀÀ*Android'srepositoryofinformationaboutpeople.*AndroidµÄ¹ØÓÚÈ˵ÄÐÅÏ¢µÄ²Ö¿â¡£*Syncs...

    67
    ÈȶÈ
  • iphoneССС½á

    iphoneСС×ܽáiphone¿ª·¢±Ê¼ÇÍË»ØÊäÈë¼üÅÌ-(BOOL)textFieldShouldReturn:(id)textField{[textFieldresignFirstResponder];}CGRectCGRectframe=CGRectMake(origin.x,origin.y,size.width,size.height)£»¾ØÐÎNSStringFromCGRect(someCG...

    82
    ÈȶÈ
  • Android×Ô¶¨Òå¿Ø¼þ£º½ø¶ÈÌõµÄËÄÖÖʵÏÖÐÎʽ

    Android×Ô¶¨Òå¿Ø¼þ£º½ø¶ÈÌõµÄËÄÖÖʵÏÖ·½Ê½Ç°ÈýÖÖʵÏÖ·½Ê½´úÂë³ö×Ô£ºhttp://stormzhang.com/openandroid/2013/11/15/android-custom-loading/£¨Ô´ÂëÔÚ×îºó£©×î½üÒ»Ö±ÔÚѧϰ×Ô¶¨Òå¿Ø¼þ£¬ËÑÁËÐí¶à´óÅ£ÃÇBlogÀï·ÖÏíµÄС½Ì³Ì£¬Ò²ÉÏGitHubÕÒÁËһЩÀà似µÄ¿Ø¼þ½øÐÐѧϰ¡£·¢ÏÖ¶ÁÆðÀ´¶¼²»Ì«ºÃ¶®£¬¾ÍÏëдÕâôһƪ¶«Î÷×÷Ϊѧϰ±Ê¼Ç°É¡£Ò»...

    42
    ÈȶÈ
  • iPhone¿ª·¢Öеļ¼ÄÜÕûÀí£¨¶þ£©

    iPhone¿ª·¢Öеļ¼ÇÉÕûÀí£¨¶þ£©1¡¢NSCalendarÓ÷¨-(NSString*)getWeek:(NSDate*)d{NSCalendar*calendar=[[NSCalendaralloc]initWithCalendarIdentifier:NSGregorianCalendar];unsignedunits=NSYearCalendarUnit|NSMonthCalendarUnit...

    85
    ÈȶÈ
  • AndroidµÄÖÊÁÏÉè¼Æ¼æÈݿ⣨Design Support Library£©

    AndroidµÄ²ÄÁÏÉè¼Æ¼æÈݿ⣨DesignSupportLibrary£©±à¼­ÍƼö£ºÏ¡ÍÁ¾ò½ð£¬ÕâÊÇÒ»¸öÕë¶Ô¼¼Êõ¿ª·¢ÕßµÄÒ»¸öÓ¦Óã¬Äã¿ÉÒÔÔÚ¾ò½ðÉÏ»ñÈ¡×îÐÂ×îÓÅÖʵļ¼Êõ¸É»õ£¬²»½ö½öÊÇAndroid֪ʶ¡¢Ç°¶Ë¡¢ºó¶ËÒÔÖÁÓÚ²úÆ·ºÍÉè¼Æ¶¼ÓÐÉæÁÔ£¬Ïë³ÉΪȫջ¹¤³ÌʦµÄÅóÓѲ»Òª´í¹ý£¡µ¼¶Á£ºÕâ¸ö¼æÈÝ¿âºÜÈÝÒ׺Í֮ǰµÄAndroidSupportLibrary22.1»ìÏý£¬¶¼ÊǼæÈݿ⣬Çø±ðÊÇÕâ¸ö¿â¶àÁ˸öDesign¡£And...

    264
    ÈȶÈ
  • Android API Guides-Common Intents

    AndroidAPIGuides---CommonIntentsÒ»¸öÒâͼ¿ÉÒÔÈÃÄãͨ¹ýÃèÊöÒ»¸ö¼òµ¥µÄ¶¯×÷£¬ÄãÏëÖ´ÐУ¨Èç¡°²é¿´µØͼ¡±»ò¡°ÅÄÕÕ¡±£©µÄÒ»¸öIntent¶ÔÏ󣬿ªÊ¼ÔÚÁíÒ»¸öÓ¦ÓóÌÐòµÄ»î¶¯¡£ÕâÖÖÀàÐ͵ÄÒâͼ±»³ÆΪÒþº¬µÄÒâͼ£¬ÒòΪËüûÓÐÖ¸¶¨µÄÓ¦ÓóÌÐò×é¼þ¿ªÊ¼£¬¶øÊÇÖ¸¶¨ÁËÒ»¸ö¶¯×÷£¬²¢ÌṩÁËÒ»??ЩÊý¾Ý£¬ÓÃÒÔÖ´ÐеIJÙ×÷¡£µ±Äãµ÷ÓÃstartActivity£¨£©»òstartActivityForResult...

    303
    ÈȶÈ
  • ×ܽá

    £¨Ô­´´£©androidPowerManager·ÖÎö£¨·Ç³£Ïêϸ£©¸ÅÊöÒ»Ö±ÒÔÀ´,µçÔ´¹ÜÀíÊǵç×Ó²úÆ·Éè¼ÆÖзdz£ÖØÒªµÄ»·½Ú£¬Ò²ÊÇÈκεç×ÓÉ豸ÖÐ×îΪÖØÒªµÄϵͳģ¿éÖ®Ò»£¬ÓÅÐãµÄµçÔ´¹ÜÀí·½°¸£¬Äܹ»Ìṩ³Ö¾ÃµÄÐøº½ÄÜÁ¦£¬Á¼ºÃµÄÓû§ÌåÑ飬¸üÄÜÌáÉýµç×Ó²úÆ·µÄ¾ºÕùÁ¦¡£Òƶ¯É豸µÄµçÁ¿Ö÷ÒªÓÉÁ½ÖÖÔª¼þÏûºÄ£ºCPUºÍÏÔʾÆÁ£¬Òò´ËÉè·¨½µµÍÕâÁ½ÖÖÔª¼þµÄºÄµçÁ¿¾ÍÊǵçÔ´¹ÜÀíµÄ¹Ø¼ü£¬ÎªÒƶ¯É豸Éè¼ÆµÄCPU´ó¶àÓÐÁ½ÖÖ¹¤×÷ƵÂÊ£¬ÎªÁËÊ¡µç£¬´ó²¿...

    573
    ÈȶÈ
  • Android-ServiceÍêÈ«½âÎö,¹ØÓÚ·þÎñÄúËùÐèÖªµÀµÄÒ»ÇУ¨ÉÏ£©

    Android--ServiceÍêÈ«½âÎö,¹ØÓÚ·þÎñÄãËùÐèÖªµÀµÄÒ»ÇУ¨ÉÏ£©ÏàÐÅ´ó¶àÊýÅóÓѶÔServiceÕâ¸öÃû´Ê¶¼²»»áÄ°Éú£¬Ã»´í£¬Ò»¸öÀÏÁ·µÄAndroid³ÌÐòÔ±Èç¹ûÁ¬Service¶¼Ã»Ìý˵¹ýµÄ»°£¬ÄÇȷʵҲ̫ѷÁË¡£Service×÷ΪAndroidËÄ´ó×é¼þÖ®Ò»£¬ÔÚÿһ¸öÓ¦ÓóÌÐòÖж¼°çÑÝ×ŷdz£ÖØÒªµÄ½ÇÉ«¡£ËüÖ÷ÒªÓÃÓÚÔÚºǫ́´¦ÀíһЩºÄʱµÄÂß¼­£¬»òÕßÈ¥Ö´ÐÐijЩÐèÒª³¤ÆÚÔËÐеÄÈÎÎñ¡£±ØÒªµÄʱºòÎÒÃÇÉõÖÁ¿ÉÒÔÔÚ³ÌÐòÍ˳ö...

    125
    ÈȶÈ
  • Android-BroadcastReceiverÓ¦ÓÃÏê½â

    Android--BroadcastReceiverÓ¦ÓÃÏê½â½ñÌìÎÒÃÇÀ´½²Ò»ÏÂAndroidÖÐBroadcastReceiverµÄÏà¹Ø֪ʶ¡£BroadcastReceiverÒ²¾ÍÊÇ¡°¹ã²¥½ÓÊÕÕß¡±µÄÒâ˼£¬¹ËÃû˼Ò壬Ëü¾ÍÊÇÓÃÀ´½ÓÊÕÀ´×ÔϵͳºÍÓ¦ÓÃÖеĹ㲥¡£ÔÚAndroidϵͳÖУ¬¹ã²¥ÌåÏÖÔÚ·½·½ÃæÃ棬ÀýÈçµ±¿ª»úÍê³Éºóϵͳ»á²úÉúÒ»Ìõ¹ã²¥£¬½ÓÊÕµ½ÕâÌõ¹ã²¥¾ÍÄÜʵÏÖ¿ª»úÆô¶¯·þÎñµÄ¹¦ÄÜ£»µ±ÍøÂç״̬¸Ä±äʱϵͳ»á²úÉúÒ»Ìõ...

    130
    ÈȶÈ
  • Android Developer:¹¹½¨³¬¹ý65K²½ÖèµÄApp

    AndroidDeveloper:¹¹½¨³¬¹ý65K·½·¨µÄAppAndroidAppµÄ´óСËæ×ÅAndroidƽ̨³ÖÐøÔö³¤¡£µ±ÄãµÄÓ¦ÓóÌÐòºÍËüÒýÓõĿâ´ïµ½Ä³¸ö´óС£¬Äã»áÓö¼ûԤʾÄãµÄAppÒѾ­´ïµ½AndroidÓ¦Óù¹½¨¼Ü¹¹¼«Ï޵Ĺ¹½¨´íÎó¡£ÔçÆÚ°æ±¾µÄ¹¹½¨ÏµÍ³±¨¸æÈçÏ´íÎó£ºConversiontoDalvikformatfailed:Unabletoexecutedex:methodIDnotin[0,0xf...

    93
    ÈȶÈ
  • AndroidʼþÉ¢·¢»úÖÆÍêÈ«½âÎö£¬´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½â

    Androidʼþ·Ö·¢»úÖÆÍêÈ«½âÎö£¬´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½âÆäʵÎÒÒ»Ö±×¼±¸Ð´Ò»Æª¹ØÓÚAndroidʼþ·Ö·¢»úÖƵÄÎÄÕ£¬´ÓÎҵĵÚһƪ²©¿Í¿ªÊ¼£¬¾ÍÁãÁãɢɢÔںöàµØ·½Ê¹Óõ½ÁËAndroidʼþ·Ö·¢µÄ֪ʶ¡£Ò²ÓкöàÅóÓÑÎʹýÎÒ¸÷ÖÖÎÊÌ⣬±ÈÈ磺onTouchºÍonTouchEventÓÐʲôÇø±ð£¬ÓÖ¸ÃÈçºÎʹÓã¿ÎªÊ²Ã´¸øListViewÒýÈëÁËÒ»¸ö»¬¶¯²Ëµ¥µÄ¹¦ÄÜ£¬ListView¾Í²»Äܹö¶¯ÁË£¿ÎªÊ²Ã´Í¼Æ¬ÂÖ²¥Æ÷ÀïµÄͼ...

    41
    ÈȶÈ
  • iPhone¿ª·¢Öеļ¼ÄÜÕûÀí

    iPhone¿ª·¢Öеļ¼ÇÉÕûÀí1¡¢NSCalendarÓ÷¨-(NSString*)getWeek:(NSDate*)d{NSCalendar*calendar=[[NSCalendaralloc]initWithCalendarIdentifier:NSGregorianCalendar];unsignedunits=NSYearCalendarUnit|NSMonthCalendarUnit|NS...

    44
    ÈȶÈ
  • AndroidÖÐͼƬµÄ´¦Ö㨷ŴóËõС£¬È¥É«£¬×ª»»¸ñʽ£¬Ôö¼ÓˮӡµÈ£©

    AndroidÖÐͼƬµÄ´¦Àí£¨·Å´óËõС£¬È¥É«£¬×ª»»¸ñʽ£¬Ôö¼ÓˮӡµÈ£©¶àÕÅͼƬËĸö·½Î»µÄͼƬºÏ³É£¬¸Ä±äbitmap´óС£¬Í¼Æ¬È¥É«µÈ¹¦ÄÜ??????package?com.dzh.operateimage;??import?android.graphics.Bitmap;??import?android.graphics.Bitmap.Config;??import?android.graphics.B...

    60
    ÈȶÈ
  • ½â¾öAndroid¼ÓÔØͼƬʱÄÚ´æÒç³öµÄÓйØÎÊÌâ

    ½â¾öAndroid¼ÓÔØͼƬʱÄÚ´æÒç³öµÄÎÊÌâ?¾¡Á¿²»ÒªÊ¹ÓÃsetImageBitmap»òsetImageResource»òBitmapFactory.decodeResourceÀ´ÉèÖÃÒ»ÕÅ´óͼ£¬ÒòΪÕâЩº¯ÊýÔÚÍê³Édecodeºó£¬×îÖÕ¶¼ÊÇͨ¹ýjava²ãµÄcreateBitmapÀ´Íê³ÉµÄ£¬ÐèÒªÏûºÄ¸ü¶àÄÚ´æ¡£?Òò´Ë£¬¸ÄÓÃÏÈͨ¹ýBitmapFactory.decodeStream·½·¨£¬´´½¨³öÒ»¸öbitmap...

    19
    ÈȶÈ
  • SQL TRACE½ø³ÌÖеÄʼþºÅÏêϸ½âÊÍ

    SQLTRACE¹ý³ÌÖеÄʼþºÅÏêϸ½âÊÍÎÒÃǶ¨Î»Êý¾Ý¿âÐÔÄÜÎÊÌâʱ¾­³£»áÓõ½Trace¸ú×Ù£¬ÏÂÃæÁоÙÁËÒ»ÏÂTrace¸ú×ÙʼþºÅµÄº¬Ò壬·½±ã²é¿´Ï±íÁгöÁË¿ÉÒÔÔÚ¸ú×ÙÖÐÌí¼Ó»òɾ³ýµÄʼþ¡£Ê¼þºÅʼþÃû³Æ˵Ã÷0-9±£Áô±£Áô10RPC:CompletedÔÚÍê³ÉÁËÔ¶³Ì¹ý³Ìµ÷ÓÃ(RPC)ʱ·¢Éú¡£11RPC:StartingÔÚÆô¶¯ÁËRPCʱ·¢Éú¡£12SQL:BatchCompletedÔÚÍê³ÉÁËTransact-SQL...

    371
    ÈȶÈ
  • SpringMVC+spring-security+sitemesh+hibernate+freemarkerÕûºÏ

    SpringMVC+spring-security+sitemesh+hibernate+freemarkerÕûºÏ-תhttp://www.oschina.net/code/snippet_170632_46774´úÂë·ÖÏíµ±Ç°Î»Ö㺴úÂë·ÖÏí»Java»Web±à³ÌËÑË÷SpringMVC+spring-security+sitemesh+hibernate+freemarker...

    285
    ÈȶÈ
  • ¿ª·¢×Ô¸ö¶ùµÄPHP MVC¿ò¼Ü£¨Ò»£©

    ¿ª·¢×Ô¼ºµÄPHPMVC¿ò¼Ü£¨Ò»£©Õâ¸ö½Ì³Ì¿ÉÒÔʹ´ó¼ÒÕÆÎÕÓÃmvcģʽ¿ª·¢phpÓ¦ÓõĻù±¾¸ÅÄî¡£´Ë½Ì³Ì·ÖΪÈý¸ö²¿·Ö£¬ÏÖÔÚÕâƪÊǵÚÒ»²¿·Ö¡£ÏÖÔÚÊÐÃæÉÏÓкܶàÁ÷ÐеĿò¼Ü¹©´ó¼ÒʹÓ㬵«ÊÇÎÒÃÇÒ²¿ÉÒÔ×Ô¼º¶¯ÊÖ¿ª·¢Ò»¸ömvc¿ò¼Ü£¬²ÉÓÃmvcģʽ¿ÉÒÔ´ó´ó¼õÉÙÎÒÃÇ¿ª·¢Ó¦ÓõÄʱ¼ä£¬²¢ÇÒÄܹ»¸üºÃµÄ×éÖ¯ÏîÄ¿Ô´´úÂ룬¶øÇÒÆäÖеÄijЩģ¿é»¹¿ÉÔÚÆäËüÏîÄ¿ÖÐʹÓá£ÏÖÔÚÎÒÒª½Ì´ó¼Òдһ¸ö¼òµ¥µÄmvc¿ò¼Ü¡£ÓÉÓÚÕâ¸öÏîÄ¿ºÜ¼òµ¥£¬ÇáÁ¿£¬ËùÒÔ¿ÉÄÜ...

    81
    ÈȶÈ
  • 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
    ÈȶÈ
  • ½â¾öAndroid4.3°æ±¾Ï£¬ÊÖ»úȱ²Ê½ÓÊÕÖÐÎÄÎļþÃû¸½¼þ£¬ÖÐÎÄÃû×ֵĸ½¼þÎÞ·¨±£´æ£¨µÚÒ»²½£º½â¾ö´ÓÍøÂçÏÂÔظ½¼þºó£¬³Ö¾Ã»¯Ê±ÖÐÎÄÎļþÃûÖÐÎÄÂÒÂ룩

    ½â¾öAndroid4.3°æ±¾Ï£¬ÊÖ»ú¶Ì²Ê½ÓÊÕÖÐÎÄÎļþÃû¸½¼þ£¬ÖÐÎÄÃû×ֵĸ½¼þÎÞ·¨±£´æ£¨µÚÒ»²½£º½â¾ö´ÓÍøÂçÏÂÔظ½¼þºó£¬³Ö¾Ã»¯Ê±ÖÐÎÄÎļþÃûÖÐÎÄÂÒÂ룩ÎÊÌâÃèÊö£ºÊÖ»úÓïÑÔ»·¾³£ºÓ¢ÎĽÓÊÕÖÐÎÄÎļþÃûͼƬ²ÊÐÅ£¬½ÓÊճɹ¦£¬µ«ÊÇÎÞ·¨±£´æ¸½¼þ£¨ÕâÀïÒÔÖÐÎÄÎļþÃûͼƬΪÀý£©·ÖÎöLog£ºÈçÏÂͼ·ÖÎöÊý¾Ý¿â£º½â¾ö·½°¸£ºÔÚAndroidÖУ¬²ÊÐŵĽÓÊÕ·ÖΪÁ½²¿·Ö¡£²ÊÐÅ֪ͨͨ¹ý¶ÌÐŵķ½Ê½½ÓÊÕ¡£²ÊÐÅÊý¾ÝµÄÏÂÔØÔÚÓ¦ÓòãÖд¦Àí¡£½ÓÊÕ¶ÌÐÅ(!...

    92
    ÈȶÈ