Hi everyone. I have a class called SingleTouchView.java which runs as my main class. In this class when the user touches the screen, a network operation tries to run, but an error occurs saying that a network operation cannot be run on the main class. So I created a new class called Client.java and put the network operation on there. Now, when the user touches the screen, it runs the Client class. But the problem is I need to use two variables in the Client class that were created in the SingleTouchView class, and I cannot access them. Is it possible to access them through the Client class? I hope I did not make this too confusing. Thanks for your help!
The SingleTouchView class extends the View object, if that helps any.