Android abstract activity in manifest
问题 For my application I am going to create a variety of abstract classes that extend the android.app.Activity and android.app.Service classes. When I subclass my abstract classes how do I add them to the android manifest? Do I need to add both the abstract class and my sub class to the manifest or just the subclass? Do they need to be in the same package? 回答1: You add the final subclasses to the manifest as regular Activities/Services; the abstract classes don't need to be there, as the manifest