Those methods only have meaning to Android on Activity classes, not
View classes.

If you have a custom view that needs to know when
startActivityForResult is being run on the activity that manages the
view, then you would have to override the startActivityForResult
method on that activity, call a method on the view to notify the view,
then call the super implementation of startActivityForResult to do the
normal starting of another activity action.

Similarly, if you have a view that needs to know when onActivityResult
is called on the activity that manages the view, then you have to
implement that method on the activity and have the activity call a
method on the view when it happens.

On Dec 31, 9:54 pm, schwiz <[email protected]> wrote:
> Simple question, is it possible to implement startActivityForResult
> and onActivityResult within a custom view class?

-- 
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

Reply via email to