Search code examples
androidandroid-manifestsplash-screen

multiple application in Android manifest.xml


can we have more than one "application" in android manifest.xml if so please provide some example. the one application will start a service, and a wcf call in background and will show a splash screen and afterwords it will pass intent to a activity which is keep in another "application"

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

application > . . . /application>

application > . . . /application> . . .


Solution

  • You can only have one. http://developer.android.com/guide/topics/manifest/manifest-intro.html#filec

    Only the manifest and application elements are required, they each must be present and can occur only once