I am using two activities. One activity displays images in a GridView and by clicking on a particular image in that GridView it should display the
To pass the data between two activities:
bytes[] imgs = ... // your image
Intent intent = new Intent(this, YourActivity.class);
intent.putExtra("img", imgs);
startActivity(intent);
Then in YourActivity:
bytes[] receiver = getIntent().getExtra("imgs");
Also go thro this link which wil also help u.
Here u can know how to convert bitmap to bytes