I've been asking what amounts to a series of evolving questions on Stack Overflow. I ask a question, get a response, do some reading, do some experimentation, and then formulate a new question to try to move forward to the next step.
Basically I'm stuck and think it may be helpful if I could have all my Stack Overflow questions and answers deleted in order to move forward.
Now I know that I want to extend my existing design and not replace it. I don't want to add a thread, a handler, a Service, or use Async Task, or AIDL, or any answer I have received so far. I want to extend my existing design.
I am working with open source code. It already has a nice and solid background thread which I don't need or want to replace or redesign. I simply want to extend the existing design.
So I want to delete everything and start over. I simply want to extend the existing open source design that already has one really nice background thread that I want to leverage to plot some data in a new activity.
In fact I already have it working using a static method. But people have criticized this solution without saying why. I would like to know if this is a good solution. Is it thread safe? Do I have a deadlock issue? Is my solution a fragile one and am I lucky that it's working at all? Or very simply put what are the proper ways to extend the existing design?
OK? Any suggestions?