Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one,
I have a class which extends activity, I mean it has "on create" method...
I want to change it to a simple class in a way I could use it in other projects.
I mean I want to instantiate from this class and use the methods.
I have faced lots of problems when I delete the words "extends activity" and "on create" method.
what is the best solution to do that?
Posted

1 solution

http://developer.android.com/reference/android/app/Activity.html[^]

An Activity is a part - I'd like to say the lifecycle of an Android application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900