How is it possible to call startActivityForResult from non Activity
class like in eg that extends LinearLayout.
However onActivityResult method is not allowed here.
EG:
public class A extends LinearLayout{
myIntent = new Intent(mContext,
B.class);
startActivityForResult( myIntent,1);
@Override
protected void onActivityResult(int requestCode, int resultCode,
Intent data) {
}
}
public class B extends Activity{
//something is returning
}
--
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