I did it in the same way that indicates michels at the post: http://www.anddev.org/passing_object_as_an_extra_to_the_intent-t2715.html
Thanks for your answer! Sunit Katkar escribió: > have look here, maybe this is what you are looking for > http://www.anddev.org/subactivites_with_return_value_-_the_inputbox-t99.html > - Sunit Katkar > http://sunitkatkar.blogspot.com/ - Android OS Tutorials > > > > On Sat, Nov 22, 2008 at 7:34 AM, Jose Alonso > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > Hi all! > > 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: > > Intent intent = new Intent(contexto, PasoExperimento150.class); > contexto.startActivity(intent); > > Where "contexto" is the context that i store in the constructor: > > > public VistaPaso140(Context context, int imagen) { > //.... > > contexto = context; > } > > 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¿? > > Thanks. > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

