how to run Specific activity in android emulator?

后端 未结 6 1557
無奈伤痛
無奈伤痛 2021-01-29 00:36

i have created 4 activities in eclipse now i want to run activity 1, 2,3 ,4 repectively one by one in emulator for testing.

can any one guide me how can i run those all?

6条回答
  •  [愿得一人]
    2021-01-29 01:12

    Android SDK includes the JUnit framework for writing unit tests. You can use the package android.test packages to run activities under JUnit. It may be overkill for what you want but eventually you may need this functionality.

    References:

    http://junit.sourceforge.net/

    http://mylifewithandroid.blogspot.com/2008/11/junit-in-android.html

提交回复
热议问题