How to add Activity to manifest.xml in right way?

前端 未结 6 675
春和景丽
春和景丽 2020-12-24 03:16

should I write each activity in android manifest and how? Must each activity have intent-filter, or not?

6条回答
  •  心在旅途
    2020-12-24 03:42

    If you are using Eclipse ADT, when creating new Activity instead of creating a class create a Activity from New > Others... This way ADT automaticly adds your Activity to Manifest.

提交回复
热议问题