Q:

onActivityResult never invoked within Activity part of ActivityGroup

I'm using a TabActivity that calls an ActivityGroup.  Tipical approach that brings problems. 
Now I'm facing a problem with onActivityResult
in my Activity I have..
public class MyActivity extends Activity {

@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.place_buttontab_community_media);

        Button ButtonClick =(Button) findViewById(R.id.addPicture);
 ButtonClick.setOnClickListener(new OnClickListener (){
            @Override
            public void onClick(View view)
            {
                Intent cameraIntent = new Intent(android.provider. MediaStore. ACTION_IMAGE_CAPTURE);
                // request code

                startActivityForResult(cameraIntent, CAMERA_PIC_REQUEST);

            }
        });

}

@Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        Log.i(TAG, "hi");
        super.onActivityResult(requestCode, resultCode, data);
    }

}

unfortunately onActivityResult is never invoked. 

A:

You should listen for the result in the ActivityGroup's onActivityResult().  When a result is received, you have to decide which Activity should receive it and call it's onActivityResult() method with the received values.