I have a newbie question about Class/Task/Activity. I\'m coming from C so I don\'t know if it\'s a good approach to do what I need.
I\'ve created a class:
In your case I would use activity as interface. The interface is stored as a static parameter inside Application class.