-
AndroidÖм¯³ÉQQµÇ½¸úQQ¿Õ¼ä·ÖÏí
AndroidÖм¯³ÉQQµÇ½ºÍQQ¿Õ¼ä·ÖÏíתÓÚ£ºhttp://blog.csdn.net/arjinmc/article/details/38439957?--------------------------------------------------------------------------------?±¾ÎÄ»ùÓÚQQopensdkV2.4.1¡£?QQµÇ¼ӦÓÃÓÐÒ»¸öµØ·½ÊÇÐèҪעÒâµÄ£¬QQ...
93
ÈÈ¶È -
iphoneССС½á
iphoneСС×ܽáiphone¿ª·¢±Ê¼ÇÍË»ØÊäÈë¼üÅÌ-(BOOL)textFieldShouldReturn:(id)textField{[textFieldresignFirstResponder];}CGRectCGRectframe=CGRectMake(origin.x,origin.y,size.width,size.height)£»¾ØÐÎNSStringFromCGRect(someCG...
82
ÈÈ¶È -
android UI½ø½×Ö®¶ÒÏÖlistviewµÄ·ÖÒ³¼ÓÔØ
androidUI½ø½×֮ʵÏÖlistviewµÄ·ÖÒ³¼ÓÔØÉÏƪ²©Îĺʹó¼Ò·ÖÏíÁËÏÂÀˢУ¬ÕâÊÇÒ»¸öÓû§ÌåÑé·Ç³£ºÃµÄ²Ù×÷·½Ê½¡£ÐÂÀË΢±¡¾ÍÊÇʹÓÃÕâÖÖ·½Ê½µÄµäÐÍ¡£»¹ÓиöÎÊÌ⣬µ±Óû§´ÓÍøÂçÉ϶Áȡ΢±¡µÄʱºò£¬Èç¹ûÒ»ÏÂ×ÓÈ«²¿¼ÓÔØÓû§Î´¶ÁµÄ΢±¡Õ⽫ºÄ·Ñ±È½Ï³¤µÄʱ¼ä£¬Ôì³É²»ºÃµÄÓû§ÌåÑ飬ͬʱһÆÁµÄÄÚÈÝÒ²²»×ãÒÔÏÔʾÈç´Ë¶àµÄÄÚÈÝ¡£Õâʱºò£¬ÎÒÃǾÍÐèÒªÓõ½ÁíÒ»¸ö¹¦ÄÜ£¬ÄǾÍÊÇlistviewµÄ·ÖÒ³ÁË¡£Í¨¹ý·ÖÒ³·Ö´Î¼ÓÔØÊý¾Ý£¬Óû§¿´...
84
ÈÈ¶È -
AndroidÖÐÄÚÈݹ۲ìÕßµÄÓ¦ÓÃ- ContentObserverÀàÏê½â
AndroidÖÐÄÚÈݹ۲ìÕßµÄʹÓÃ----ContentObserverÀàÏê½âÇ°ÑÔ£º¹¤×÷ÖУ¬ÐèÒª¿ªÆôÒ»¸öÏ̴߳óÁ¿µÄ²éѯij¸öÊý¾Ý¿âÖµ·¢ËÍÁ˱仯£¬µ¼ÖµĿªÏúºÜ´ó£¬ºóÀ´ÔÚÀÏ´óµÄÖ¸µãÏ£¬ÀûÓÃÁË????ContentObserverÍêÃÀµÄ½â¾öÁ˸ÃÎÊÌ⣬¸Ðµ½ºÜÐË·Ü£¬×öÍêÖ®ºó×Ô¼ºÒ²¶ÔContentObserver×öÏÂ×ܽᡣ??????????ContentObserver¡ª¡ªÄÚÈݹ۲ìÕߣ¬Ä¿µÄÊǹ۲ì(²¶×½)Ìض¨Ur...
5
ÈÈ¶È -
SQL»°ÓïµÄ½âÎö¹ý³Ì(ת)
SQLÓï¾äµÄ½âÎö¹ý³Ì(ת)SQLÓï¾äµÄ½âÎö¹ý³Ìhttp://www.cnblogs.com/myprogram/archive/2013/01/24/2874666.html????ÓÉÓÚ×î½üÐèÒª×öһЩsqlqueryÐÔÄÜÌáÉýµÄÑо¿£¬Òò´ËÑо¿ÁËÒ»ÏÂsqlÓï¾äµÄ½â¾ö¹ý³Ì¡£ÔÚÔ°×ÓÀï¿´ÁËÏ£¬´ó¼ÒдÁ˺ܶàÏà¹ØµÄÎÄÕ£¬´ó¼ÒµÄ²àÖصã¸÷Óв»Í¬¡£±¾ÎÄÊÇÎÒÔÚ¿´Á˸÷ÖÖ×ÊÁϺóÊÖ»ú×ܽáµÄ£¬»áÏêϸµÄ£¬Ò»²½Ò»²½µÄ½²ÊöÒ»¸ösql...
80
ÈÈ¶È -
SQL»°ÓïµÄ½âÎö¹ý³Ì´óÆÊÎö
SQLÓï¾äµÄ½âÎö¹ý³Ì´óÆÊÎöÀ´Ô´ÓÚhttp://www.jiav.net/shujuku/database/2013-01-29/1634.htmlÓÉÓÚ×î½üÐèÒª×öһЩsqlqueryÐÔÄÜÌáÉýµÄÑо¿£¬Òò´ËÑо¿ÁËÒ»ÏÂsqlÓï¾äµÄ½â¾ö¹ý³Ì¡£ÔÚÔ°×ÓÀï¿´ÁËÏ£¬´ó¼ÒдÁ˺ܶàÏà¹ØµÄÎÄÕ£¬´ó¼ÒµÄ²àÖصã¸÷Óв»Í¬¡£±¾ÎÄÊÇÎÒÔÚ¿´Á˸÷ÖÖ×ÊÁϺóÊÖ»ú×ܽáµÄ£¬»áÏêϸµÄ£¬Ò»²½Ò»²½µÄ½²ÊöÒ»¸ösqlÓï¾äµÄ¸÷¸ö¹Ø¼ü×ֵĽâÎö¹ý³Ì£¬»¶Ó´ó¼Ò...
99
ÈÈ¶È -
Android¿ª·¢¾«Òª2-Android×é¼þÄ£ÐͽâÎö
Android¿ª·¢¾«Òª2--Android×é¼þÄ£ÐͽâÎö±¾ÎĵÄÖ÷ÒªÄÚÈÝÈçÏ£º2.1»ùÓÚMashupµÄÓ¦ÓÃÉè¼Æ2.2½çÃæ×é¼þActivity½âÎö2.3·þÎñ×é¼þService½âÎö2.4´¥·¢Æ÷×é¼þBroadcastReceiver½âÎö2.5Êý¾ÝÔ´×é¼þContentProvider½âÎö2.6Ó¦ÓÃÅäÖÃÎļþ½âÎöÏÂÃ潫¶ÔÕâЩÄÚÈݽøÐÐÏêϸµÄ½éÉÜ¡£2.1»ùÓÚMashupµÄÓ¦ÓÃÉè¼Æ»ùÓÚMashupµÄÓ¦Óã¬ÆäºËÐÄÊÇ×é¼þ£¬...
74
ÈÈ¶È -
Android TraceView¹¤¾ßÊ©ÓÃÏê½â
AndroidTraceView¹¤¾ßʹÓÃÏê½âTraceViewÊÇʲôTraceviewÊÇandroidƽ̨Å䱸һ¸öºÜºÃµÄÐÔÄÜ·ÖÎöµÄ¹¤¾ß¡£Ëü¿ÉÒÔͨ¹ýͼÐλ¯µÄ·½Ê½ÈÃÎÒÃÇÁ˽âÎÒÃÇÒª¸ú×ٵijÌÐòµÄÐÔÄÜ£¬²¢ÇÒÄܾßÌåµ½method¡£TraceviewµÄ×÷ÓÃ1.²é¿´¸ú×Ù´úÂëµÄÖ´ÐÐʱ¼ä£¬·ÖÎöÄÄЩÊǺÄʱ²Ù×÷2.¿ÉÒÔÓÃÓÚ¸ú×Ù·½·¨µÄµ÷Óã¬ÓÈÆäÊÇAndroidFramework²ãµÄ·½·¨µ÷ÓùØϵTraceviewµÄʹÓò½Öè·Ö...
45
ÈÈ¶È -
android ×Ô¶¨ÒåPreferecne¸ñ¾Ö
android×Ô¶¨ÒåPreferecne²¼¾Ö1.PreferenceActivity½éÉÜPreferenceActivity¼Ì³ÐListActivityËüÊÇÒÔÒ»¸öÁбíµÄÐÎʽÔÚÕ¹ÏÖÄÚÈÝ£¬Ëü×îÖ÷ÒªµÄÌصãÊÇÌí¼ÓPreference¿ÉÒÔÈÿؼþµÄ״̬³Ö¾Ã»¯´¢´æ£¬¾Ù¸öÀý×Ó±ÈÈçÓû§Ñ¡ÖÐcheckboxºóÍ˳öÓ¦ÓÃÈ»ºóÔÚ½øÈëÓ¦Óã¬ÕâʱÓû§Ï£Íû¿´µ½µÄÊÇcheckbox±»Ñ¡ÖУ¬ËùÒÔÈí¼þÐëÒª¼Ç¼Óû§Ã¿´Î²Ù×÷µÄ¹ý³Ì²¢ÇÒ³Ö¾Ã...
13
ÈÈ¶È -
ÔÉúAndroidËõÂÔͼÌîÂúSD¿¨µÄÓйØÎÊÌâ
ÔÉúAndroidËõÂÔͼÌîÂúSD¿¨µÄÎÊÌâ±¾È˲©¿ÍÔÎÄgoogleÔÉúAndroidÖУ¬MiniThumbFile.javaÀï´æ´¢Í¼Æ¬/ÊÓƵµÄËõÂÔͼµÄËã·¨ÓÐÎÊÌâ¡£¸ÃËã·¨µÄ©¶´Ôì³É΢ËõÂÔͼÎļþ£¨DCIM\.thumbnails\.thumbdata4--1967290299£©·Ç³£ÅÓ´óºÍÓ·Ö×£¬¶à´ï1G£¬ÀíÂÛÉÏ¿ÉÒÔÎÞÏÞ´ó£¬Ö±µ½ÌîÂúSD¿¨ÖØÏÖ²½Ö裺µÚÒ»²½£º²åÈëÒ»ÕÅÓµÓÐ10ÍòÕÅͼƬµÄÍⲿ£Ó£Ä¿¨£¬µÚ¶þ²½£ºµÈ´ýÊÖ...
24
ÈÈ¶È -
AndroidϵͳSurface»úÖƵÄSurfaceFlinger·þÎñµãȾӦÓóÌÐòUIµÄ¹ý³Ì·ÖÎö
AndroidϵͳSurface»úÖƵÄSurfaceFlinger·þÎñäÖȾӦÓóÌÐòUIµÄ¹ý³Ì·ÖÎöÔÚÇ°ÃæµÄһϵÁÐÎÄÕÂÖУ¬ÎÒÃÇѧϰÁËAndroidÓ¦ÓóÌÐòÓëSurfaceFlinger·þÎñµÄ¹Øϵ£¬ÒÔ¼°SurfaceFlinger·þÎñµÄÆô¶¯¹ý³Ì¡¢³õʼ»¯Ó²¼þÖ¡»º³åÇøµÄ¹ý³Ì¡¢Ïß³ÌÄ£ÐÍ¡£SurfaceFlinger·þÎñËù×öµÄÒ»Çж¼ÊÇΪÁ˸øAndroidÓ¦ÓóÌÐòÌá·þÎñµÄ£¬¼´ÎªAndroidÓ¦ÓóÌÐòäÖȾËüÃǵÄUI...
10
ÈÈ¶È -
Android ϵͳÎȶ¨ÐÔ - ANR£¨¶þ£©
¡¾Ô´´¡¿AndroidϵͳÎȶ¨ÐÔ-ANR£¨¶þ£©ÎÄÕ¶¼ÎªÔ´´£¬×ªÔØÇë×¢Ã÷³ö´¦£¬Î´¾ÔÊÐí¶øµÁÓÃÕß×·¾¿·¨ÂÉÔðÈΡ£ºÜ¾Ã֮ǰдµÄÁË£¬Áô×ÅÓеãÀË·Ñ£¬¹²ÏíÖ®¡£±àдÕߣºÀîÎĶ°P.S.OpenOfficeÕ³Ìù¹ýÀ´ºó¸ñʽÓÐЩ»ìÂÒ¡£1.2ÈçºÎ·ÖÎöANRÎÊÌâÒýÆðANRÎÊÌâµÄ¸ù±¾ÔÒò£¬×ܵÄÀ´Ëµ¿ÉÒÔ¹éÄÉΪÁ½ÀࣺӦÓýø³Ì×ÔÉíÒýÆðµÄ£¬ÀýÈ磺Ö÷Ïß³Ì×èÈû¡¢¹ÒÆð¡¢ËÀÑ»·Ó¦Óýø³ÌµÄÆäËûÏ̵߳ÄCPUÕ¼ÓÃÂʸߣ¬Ê¹µÃÖ÷Ïß³ÌÎÞ·¨ÇÀÕ¼µ½CPUʱ¼ä...
17
ÈÈ¶È -
AndroidÔ´´úÂë·ÖÎö(1) Ŀ¼½á¹¹·ÖÎö
AndroidÔ´´úÂë·ÖÎö(Ò»)Ŀ¼½á¹¹·ÖÎöGoogleÌṩµÄAndroid°üº¬ÁËÔʼAndroidµÄÄ¿±ê»ú´úÂ룬Ö÷»ú±àÒ빤¾ß¡¢·ÂÕæ»·¾³£¬ÏÂÔصĴúÂë°ü¾¹ý½âѹºó(ÕâÀïÊÇAndroid2.2µÄÔ´Âë°ü)£¬Ô´´úÂëµÄµÚÒ»²ãĿ¼½á¹¹ÈçÏ£º|--Makefile|--bionic£¨bionicC¿â£©|--bootable£¨Æô¶¯Òýµ¼Ïà¹Ø´úÂ룩|--build£¨´æ·Åϵͳ±àÒë¹æÔò¼°genericµÈ»ù´¡¿ª·¢°üÅäÖã©|-...
22
ÈÈ¶È -
Android ֪ͨÀ¸NotificationµÄµ÷Õû È«Ãæѧϰ £¨Ò»¸öDEMOÈÃÄãÍêÈ«Á˽âËü£©(ת)
Android֪ͨÀ¸NotificationµÄÕûºÏÈ«Ãæѧϰ£¨Ò»¸öDEMOÈÃÄãÍêÈ«Á˽âËü£©(ת)תÔØ×Ô:http://blog.csdn.net/vipzjyno1/article/details/25248021??·Ç³£ÖµµÃѧϰµÄÎÄÕ£¬ÍƼö??ÔÚandroidµÄÓ¦ÓòãÖУ¬Éæ¼°µ½ºÜ¶àÓ¦Óÿò¼Ü£¬ÀýÈ磺Service¿ò¼Ü£¬Activity¹ÜÀí»úÖÆ£¬Broadcast»úÖÆ£¬¶Ô»°¿ò¿ò¼Ü£¬±êÌâÀ¸¿ò¼Ü£¬×´Ì¬À¸¿ò...
96
ÈÈ¶È -
AndroidϵÁпγÌÖ®ËÄ£ºActivityµÄÉúÃüÖÜÆÚ
AndroidϵÁн̳ÌÖ®ËÄ£ºActivityµÄÉúÃüÖÜÆÚÒ»£ºActivityµÄÉúÃüÖÜÆÚ·½·¨?AndroidÌṩÁ˺ܶàActivityµÄÉúÃüÖÜÆÚ·½·¨£¬±ÈÈçÎÒÃdz£ÓõÄonCreate¡¢onPause¡¢onResumeµÈ¡£ÕâÀïÖ÷Òª½éÉÜ´ÖÁ£¶ÈµÄÖÜÆÚ·½·¨£¬ÖîÈçonPostCreate¡¢onPostResumeµÈÕâЩϸÁ£¶ÈµÄÖÜÆÚ·½·¨¿ÉÒԲο¼AndroidµÄAPIÎĵµ£¬ÔÚÄãÐèÒª¸üϸ²ã´ÎµÄ¿ØÖƵÄʱºò¿ÉÒÔʹÓÃÕâЩϸÁ£...
89
ÈÈ¶È -
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
ÈÈ¶È -
C#¶ÁÈ¡Excel ¼¸ÖÖ·½·¨µÄ¸ÐÊÜ
C#¶ÁÈ¡Excel¼¸ÖÖ·½·¨µÄÌå»á(1)OleDb£ºÓÃÕâÖÖ·½·¨¶ÁÈ¡ExcelËٶȻ¹ÊǷdz£µÄ¿ìµÄ£¬µ«ÕâÖÖ·½Ê½¶ÁÈ¡Êý¾ÝµÄʱºò²»Ì«Áé»î£¬²»¹ý¿ÉÒÔÔÚDataTableÖжÔÊý¾Ý½øÐÐһЩɾ¼õÐÞ¸ÄÕâÖÖ·½Ê½½«Excel×÷Ϊһ¸öÊý¾ÝÔ´£¬Ö±½ÓÓÃSqlÓï¾ä»ñÈ¡Êý¾ÝÁË¡£ËùÒÔ¶Áȡ֮ǰҪ֪µÀ´Ë´ÎÒª¶ÁÈ¡µÄSheet£¨µ±È»Ò²¿ÉÒÔÓÃÐòºÅ£¬ÀàËÆdt.Row[0][0]¡£ÕâÑùµ¹ÊDz»ÐèÒªÖªµÀSheet£©if(fileType==".xls...
81
ÈÈ¶È -
C#¸´½¨¾µäÈ«Ãæ»ã×Ü
ÀàÖе÷Óþ²Ì¬ÀàµÄ·½·¨£¬ËùÒÔ˵¾ßÌå×öʲôÊÂÇéûÓиı䣬¸Ä±äµÄÖ»ÊÇÐÎʽ£¬µ«ÕâÑù×öµÄÒ»¸öºÃ´¦ÊÇÔö¼ÓÁËÁË´úÂëµÄ¿É²âÊÔÐÔ¡£ÔÚÓ¦ÓÃÁË·Ö½âÒÀÀµÄ£Ê½ºó£¬ÎÒÃǾͿÉÒÔÔÚµ¥Ôª²âÊÔµÄʱºòmockÒ»¸ö
81
ÈÈ¶È -
ÔÚPHPÖеÄÕýÔò±í´ïʽӡ֤
ÔÚPHPÖеÄÕýÔò±í´ïʽÑéÖ¤ÑéÖ¤ÊÇ´¦´¦ÎªÕ¾³¤µÄ¹²Í¬¹Ø×¢¡£Èç¹ûÓÐÈ˽øÈëÐÎʽµÄÐÅÏ¢£¬ÄúÐèÒªÑéÖ¤Ëü£¡µ«ÊÇ£¬ÕâÑù×ö×î¼òµ¥µÄ·½·¨ÊÇʲô£¿àÅ£¬´¦Àí´óÁ¿µÄÎı¾Ä£Ê½£¬ÐèÒª×ñÑʱ£¬ÎÒ×ÜÊÇתÏòÕýÔò±í´ïʽ¡£ÕýÔò±í´ïʽÊÇÄ㶨ÒåÒ»¸öģʽµÄÒ»ÖÖ·½Ê½¡£ËäÈ»ÎÒ²»»á½ÌÄãµÄRegex£¬ÎÒ»á¸æËßÕýÔò±í´ïʽÔÚPHP¡£PHPÖ÷ҪʹÓÃÁËPerlµÄregexµÄζµÀ¡£Õâ¾ÍÊÇΪʲôҪִÐеŦÄÜÔÚPHPÕýÔò±í´ïʽpreg_match¡£Ö´ÐÐPerlµÄÕý...
64
ÈÈ¶È -
PHP µ¥Àýģʽ½âÎö¸úʵս
PHPµ¥Àýģʽ½âÎöºÍʵսһ¡¢Ê²Ã´Êǵ¥Àýģʽ£¿1¡¢º¬Òå?????×÷Ϊ¶ÔÏóµÄ´´½¨Ä£Ê½£¬µ¥Àýģʽȷ±£Ä³Ò»¸öÀàÖ»ÓÐÒ»¸öʵÀý£¬¶øÇÒ×ÔÐÐʵÀý»¯²¢ÏòÕû¸öϵͳȫ¾ÖµØÌṩÕâ¸öʵÀý¡£Ëü²»»á´´½¨ÊµÀý¸±±¾£¬¶øÊÇ»áÏòµ¥ÀýÀàÄÚ²¿´æ´¢µÄʵÀý·µ»ØÒ»¸öÒýÓá£2¡¢µ¥ÀýģʽµÄÈý¸öÒªµã£º£¨1£©.ÐèÒªÒ»¸ö±£´æÀàµÄΨһʵÀýµÄ¾²Ì¬³ÉÔ±±äÁ¿:[php]?viewplaincopyprint??private?static?$_instance;...
85
ÈȶÈ