Send Image via GMail or MMS on Android


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Intent i = new Intent(Intent.ACTION_SEND) ;
  2. i.putExtra(Intent.EXTRA_STREAM,imageUri) ;
  3. i.setType("image/jpeg") ;
  4. startActivity(Intent.createChooser(i,"Send Image To:")) ;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.