假如你要開發android application,首先你一定要知道AndroidManifest.xml的架構 (http://developer.android.com/guide/topics/manifest/manifest-intro.html)
此檔案定義此application的內容,比如:
<action>
<activity>
<activity-alias>
<application>
<category>
<data>
<grant-uri-permission>
<instrumentation>
<intent-filter>
<manifest>
<meta-data>
<permission>
<permission-group>
<permission-tree>
<provider>
<receiver>
<service>
<supports-screens>
<uses-configuration>
<uses-feature>
<uses-library>
<uses-permission>
<uses-sdk>
以上每個tag都有其定義,有興趣的可以研究看看!
一個applicaiton裡面可能包含了
(1) activity
(2) services
(3) boardcast receiver
(4) content provider
等四大類
大家可以參考android developer website(http://developer.android.com/guide/topics/manifest/manifest-intro.html) 上面來看看,當你要開發application時,你需要怎麼定義的AndroidManifest.xml
想要練功,當然要練基本功!
留言列表