Sometimes we have to share the Report or Final receipt Screen from the Current Application .In this scenario we take screenshot of Current activity and then share this as image file using sharing Options . So lets move to the Coding Part without wasting time . 1: public class MainActivity extends AppCompatActivity { 2: File imagePath; 3: @Override 4: protected void onCreate(Bundle savedInstanceState) { 5: super.onCreate(savedInstanceState); 6: setContentView(R.layout.activity_main); 7: getSupportActionBar().setDisplayHomeAsUpEnabled(true); 8: ImageView imageView=(ImageView)findViewById(R.id.share); 9: imageView.setOnClickListener(new View.OnClickListener() { 10: @Override 11: public void onClick(View v) { 12: Bitmap bitmap = takeScreenshot(); 13: saveBitmap(bitmap); 14: shareIt(); 15: } 16: }); 17: } 18: public Bitmap takeScreenshot(...