Hi all, so here I am again with a problem. I have declared a class that extends Application class and in there I have some variables that I want to access from wherever I am. But, the problem is that I have several classes that I use but are not extending the Activity class so I can not do this.getApplication() as there is no such function. I tried to simply implement Application class in those classes but that seemed to easy and did not work, but I had to try it out.
This is the situation I have. >From my main View class I call a function for parsing an XML file. This function is in myXMLHandler class that extends DefaultHandler class. In there, I want to add everything I read to an array that is in my Application class, but I don't know a way to get to it?? Any ideas? I could just create lots of variables here and there and get it passed around but that seems messy and memory consuming. Thanks for the help! D. -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

