semajhan
semajhan

Reputation: 708

Android do activities require a manifest file?

So I was wondering if adding multiple activities in my app, do each require a manifest xml file or whatever? I tried switching activities without it and it crashed. Then I added the other activity and it worked. I ask because I hate the use of xml so I try to do everything programatically.

Upvotes: 0

Views: 369

Answers (2)

kevin lynx
kevin lynx

Reputation: 895

Actually android use xml everywhere, manifest, layout, menu, preference, string etc.So get used to it.

Upvotes: 0

dhaag23
dhaag23

Reputation: 6126

You need to learn to love XML :-) Yes, every activity needs to be declared in the manifest.

Upvotes: 3

Related Questions