I have an intent of action type Intent.ACTION_SEND. I wrap this intent into another intent object like this:
Intent activityIntent = new Intent(cordova.getActivity(), ReceivePhotosActivity.class);
//imageIntent is an Intent object
activityIntent.putExtra(Intent.EXTRA_INTENT, imageIntent);
this.cordova.startActivityForResult(this, activityIntent, 0);
On the ReceivePhotosActivity i parse the incoming intent and store my imageIntent into a string.
Intent receiveIntent = getIntent();
String imageIntent = intent.getStringExtra(Intent.EXTRA_INTENT);
Now i need this imageIntent in order to process Images. As a string I am unable to do so as I require the intent.getAction() and intent.getType(). So how can i convert my String imageIntent to an Intent object 
 
     
    