1.permissionåuses-permissionçåºå«
permissionåuses-permissionçåºå«
propectionLevelè¿ä¸ªå±æ§æ¯å¿ 须声æï¼åè¯ç³»ç»éç¥ç¨æ·çåºç¨è¦æ±è®¸å¯,源码asp源码 使用æå 许è°è®¤ä¸ºè·å¾è®¸å¯çæ åµä¸ã
permissionGroupè¿ä¸ªæ¯å¯éçï¼è¢«ç¨äºåå©tç³»ç»åç¨æ·æ¾ç¤ºæéï¼ä¸è¬ä¼å(listed in android.Manifest.permission_group)è¿ä¸ªä¸æ ·è®¾ç½®ä¸ºæ åç³»ç»ç»ï¼å¾å°èªå®ä¹ï¼æ好使ç¨å·²ç»å®ä¹çï¼ä½¿ç¨lèµ·æ¥ä¹æ¹ä¾¿ã
lable,nameåciconç¨äºæè¿°æéã
å¨launcher2çmanifestæºä»£ç ä¸ï¼åå«æpermissionåuses-permissionçå®ä¹
InstallShortcutReceive使ç¨äºä¸é¢å®ä¹çINSTALL_SHORTCUTçæéã
两è ä¹é´çä¸åä¹ä¸å°±æ¯ï¼ä½ç¨åä¸åï¼å¨ manifest.xmlæ件ä¸ï¼<uses-permission>æ¯å<application>å级çèç¹ï¼ä¸è¬<uses-permission >æ¯å¨</application>åé¢çãä½<permission>å°±ä¸çäºï¼æ¯å®ä¹å¨<application>å</application>ä¹é´ï¼åActivityãServiceå级å«çï¼åæ¶ä½¿ç¨ groupçæéç»å¯ä»¥å¤§å¹ åå°ä½ åç±»åç¸ä¼¼æéç声æã
å ¶äºå¯è½å°±æ¯<uses-permission>æ¯å®æ¹å®ä¹çæéï¼<permission>æ¯èªå·±å®ä¹çæéã
å¨ä¸è¬æ åµä¸å®é ä¸ä¸éè¦ä¸ºèªå·±çåºç¨ç¨åºå£°ææ个æéï¼é¤éä½ æä¾äºä¾å ¶ä»åºç¨ç¨åºè°ç¨ç代ç æè æ°æ®ãè¿ä¸ªæ¶åä½ æéè¦ä½¿ç¨<permission>è¿ä¸ªæ ç¾ï¼å¾æ¾ç¶è¿ä¸ªæ ç¾å¯ä»¥è®©æ们声æèªå·±ç¨åºçæéã