I want to open a specific type of file that my app can already send over email as an attachment. I need to be able to have the android email app choose my app to download or open that specific file type. I can't figure out how to set up an intent filter that would let me do that though. Anyone know how this is done?
I have the Samsung Captivate and I'm totally new. I'm having problems opening my email attachments (pdf and xls). I found this thread, but I'm still confused. I can't seem to find "open unknown apps" nor "Unknown Sources" in my Settings.
Sorry if this has been asked before. Does anyone know when downloading a attachment in email and when completed, you decide to open instead of saving to SD card - does the attachment automatically delete? Or does it get installed into the main memory? If so, how do we delete unwanted attachments?
I am using the bundled Moxier Mail on my Moment to receive mail from my corporate Exchange 2003 server. I am unable to open emails which have an .eml attachment (forwarded email). Anyone found a solution to this?
Up until now I have been able to open attachments with no problem but now I cant seem to be able to open any. I get the email and the paper clip is there but I cant do anything with it. No long press, or tap, or double tap or anything. Its just not opening anything. Done battery pull but still a no go.
Method 2 Sending the image as body content sendIntent.putExtra(Intent.EXTRA_TEXT, "<HTML><BODY><b><IMG SRC= "data:image/jpeg;base64," + <imagepath> + ""alt = "pleaseview this image"/></b></BODY></HTML>");
I can successfully attach the image manually but when I tried to attach and send it programmatically the mail was sent without attachment.
I'm creating an app that has an "export" feature which converts the user's data into a CSV file, and allows the user to send it as an attachment to somebody (presumably themselves).
The CSV file is created successfully, but when I try to send the email, I encounter a problem. The device looks like it is going to send the email with the appropriate attachment, but when the email is received... there is no attachment at all...
I just copy the code from http://www.openintents.org/en/node/121 to test if I can send .txt or .mp3 file as email attachment, Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType("audio/mp3"); sendIntent.putExtra(Intent.EXTRA_STREAM, "file:///sdcard/mysong.mp3"); sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); startActivity(Intent.createChooser(sendIntent, "Title:"));
But I got an error said that No applications can perform this action. My android sdk is cupcake1.5, and I have already set up my gmail acount in Email application. Anyone knows why? If I set the type as "*/*"(sendIntent.setType("*/ *");), it can launch the Email activity but with no attachment.
Had the phone now two weeks. Got the upgrade to 2.2 from sprint succesfully. Enjoying the power of this machine for sure. I lurk here a lot and have learned tons for sure from reading, reading, reading sometimes till the wee hours. Three things I still can't seem to figure out. 1. Opening an attachment in an email: When a pic or doc file comes in I can't seem to view it. I click "view attachment" it shows the name of the file and the size but does not open the file or download it for me to see. What am I doing wrong? Some kind of settings issue maybe? 2. Deleting a file: I downloaded a pdf file off the internet and now I wish to delete it. Menu does not show an option to delete when I am viewing thde file with pdf viewer. Any ideas? 3. Voice email: I love the voice texting, voice emailing, etc but when I open an email to compose new and use the speak option to speak the name of a current contact (who has an email as part of his contact info) it does not try to auto fill that like it would if I hand texted it in. In other words, say I begin a new email and in the TO box I click the microphone and speak john smith. It types his name in but does not recognize him from contacts and fill in his email address like it does if I start to type j o h n s m by hand. I must be doing something wrong here too maybe?
I received an email in my Gmail acct with a pdf attachment, and I want to download it. I can preview the file but I see no option to save it to my SD card or Dropbox or anything. Any tips on saving a pdf on the DINC?
I cannot send an email with an attachment using the Gmail app on this phone. I tried to send three different photographs to three different email addresses and it failed every time. Emails without attachments go perfectly every time.
what the maximum file size is I can attach to an outgoing email using Gmail? I know Gmail allows 20 megabytes, but is there a size limit I can attach from the Hero? I have had the phone tell me a file is too big to attach, but it was well under 20 megs.
However, the problem is that the ACTION_SEND is accepted by more than just email programs - for example, on my phone the Facebook app, Twitter, reddit is fun, and even Bluetooth come up as viable alternatives for sending this message. The message is entirely too long for some of these (especially Twitter). Is there a way to limit the chooser to just applications that support long messages (such as email)?
One of my 'must-haves' is the ability to open any kind of attachment that comes in with an email (.doc, .docx, .xls, .ppt, .jpeg, etc.) I was assured the Ally could with the application docs-to-go. I am now finding that it's a hit and miss with opening files. Files that have the .doc extension will come up and say 'can't open this video'.