The static import feature in Java 5 might be useful. http://java.sun.com/javase/7/docs/technotes/guides/language/static-import.html
This FAQ discusses various approaches you might consider for Anroid. http://developer.android.com/guide/appendix/faq/framework.html#3 On Sep 19, 3:31 pm, DroidAddict <[email protected]> wrote: > Hello Everyone, > > I just started using android yesterday and started with a small > application. > > I was planning to have static class that holds all the constants of > the application so that it can be used across all the classes of the > application. I was getting an error asking me to remove the static > modifier for the class. > > Is there something really important about the way static classes has > to be used in android? > > Hope someone replies to my query. Thanks in advance guys. > > Regards > Varun --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

