Trying to attach image to mms/sms after select attachment
===

I'm an trying to get the image to attach to mms after you pick my app form the attachment picklist. The image code is fine.

I'm not sure how to respond though to the ACTION_GET_CONTENT  from the sms/mms app so that my app sends the image back to it.

        Uri uri = Uri.fromFile(file);
    	Intent localIntent = new Intent(android.content.Intent.ACTION_SEND);
    	localIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    	localIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
    	//localIntent.setClassName("com.android.mms", "com.android.mms.ui.ComposeMessageActivity");
        localIntent.putExtra("android.intent.extra.STREAM", uri);
        localIntent.setType("image/jpeg");
        startActivity(localIntent);