Re: [android-developers] Email Attachment

2012-07-19 Thread TreKing
On Wed, Jul 18, 2012 at 6:39 AM, Velu wrote: > And now i want to attach this image directly to email via button click. Since you're a fast learner: http://lmgtfy.com/?q=android+attach+image+to+email --

[android-developers] Email Attachment

2012-07-19 Thread Velu
hello sir, I am new to android.but i am a fast learner.Now day's i am developing a new application like email attachment.Now i am capturing a image via android camera intent.And now i want to attach this image directly to email via button click. Thanks in Advance... -- You rece

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

2012-06-19 Thread Justin Anderson
Why in the world the tutorial is having you hard-code a class instead of using a chooser is beyond me... The code from this tutorial would only ever work on a device with GMail installed... There are many devices out there without GMail, like the Kindle Fire for example... What device are you tes

Re: [android-developers] email attachment

2012-06-19 Thread Aashish jawla
hi, you will store the file into the phone memory On Tue, Jun 19, 2012 at 6:16 PM, Jags wrote: > thanks, i know it works, but this defeats the purpose "What if the user > does not have a external storage ? If i am able to save / preview a file, i > should be able to send it to somebody, without

Re: [android-developers] email attachment

2012-06-19 Thread Jags
thanks, i know it works, but this defeats the purpose "What if the user does not have a external storage ? If i am able to save / preview a file, i should be able to send it to somebody, without requiring a sdcard" On Friday, June 15, 2012 9:50:28 AM UTC+5:30, asheesh arya wrote: > > try to save

[android-developers] email attachment is not working !

2012-06-19 Thread Jags
i am trying to follow this link, http://stephendnicholas.com/archives/974#comment-295 i am trying to implement this, but i get a crash saying activity com.google.android.gm not found are you sure declared in manifest ? i am testing it in simulator, what should i do ? in my case i am able to s

Re: [android-developers] email attachment

2012-06-14 Thread asheesh arya
try to save your file into sd card and gave location of your file stored into sd card in the source code i provided its work fine for sd card. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

Re: [android-developers] email attachment

2012-06-14 Thread lbendlin
copy the file to external storage, attach to email, delete from external storage. On Thursday, June 14, 2012 5:55:48 AM UTC-4, Jags wrote: > > > thanks ashish, > > but i need something else, file in /data/data/mypackage/files/ to be sent > as an attachment, it is mode_world_readable, but not at

Re: [android-developers] email attachment

2012-06-14 Thread Jags
thanks ashish, but i need something else, file in /data/data/mypackage/files/ to be sent as an attachment, it is mode_world_readable, but not attaching to the email ! On Thursday, June 14, 2012 2:36:14 PM UTC+5:30, asheesh arya wrote: > > this is the code sending e-mail with attachment > im

Re: [android-developers] email attachment

2012-06-14 Thread asheesh arya
this is the code sending e-mail with attachment import java.io.File; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.util.Log; import android.view.View; import android.view.View.OnClickLi

Re: [android-developers] email attachment

2012-06-13 Thread Jags
and do you hv an example how to send private file content through contentprovider ? On Wednesday, June 13, 2012 11:46:23 PM UTC+5:30, Jags wrote: > > Thanks mark, i do have my file created with mode_world_readable. Hence I > am able to read it using pdf reader ! but email attachment is a problem

Re: [android-developers] email attachment

2012-06-13 Thread Jags
Thanks mark, i do have my file created with mode_world_readable. Hence I am able to read it using pdf reader ! but email attachment is a problem ! On Wednesday, June 13, 2012 11:14:13 PM UTC+5:30, Mark Murphy (a Commons Guy) wrote: > > Third party apps cannot read the contents of your internal

Re: [android-developers] email attachment

2012-06-13 Thread Mark Murphy
Third party apps cannot read the contents of your internal storage, by default. Either: - put the file on external storage, or - create the file with MODE_WORLD_READABLE, or - create a ContentProvider to serve up the file(s) and use content:// for your attachments On Wed, Jun 13, 2012 at 1:41 P

[android-developers] email attachment

2012-06-13 Thread Jags
i am creating some files in my /data/data/com.mypackage.org/files/ using openFileForOutput method. I am able to read that file using 3rd party activity from my app, now when i send this file as attachment i see the attachment being attached in the mail and sent, but when the email reaches, ther

[android-developers] Email attachment doesn't send

2009-05-20 Thread Sikus
Hello, I try this code: Intent i= new Intent(android.content.Intent.ACTION_SEND); i.putExtra(android.content.Intent.EXTRA_SUBJECT,"this is a test mail"); i.putExtra(android.content.Intent.EXTRA_STREAM,Uri.parse("file:// sdcard/dcim/Camera/1233417122606.jpg"));

[android-developers] Email attachment not being sent

2009-01-12 Thread Marklar
Hello, I've been trying to send a file as an email attachment. My program creates the file (a .csv file), and attempts to send it using a mail client, like the gmail client. I have gotten as far as Gmail opening up with the correct Subject and what appears to be the file attached to it but when I