赞
踩
<span style="font-family: 'Comic Sans MS';"></span><div class="dp-highlighter bg_html" style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; width: 909.906px; overflow: hidden; padding-top: 1px; opacity: 0.6; margin: 18px 0px !important; background: url(http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/images/black/html.gif) 100% 0% no-repeat rgb(51, 51, 51);"><div class="bar" style="position: relative; padding-left: 45px;"><div class="tools" style="padding: 3px 8px 10px 10px; font-stretch: normal; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; border-left-width: 3px; border-left-style: solid; border-left-color: rgb(153, 153, 153);"><strong>[html]</strong> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="ViewSource" title="view plain" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">view plain</a><span data-mod="popu_168"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="CopyToClipboard" title="copy" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">copy</a></span><div style="position: absolute; left: 436px; top: 970px; width: 29px; height: 14px; z-index: 99;"></div><span data-mod="popu_169"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="PrintSource" title="print" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">print</a></span><a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="About" title="?" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">?</a></div></div><ol start="1" class="dp-xml" style="padding: 0px; border: none; position: relative; color: rgb(92, 92, 92); margin: 0px 0px 1px 45px !important;"><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><?</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">xml</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">version</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1.0"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">encoding</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"utf-8"</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">?></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">manifest</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">xmlns:android</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"http://schemas.android.com/apk/res/android"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">package</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"com.sljjyy.sao.launcher"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:versionCode</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:versionName</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1.0"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">uses-sdk</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:minSdkVersion</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"7"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:targetSdkVersion</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"16"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">application</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:allowBackup</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"true"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:icon</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@drawable/ic_launcher"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:label</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@string/app_name"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:theme</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@style/AppTheme"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">activity</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"com.sljjyy.sao.launcher.MainActivity"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:label</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@string/app_name"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">intent-filter</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">action</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.action.MAIN"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.LAUNCHER"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">intent-filter</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">activity</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">application</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">manifest</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li></ol></div>请注意<intent-filter>
</pre><span style="font-size: 14px; line-height: 26px; font-family: 'Comic Sans MS';"></span><span style="font-family: Arial; font-size: 14px; line-height: 26px;"></span><div class="dp-highlighter bg_html" style="font-family: Consolas, 'Courier New', Courier, mono, serif; width: 909.906px; overflow: hidden; padding-top: 1px; opacity: 0.6; line-height: 26px; margin: 18px 0px !important; background: url(http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/images/black/html.gif) 100% 0% no-repeat rgb(51, 51, 51);"><div class="bar" style="position: relative; padding-left: 45px;"><div class="tools" style="padding: 3px 8px 10px 10px; font-stretch: normal; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; border-left-width: 3px; border-left-style: solid; border-left-color: rgb(153, 153, 153);"><strong>[html]</strong> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="ViewSource" title="view plain" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">view plain</a><span data-mod="popu_168"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="CopyToClipboard" title="copy" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">copy</a></span><div style="position: absolute; left: 436px; top: 1568px; width: 29px; height: 14px; z-index: 99;"></div><span data-mod="popu_169"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="PrintSource" title="print" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">print</a></span><a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="About" title="?" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">?</a></div></div><ol start="1" class="dp-xml" style="padding: 0px; border: none; position: relative; color: rgb(92, 92, 92); margin: 0px 0px 1px 45px !important;"><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.HOME"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.DEFAULT"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li></ol></div><br style="font-family: Arial; font-size: 14px; line-height: 26px;" /><br style="font-family: Arial; font-size: 14px; outline: none; color: rgb(51, 51, 51); line-height: 21.5938px;" /><br style="font-family: Arial; font-size: 14px; outline: none; color: rgb(51, 51, 51); line-height: 21.5938px;" /><span style="font-family: Arial; font-size: 14px; color: rgb(51, 51, 51); line-height: 21.5938px;">此时AndroidManifest.xml文件是这样:</span><br style="font-family: Arial; font-size: 14px; outline: none; color: rgb(51, 51, 51); line-height: 21.5938px;" /><pre class=" xml" name="code" style="white-space: pre-wrap; word-wrap: break-word; font-size: 14px; outline: none; color: rgb(51, 51, 51); line-height: 21.5938px; background-color: rgb(255, 255, 255);"><div class="dp-highlighter bg_html" style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; width: 909.906px; overflow: hidden; padding-top: 1px; opacity: 0.6; margin: 18px 0px !important; background: url(http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/images/black/html.gif) 100% 0% no-repeat rgb(51, 51, 51);"><div class="bar" style="position: relative; padding-left: 45px;"><div class="tools" style="padding: 3px 8px 10px 10px; font-stretch: normal; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; border-left-width: 3px; border-left-style: solid; border-left-color: rgb(153, 153, 153);"><strong>[html]</strong> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="ViewSource" title="view plain" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">view plain</a><span data-mod="popu_168"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="CopyToClipboard" title="copy" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">copy</a></span><div style="position: absolute; left: 436px; top: 1768px; width: 29px; height: 14px; z-index: 99;"></div><span data-mod="popu_169"> <a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="PrintSource" title="print" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">print</a></span><a target=_blank href="http://blog.csdn.net/sljjyy/article/details/11927713#" class="About" title="?" style="color: rgb(204, 204, 204); text-decoration: none; border: none; padding: 0px; margin: 0px 10px 0px 0px; font-size: 9px; background-image: none; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">?</a></div></div><ol start="1" class="dp-xml" style="padding: 0px; border: none; position: relative; color: rgb(92, 92, 92); margin: 0px 0px 1px 45px !important;"><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><?</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">xml</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">version</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1.0"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">encoding</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"utf-8"</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">?></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">manifest</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">xmlns:android</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"http://schemas.android.com/apk/res/android"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">package</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"com.sljjyy.sao.launcher"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:versionCode</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:versionName</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"1.0"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">uses-sdk</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:minSdkVersion</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"7"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:targetSdkVersion</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"16"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> </span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">application</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:allowBackup</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"true"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:icon</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@drawable/ic_launcher"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:label</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@string/app_name"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:theme</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@style/AppTheme"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">activity</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"com.sljjyy.sao.launcher.MainActivity"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:label</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"@string/app_name"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">intent-filter</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">action</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.action.MAIN"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.LAUNCHER"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.HOME"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"><</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">category</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="attribute" style="margin: 0px; padding: 0px; border: none; color: red; background-color: inherit;">android:name</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;">=</span><span class="attribute-value" style="margin: 0px; padding: 0px; border: none; background-color: inherit;">"android.intent.category.DEFAULT"</span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">/></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">intent-filter</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">activity</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li class="alt" style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"> <span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">application</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li><li style="margin: 0px !important; padding: 0px 3px 0px 10px !important; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(153, 153, 153); list-style: decimal-leading-zero outside; color: rgb(238, 238, 238); line-height: 18px;"><span style="margin: 0px; padding: 0px; border: none; color: rgb(255, 255, 255); background-color: inherit;"><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;"></</span><span class="tag-name" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">manifest</span><span class="tag" style="margin: 0px; padding: 0px; border: none; color: rgb(102, 204, 255); font-weight: bold; background-color: inherit;">></span><span style="margin: 0px; padding: 0px; border: none; background-color: inherit;"> </span></span></li></ol></div>此时运行程序,我们看不到任何特别之处。当按下home键时(模拟器上按下home会调出桌面应用),程序如图:
<category Android:name="android.intent.category.DEFAULT" />
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。