Package Name and Android:name
Under the <mainifest> tab you can specify a package, which is a package under the Project/src, Android in the <activity> tab under <application>: Name= ". Xxxactivity ", the package name is omitted, the package is declared by default with <mainifest>;
However, if the activity to be started or the service is not declared under <mainifest> the package will need to use the full android:name= "PackageName. Xxxservice, you may not be able to find the activity or service you want to start.
PS: You can place all activity and service that need to be started under one package, and split other functions and classes into other package.
<application>
This element can also contain global and default attributes in application, such as tags, icons, themes, necessary permissions, and so on. A manifest can contain 0 or one of this element (no more than one is allowed).
-
<activity>
activity is the primary tool for interacting with users. When a user opens an application's initial page, an activity, most of the other pages used is also implemented by different activity and declared in another activity tag.
<service>
A service is a component that can run at any time in the background. Use activity tags to selectively include one or more of the < intent-filter> elements supported by receiver
Android properties in the Androidmainfest.xml file
This article is from "Whispering Autumn Wind" blog, please be sure to keep this source http://xjhznick.blog.51cto.com/3608584/1561763
Android-androidmanifest.xml related