rioneye
rioneye

Reputation: 63

Multiple activities within a class?

So what I want to do is this. I want to have a class that contains other classes which start activities, but I'm not sure if its possible, or even a good idea. An Example:

public class General{
     public class Activity1 extends Activity{
          //Start Activity
     }
}

Is there a way to call such an activity?

Upvotes: 0

Views: 226

Answers (1)

rioneye
rioneye

Reputation: 63

So the solution I chose to go with was to use packages. After reading about it here http://developer.android.com/guide/topics/manifest/manifest-intro.html and here Android: Including multiple Java Packages to Manifest , it seems like a better method to do what I stated above.

Upvotes: 1

Related Questions