【富贵鸡游戏源码】【拾柒软件源码】【盗号链接源码】android support 源码
1.å¦ä½ä½¿ç¨android-support-v7-appcompat
2.怎么在Eclipse中查看Android API源码以及support包源码
å¦ä½ä½¿ç¨android-support-v7-appcompat
å¦æå¨ä½çæ¬Androidå¹³å°ä¸å¼åä¸ä¸ªåºç¨ç¨åºï¼èåºç¨ç¨åºåæ³ä½¿ç¨é«çæ¬ææ¥æçåè½ï¼å°±éè¦ä½¿ç¨Supportåºã
Android Support v4 æ¯ææ©ï¼å¹´4æ份ï¼å®ç°çåºãç¨å¨Android1.6 (API lever 4)æè æ´é«çæ¬ä¹ä¸ãå®å å«äºç¸å¯¹V4,源码 V大çå¤çåè½ã
ä¾å¦ï¼Fragmentï¼NotificationCompatï¼LoadBroadcastManagerï¼ViewPagerï¼PageTabAtripï¼Loaderï¼FileProvider çã详ç»API åè /reference/android/support/v4/app/package-summary.html
Android Support v7: è¿ä¸ªå æ¯ä¸ºäºèèAndroid2.1(API level 7) å以ä¸çæ¬è设计çï¼ä½æ¯v7æ¯è¦ä¾èµv4è¿ä¸ªå çï¼ä¹å°±æ¯å¦æè¦ä½¿ç¨ï¼ä¸¤ä¸ªå å¾åæ¶è¢«å¼ç¨ã v7æ¯æäºAction Barã
Android Support v:è¿ä¸ªå ç设计æ¯ä¸ºäºandroid 3.2åæ´é«çæ¬çï¼ä¸è¬æ们é½ä¸å¸¸ç¨ï¼å¹³æ¿å¼åä¸è½ç¨å°ã
é¦å è¦ä¿è¯Android Support Library 被å®è£
ç¶åå¨å·¥ç¨ä¸å¢å ï¼ä¾å¦ support-v4 Libraryï¼
å¨ADTä¸éè¦æç §ä»¥ä¸æ¥éª¤ï¼
1ãå³å»å½åå·¥ç¨ï¼æ¥æ¾Properties
2ãéæ©Java Build Path
3ãéæ©Libraries tabï¼ç¹å»å³è¾¹é¢æ¿çAdd External JARsæé®
4ãéæ©android-support-v4.jaræ件ï¼è¿ä¸æ件ç常è§è·¯å¾ä¸º:YOUR_DRIVE\android-sdks\extras\android\support\v4\android-support-v4.jar
5ãå®ææ·»å åï¼éæ©Order and Exportæ ç¾ï¼ç¡®è®¤å³å¯ã
5 v4ãv7ãv çä¾å代ç
4v : <sdk>/extras/android/support/samples/Support4Demos/
7v : <sdk>/extras/android/support/samples/Support7Demos/
v : <sdk>/extras/android/support/samples/SupportDemos/
App Navigation: <sdk>/extras/android/support/samples/SupportAppNavigation/
æ们éè¦ä½¿ç¨è¿ä¸ªçToolbarå°±æ¯éè¦ä½¿ç¨å°V7å ã
é¦å è¦ä½¿ç¨V7å ï¼ä½ å¾å»ä¸è½½å¥½ï¼ä½¿ç¨SDK Managerå»ä¸è½½ï¼æ¯å¨ExtraçAndroidSupport Repositoryè¿ä¸ªä¸ä¸ï¼åºè¯¥å¾å¿«çãä¸è½½å¥½ä¹åï¼å¯ä»¥æéé¢ç\android-sdk-windows\extras\android\support\v7\appcompat\libsï¼è¿ä¸ªè·¯å¾ä¸ç两个JARå ï¼V4åV7ï¼ CTRT C+CTRT V å°ä½ å¾é¡¹ç®çlibç®å½å°ä¸ï¼ç¶åbuild path æ·»å å°è¯¥projectçclass pathä¸ã对çJAR å å³é®ï¼Biuld Path -- >add to Build Path å°±å¯ä»¥äºã
ç¶åï¼ä½ å¯è½ä¼åç°è¿æé®é¢ï¼æ¯å¦resç®å½ä¸çstyleæ件åºç°äºé®é¢ï¼å®¢å®ä¸è¦æ¥ï¼è¿æ¶åä½ åºè¯¥æappcompat_v7è¿ä¸ªå å¯¼å ¥è¿æ¥ï¼ä¸è¬æ¥è¯´ï¼æ们第ä¸æ¬¡ä½¿ç¨Eclipseçæ¶åï¼å®ä¼èªå¨å¸®æä»¬å¯¼å ¥å°æ们çworkplaceä¸ï¼ä½æ¯å¯è½æç§åå ï¼æ¯å¦æ们ä¸ä¸å°å¿å é¤äºï¼åæ¥æ们没æè¿ä¸ªå ççï¼æ以æ们éè¦éæ°å¯¼å ¥ï¼ç¶åä½ å°±å»\android-sdk-windows\extras\android\support\v7\appcompatï¼åé¢çåèªä¸åï¼çä½ èªå·±çSDKæ¾å¨ä»ä¹ä½ç½®ï¼ï¼è¿ä¸ªå å¯¼å ¥ï¼æå顺便å¤å¶ä¸ä»½å°ä½ å¾workplaceä¸ï¼å¯¼å ¥çæ¶åéæ©å¤å¶ï¼ï¼ç¶åokã
åå¦ä½ å¾é¡¹ç®ä¸æ¯ä½äºä½ å¾workplaceä¸ï¼èæ¯ä»å¤é¢ä¸äºè·¯å¾å¯¼å ¥ï¼é£ä¹ä½ åºè¯¥å¤å¶ä¸ä»½è¿å ¥ä½ çworkplaceä¸ï¼å¯¼å ¥çæ¶åéæ©å¤å¶ï¼ï¼è¿æ ·ä¹è¡å¯ä»¥äºã
å¨å¯¼å ¥ä½ å¾appcompat_v7çæ¶åï¼åå¦æ¯resçæä¸äºæ件åºç°äºé®é¢ï¼æ¯å¦ä½ çstyleæ件夹å¾æä¸äºxmlæ件åºç°é误ï¼ä¹ä¸è¦çæ¥ï¼å®¢å®ï¼è¿æ¶åä½ åºè¯¥å»ä¿®æ¹ä¸ä¸project.propertiesè¿ä¸ªæ件ï¼æä»çæå°çsdkæ¹æä½ å·²ç»ä¸è½½å å«çï¼æ大çä¹æ¯åæ ·ï¼ä¸å®éè¦ä½ ä¸è½½å å«çã
è¿æ ·ï¼å¨ä½ ç项ç®ä¸ï¼å³é®åå»propertiesï¼ç¶åéæ©Androidï¼ç¶ålibraryï¼addï¼ææ们åæå¯¼å ¥çappcompat_v7æ·»å è¿æ¥ï¼è¿æ ·å°±åºè¯¥è½è§£å³é®é¢äºã
怎么在Eclipse中查看Android API源码以及support包源码
查看AndroidAPI源码:
1、第一步:选中Android项目,源码富贵鸡游戏源码鼠标右键“Properties——》Java
Build
Path——》Libraries”
2、源码拾柒软件源码第二步:展开添加的源码盗号链接源码SDK库文件,例如Android
4.0,源码找药源码选中Source
attachment,源码新骆驼源码最后点击“编辑”
3、源码第三步:关联本地的源码Android源码文件,选中源码存放位置
源码源码