Hi, I wish to build an in-house library in Android. I wish to do somethings like this: public class BaseActivity extends Activity { public void displayMessage(String text) { Toast.makeText(this, text, Toast.LENGTH_LONG); } }
But I cannot do somethings like this: public class MyActivity extends BaseActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super. displayMessage("hello"); } The system cannot find displayMessage method. Does anyone try to build their in-house android library? -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en