i'm new to android development, how can i call a class to be performed when my application starts. Is there something i should put on the onCreate part to call a class? any tips for this? thanks in advance.
MC Emperor
23.3k16 gold badges90 silver badges139 bronze badges
-
Where is the problem? MyClass myInstance = new MyClass(); myInstance.do() ?Audrius Meškauskas– Audrius Meškauskas2013年01月22日 07:53:30 +00:00Commented Jan 22, 2013 at 7:53
-
That way you won't get nowhere... developer.android.com/develop/index.htmlsinek– sinek2013年01月22日 07:53:33 +00:00Commented Jan 22, 2013 at 7:53
-
Duplicate : stackoverflow.com/questions/14423782/…ben75– ben752013年01月22日 07:54:21 +00:00Commented Jan 22, 2013 at 7:54
1 Answer 1
Please make sure to understand the building blocks (Activity, Intent, ...) of an Android application before you start coding. http://developer.android.com/training/basics/firstapp/index.html is a good starting point. The tutorial will answer your question.
answered Jan 22, 2013 at 7:56
userM1433372
5,54240 silver badges40 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-java