[android-developers] Re: Email Attachment

2012-07-19 Thread bob
It's something like this: Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setType("image/*"); shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:///sdcard/your_path_in_the_sd_card/your_image.png")); startActivity(shareIntent); On Wednesday, July 18, 2012 6:39:22 AM UTC-5

[android-developers] Re: email attachment is not working !

2012-06-19 Thread Nobu Games
The emulator does not come with Google apps pre-installed. One of these apps is GMail which is directly "opened" by your tutorial code. Try to finda different tutorial about sending emails on Android. Basically yo

[android-developers] Re: email attachment

2012-06-13 Thread Jags
ok read about this http://stackoverflow.com/questions/6058245/email-attachment-not-successful-in-android is it still an issue ? if i dont have an sdcard what should i do ? even my file is also world_readable is there a temp folder which can be used to send attachment ? or may be read the file

[android-developers] Re: Email attachment not being sent

2009-01-18 Thread jeffro
This worked for me. I wrote my file to the sdcard. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse ("file://"+Environment.getExternalStorageDirectory()+"/data.csv")); sendIntent.setType("te