it depends Which kind of classes you have.. if your class is extending Activity
or ActionBarActivity
or AppCompatActivity
or the class wich extends any of these, than you must define it in manifests.xml
file. otherwise if your class extends nothing or just extends view, then no need to define it in manifests.xml
file.
solved Should I mention two activity tags for two classes in Manifest file?