Reputation: 972
Is it possible to build an appropriate Intent to start one of my activities without specifying it inside AndroidManifest.xml?
Thanks.
Upvotes: 4
Views: 3117
Reputation: 1414
You can't do this! You can using fragments instead of activities and switch between fragments in a main activity
Upvotes: 1
Reputation: 4943
Short answer is no.
May be you can get some ideas from this topic.
Upvotes: 1
Reputation: 56925
No, If you have to call activity then you must have to declare in android manifest file . If you dont declare in it then you get errors . Your application get crashed...
Upvotes: 1
Reputation: 1006584
No, sorry. All components (activities, services, broadcast receivers, content providers) must be registered in the manifest.
Upvotes: 6