I have a Activity with a view that it activates with the function setContentView(), i.e. the view class handles methods like onTouchEvent(), onKeyDown()... etc, and the necesary methods for move a objetct on the screen. Well, actually when the object arrives at determinate points on the screen (implemented with a rectangle) I want to start a new activity, i use:
Where "contexto" is the context that i store in the constructor:
Now I want pass data between activities, but the method "startActivityForResult" is not disponible for context class. It is disponible only on activity class.
How can I do this¿?