-
Android ×Ô¶¨ÒåÊôÐÔ attr formatÈ¡ÖµÃÅÀà
Android×Ô¶¨ÒåÊôÐÔattrformatÈ¡ÖµÀàÐÍ×î½üÔÚÑо¿×Ô¶¨Òå¿Ø¼þ£¬×Ô¼º¸Ð¾õ×ÜÊǼDz»×¡ÕâЩÊôÐԵĺ¬Ò壬ËùÒÔ½ñÌìдÁËһƪ²©¿Í¼Ç¼ÏÂÀ´¡£ºÃ¼ÇÐÔ²»ÈçÀñÊÍ·°¡£¡£¡£¡£¡£¡1.reference£º²Î¿¼Ä³Ò»×ÊÔ´ID¡££¨1£©ÊôÐÔ¶¨Ò壺<declare-styleablename="Ãû³Æ"><attrname="background"format=&q...
54
ÈÈ¶È -
android °Ù¶ÈmapAPIʹÓý̳Ì˵Ã÷
android°Ù¶ÈµØͼAPIʹÓý̳Ì˵Ã÷µ¼Èë¿âÎļþÔÚÏÂÔØÒ³ÃæÏÂÔØ×îеĿâÎļþ¡£½«liblocSDK2.4.soÎļþ¿½±´µ½libs/armeabiĿ¼Ï¡£½«locSDK2.4.jarÎļþ¿½±´µ½¹¤³Ì¸ùĿ¼Ï£¬²¢ÔÚ¹¤³ÌÊôÐÔ->JavaBuildPath->LibrariesÖÐÑ¡Ôñ¡°AddJARs¡±£¬Ñ¡¶¨locSDK2.4.jar£¬È·¶¨ºó·µ»Ø¡£ÕâÑùÄú¾Í¿ÉÒÔÔÚ³ÌÐòÖÐʹÓðٶȶ¨Î»APIÁË¡£ÉèÖÃAn...
49
ÈÈ¶È -
Android as Bluetooth Low Energy Peripherial (GATT server)
AndroidasBluetoothLowEnergyPeripherial(GATTserver).IdemonstratehowtowriteasimpleBLEperipheralapplicationinAndroidhere.IambadinAndroiddevelopment,TheUIwouldbeveryugly,butthecodework:Currently(5/25/2015...
621
ÈÈ¶È -
¡¾°²×¿Ôý¼Ç¡¿VolleyÈ«·½Î»½âÎö,´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½â
¡¾°²×¿±Ê¼Ç¡¿VolleyÈ«·½Î»½âÎö,´øÄã´ÓÔ´ÂëµÄ½Ç¶È³¹µ×Àí½âתÔØÇëÉùÃ÷Ô³ö´¦(blog.csdn.net/chdjj)£¬Ð»Ð»!--------------------------²Î¿¼×ÊÁÏ1.http://www.codekk.com/open-source-project-analysis/detail/Android/grumoon/Volley%20%E6%BA%90%E7%A0%81%E8%...
61
ÈÈ¶È -
AndroidÔ´ÂëÖ®Binder(1)
AndroidÔ´ÂëÖ®Binder(Ò») ÔÚAndroidϵͳÖУ¬½ø³Ì¼äͨÐÅʹÓõÄÊÇBinder»úÖÆ¡£BinderͨÐÅÔÚAndroidÀïÕ¼¾ÝןÜÖØÒªµÄµØλ,AndroidϵͳµÄ·½·½ÃæÃ涼»áÉæ¼°µ½Binder. Òò´Ë£¬½ÓÏÂÀ´ÎÒÃǾͷÖÎöÒ»ÏÂBinderµÄÔ´Âë¡£ ÎÒÃÇÏÈÀ´¿´Ò»ÏÂBinderÉ豸µÄ³õʼ»¯¹ý³Ì£¬BinderÊÇ×÷ΪAndroidµÄÒ»¸öÉ豸´æ»îµÄ¡£ ÔÚbinder.cÎļþµÄ×îºóÓÐÏÂÃæÕâôһ¾ä´úÂë ...
34
ÈÈ¶È -
¡¾FastDev4Android¿ò¼Ü¿ª·¢¡¿AndroidAnnnotationsÁ÷Èë¿ò¼ÜʹÓÃ֮ʼþ°ó¶¨Event Binding(ʮһ)
¡¾FastDev4Android¿ò¼Ü¿ª·¢¡¿AndroidAnnnotations×¢Èë¿ò¼ÜʹÓÃ֮ʼþ°ó¶¨EventBinding(ʮһ)תÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/developer_jiangqq/article/details/49512513±¾Îijö×Ô:¡¾½ÇåÇåµÄ²©¿Í¡¿(Ò»).Ç°ÑÔ:Ç°ÃæÎÒÃÇÒѾ¶ÔÓÚAndroidAnnotations¿ò¼ÜµÄInjection±êÇ©×öÁË...
429
ÈÈ¶È -
±ÜÃâAndroidÖÐcontext»½ÆðµÄÄÚ´æй¶
±ÜÃâAndroidÖÐcontextÒýÆðµÄÄÚ´æй¶ContextÊÇÎÒÃÇÔÚ±àдAndroid³ÌÐò¾³£Ê¹Óõ½µÄ¶ÔÏó£¬Òâ˼ΪÉÏÏÂÎĶÔÏó¡£³£ÓõÄÓÐActivityµÄContext»¹ÊÇÓÐApplicationµÄContext¡£ActivityÓÃÀ´Õ¹Ê¾»î¶¯½çÃ棬°üº¬Á˺ܶàµÄÊÓͼ£¬¶øÊÓͼÓÖº¬ÓÐͼƬ£¬ÎÄ×ÖµÈ×ÊÔ´¡£ÔÚAndroidÖÐÄÚ´æй¶ºÜÈÝÒ׳öÏÖ£¬¶ø³ÖÓкܶà¶ÔÏóÄÚ´æÕ¼ÓõÄActivity¸ü¼ÓÈÝÒ׳öÏÖÄÚ´æй¶£¬¿ª·¢...
65
ÈÈ¶È -
OracleÐÐתÁС¢ÁÐתÐеÄSqlÓï¾äС½á
OracleÐÐתÁС¢ÁÐתÐеÄSqlÓï¾ä×ܽá¶àÐÐת×Ö·û´®Õâ¸ö±È½Ï¼òµ¥£¬ÓÃ||»òconcatº¯Êý¿ÉÒÔʵÏÖ ?SQLCode? 12??select?concat(id,username)?str?from?app_userselect?id||username?str?from?app_user×Ö·û´®×ª¶àÁÐʵ¼ÊÉϾÍÊDzð·Ö×Ö·û´®µÄÎÊÌ⣬¿ÉÒÔʹÓÃsubstr¡¢instr¡¢regexp_substrº¯Êý...
77
ÈÈ¶È -
ÐÂÊ飺·æÀûµÄSQL£¨µÚ2°æ£©¿ªÊ¼³öÊÛ¼°´úÂëÏÂÔØ
ÐÂÊ飺·æÀûµÄSQL£¨µÚ2°æ£©¿ªÊ¼·¢ÊÛ¼°´úÂëÏÂÔØΪÌá¸ß¶ÁÕßѧϰЧÂÊ£¬ÌØÌṩ´úÂëÏÂÔØ£ºhttp://download.csdn.net/detail/zhanghongju/8729369Íø¹º¾©¶«£ºhttp://item.jd.com/11692900.htmlÍø¹ºµ±µ±£ºhttp://product.dangdang.com/23702533.htmlÇ°ÑÔ±¾ÊéµÚ1°æÊÇÔÚËÄÄêÇ°³ö°æµÄ£¬µ«ÖÁ½ñÈÔÔÚ±»ÖÚ¶àµÄ...
31
ÈÈ¶È -
54
ÈÈ¶È -
С½áÒ»ÏÂSQLµÄÈ«¾Ö±äÁ¿
×ܽáÒ»ÏÂSQLµÄÈ«¾Ö±äÁ¿SQLServer2008ÖеÄÈ«¾Ö±äÁ¿¼°ÆäÓ÷¨T-SQL³ÌÐòÖеıäÁ¿·ÖΪȫ¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿Á½À࣬ȫ¾Ö±äÁ¿ÊÇÓÉSQLServerϵͳ¶¨ÒåºÍʹÓõıäÁ¿¡£DBAºÍÓû§¿ÉÒÔʹÓÃÈ«¾Ö±äÁ¿µÄÖµ£¬µ«²»ÄÜ×Ô¼º¶¨ÒåÈ«¾Ö±äÁ¿¡£ÏÂÃæÏêϸ×ܽáÒ»ÏÂSQLServer2008ÖеÄ33¸öÈ«¾Ö±äÁ¿,²¢ÇÒдһÏÂʾÀý.@@CONNECTIONS·µ»ØSQLServer×ÔÉÏ´ÎÆô¶¯ÒÔÀ´³¢ÊÔµÄÁ¬½ÓÊý£¬ÎÞÂÛÁ¬½ÓÊdzɹ¦»¹...
109
ÈÈ¶È -
SQLite¶àÏ̶߳Áдʵ¼ù¼°³£¼ûÓйØÎÊÌâ×ܽá
SQLite¶àÏ̶߳Áдʵ¼ù¼°³£¼ûÎÊÌâ×ܽá¶àÏ̶߳ÁдSQLiteʵÖÊÉÏÊǽ«Êý¾ÝдÈëÒ»¸öÎļþ£¬Í¨³£Çé¿öÏ£¬ÔÚÓ¦ÓõİüÃûÏÂÃ涼ÄÜÕÒµ½xxx.dbµÄÎļþ£¬ÓµÓÐrootȨÏÞµÄÊÖ»ú£¬¿ÉÒÔͨ¹ýadbshell£¬¿´µ½data/data/packagename/databases/xxx.dbÕâÑùµÄÎļþ¡£ÎÒÃÇ¿ÉÒÔµÃÖªSQLiteÊÇÎļþ¼¶±ðµÄËø£º¶à¸öÏ߳̿ÉÒÔͬʱ¶Á£¬µ«ÊÇͬʱֻÄÜÓÐÒ»¸öÏß³Ìд¡£AndroidÌṩÁËSql...
84
ÈÈ¶È -
SQLiteÖ¸ÄÏ(5) - PRAGMAÃüÁîÓ÷¨£¨ÍêÕû)
SQLiteÖ¸ÄÏ(Îå)-PRAGMAÃüÁîÓ÷¨£¨ÍêÕû)תÓÚ£ºhttp://blog.chinaunix.net/uid-40286-id-3816127.html?--------------------------------------------------------------------------------------------------?PRAGMAÓï¾äÊÇSQLITEÊý¾ÝµÄSQ...
80
ÈÈ¶È -
SQL SERVERÖ®ÊÂÒË
SQLSERVERÖ®ÊÂÎñÔÚʵ¼Ê¶ÔÊý¾Ý¿âµÄʹÓÃÖУ¬»á³öÏÖ¶à¸öÓû§Í¬Ê±¶ÔijһÕűí½øÐвÙ×÷£¬µ±¶à¸öÓû§ÔÚͬһʱ¼ä¶ÔͬһÕÅÊý¾Ý±í½øÐжÁÈ¡»òÕßÐ޸IJÙ×÷ʱ£¬Èô´¦Àí²»µ±¾ÍÓпÉÄÜ·¢Éú³åÍ»ÎÊÌ⡣ΪÁ˽â¾öÕâÑùµÄÎÊÌ⣬¾ÍÐèҪʹÓÃÊÂÎñµÄ¿ØÖƺ͹ÜÀí»úÖÆ¡£ÊÂÎñµ¥¸öÂß¼¹¤×÷µ¥ÔªÖ´ÐвÙ×÷µÄ¼¯ºÏ£¬Ò²¿ÉÒÔ¿´×÷ÊǶàÌõÓï¾ä·â×°µÄ½á¹û¡£Í¨¹ýÊÂÎñ¿ÉÒÔ±£Ö¤Êý¾Ý±íÖÐÊý¾ÝµÄÒ»ÖÂÐÔ¡£ÊÂÎñµÄÌØÐÔÔ×ÓÐÔÊÇÖ¸ÊÂÎñÖÐËùÓеÄÖ´...
100
ÈÈ¶È -
SQLÖÐÌõ¼þ¸ú±È½Ï¹Ø¼ü×ÖCaseµÄʹÓ÷½·¨(caseµÄ½á¹û¾ÍÊǵõ½ÁËÒ»¸öÖµ)
SQLÖÐÌõ¼þºÍ±È½Ï¹Ø¼ü×ÖCaseµÄʹÓ÷½·¨(caseµÄ½á¹û¾ÍÊǵõ½ÁËÒ»¸öÖµ)ת×Ô£ºhttp://www.cnblogs.com/dongzhiquan/archive/2009/04/13/1994905.htmlCase¾ßÓÐÁ½ÖÖ¸ñʽ¡£¼òµ¥Caseº¯ÊýºÍCaseËÑË÷º¯Êý¡£--¼òµ¥Caseº¯ÊýCASEsexWHEN'1'THEN'ÄÐ'WHEN'2'THEN'Å®'ELSE'ÆäËû'END--CaseËÑË÷...
93
ÈÈ¶È -
¡¾MVC ËÄ¡¿8.SportsSore£º¹ÜÀí
¡¾MVC4¡¿8.SportsSore£º¹ÜÀí×÷Õߣº[ÃÀ]AdamFreemanÀ´Ô´£º¡¶¾«Í¨ASP.NETMVC4¡·±¾ÎĽ«¼ÌÐø¹¹½¨SportsStoreÓ¦ÓóÌÐò£¬ÎªÍøÕ¾¹ÜÀíÔ±Ìṩһ¸ö¹ÜÀí²úÆ··ÖÀàµÄ·½·¨¡£±¾ÎĽ«Ìí¼ÓһЩ֧³Ö¹¦ÄÜ£¬°üÀ¨Í¨¹ý²úÆ·´æ´¢¿â½øÐвúÆ·µÄ´´½¨¡¢±à¼ºÍɾ³ý£¬ÒÔ¼°ÉÏ´«²úƷͼƬ²¢½«ÆäÏÔʾÔÚ²úÆ·ÅԱߡ£1.Ìí¼Ó·ÖÀà¹ÜÀí¹ÜÀíÌõÄ¿¼¯ºÏµÄ¹ßÀý£¬ÊÇÏòÓû§ÏÔʾÁ½ÖÖÐÎʽµÄÒ³Ãæ——Ò»¸ö...
249
ÈÈ¶È -
Android´°¿Ú¹ÜÀí·þÎñWindowManagerServiceչʾ´°¿Ú¶¯»µÄÔÀí·ÖÎö
Android´°¿Ú¹ÜÀí·þÎñWindowManagerServiceÏÔʾ´°¿Ú¶¯»µÄÔÀí·ÖÎöÔÚÇ°Ò»ÎÄÖУ¬ÎÒÃÇ·ÖÎöÁËActivity×é¼þµÄÇл»¹ý³Ì¡£´ÓÕâ¸ö¹ý³Ì¿ÉÒÔÖªµÀ£¬ËùÓвÎÓëÇл»²Ù×÷µÄ´°¿Ú¶¼»á±»ÉèÖÃÇ뻶¯»¡£ÊÂʵÉÏ£¬Ò»¸ö´°¿ÚÔÚ´ò¿ª£¨¹Ø±Õ£©µÄ¹ý³ÌÖУ¬³ýÁË¿ÉÄÜ»áÉèÖÃÇ뻶¯»Ö®Í⣬Ëü±¾ÉíÒ²¿ÉÄÜ»áÉèÖÃÓнøÈ루Í˳ö£©¶¯»¡£ÔÙ½øÒ»²½µØ£¬Èç¹ûÒ»¸ö´°¿ÚÊǸ½¼ÓÔÚÁíÍâÒ»¸ö´°¿ÚÖ®Éϵģ¬ÄÇô±»¸½¼Ó´°¿ÚËùÉèÖõĶ¯»Ò²»áͬʱ´«µÝ...
81
ÈÈ¶È -
AndroidÖÐFragmentµÄʹÓÃ
AndroidÖÐFragmentµÄÓ¦ÓÃFragment±íÏÖActivityÖÐÓÃUIµÄÒ»¸öÐÐΪ»òÕßÒ»²¿·Ö.¿ÉÒÔ×éºÏ¶à¸öfragment·ÅÔÚÒ»¸öµ¥¶ÀµÄactivityÖÐÀ´´´½¨Ò»¸ö¶à½çÃæÇøÓòµÄUI,²¢¿ÉÒÔÔÚ¶à¸öactivityÀïÖØÓÃijһ¸öfragment.°ÑfragmentÏëÏó³ÉÒ»¸öactivityµÄÄ£¿é»¯ÇøÓò,ÓÐËü×Ô¼ºµÄÉúÃüÖÜÆÚ,½ÓÊÕÊôÓÚËüµÄÊäÈëʼþ,²¢ÇÒ¿ÉÒÔÔÚactivityÔËÐÐÆÚ¼äÌí¼ÓºÍɾ³ý.Fr...
85
ÈÈ¶È -
AndroidѧϰÔý¼Ç-javaʵÏÖ¶àÏß³ÌÏÂÔØÆ÷,30_¶àÏß³ÌÏÂÔØÔÀí½éÉܺÍʹÓÃ
Androidѧϰ±Ê¼Ç---javaʵÏÖ¶àÏß³ÌÏÂÔØÆ÷,30_¶àÏß³ÌÏÂÔØÔÀí½éÉܺÍʹÓÃ2013-04-0130_¶àÏß³ÌÏÂÔØÔÀí--------------------a.ÎļþÏÂÔØÔÀï:ʹÓÃhttpÐÒéʵÏÖ¶àÏß³ÌÏÂÔØb.²ÉÓöàÏß³ÌÏÂÔØ,¿ÉÒÔÇÀÕ¼·þÎñÆ÷cpuµÄ´¦Àíʱ¼ä,ʵÏÖ¿ìËÙÏÂÔØc.ʹÓöàÏß³ÌÏÂÔØÎļþ¿ÉÒÔ¸ü¿ìÍê³ÉÎļþµÄÏÂÔØ£¬¶àÏß³ÌÏÂÔØÎļþÖ®ËùÒԿ죬ÊÇÒòΪÆäÇÀÕ¼µÄ·þÎñÆ÷×ÊÔ´¶à¡£È磺¼ÙÉè·þÎñÆ÷ͬʱ×î¶à·þÎñ...
79
ÈÈ¶È -
AndroidÉîÈëÏÔ³öÖ®Surface
AndroidÉîÈëdz³öÖ®SurfaceһĿµÄ±¾½ÚµÄÄ¿µÄ¾ÍÊÇΪÁ˽²Çå³þAndroidÖеÄSurfaceϵͳ£¬´ó¼Ò¶úÊìÄÜÏêµÄSurfaceFlingerµ½µ×ÊǸöʲô¶«Î÷£¬ËüµÄ¹¤×÷Á÷³ÌÓÖÊÇÔõÑùµÄ¡£µ±È»£¬¼øÓÚSurfaceFlingerµÄ¸´ÔÓÐÔ£¬ÎÒÃÇÒÀÈ»½«²ÉÓÃÇé¾°·ÖÎöµÄ°ì·¨£¬ÕÒµ½ºÏÊʵÄÇÐÈëµã¡£Ò»¸öActivityÊÇÔõôÔÚÆÁÄ»ÉÏÏÔʾ³öÀ´µÄÄØ£¿ÎÒ½«Ê×ÏÈ°ÑÕâ¸ö˵Çå³þ¡£½Ó×ÅÎÒÃÇ°ÑÆäÖеĹؼüµ÷ÓóéÏóÔÚNative²ã...
26
ÈȶÈ