Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How can I save things to Google Drive from an emaildialog, or how do I prevent Google drive to show up as e-mail client

$
0
0

I'm trying to send a mail in androit using the Ti.UI.createEmailDialog(). The mail consists of a text message and a html file sent as an attachment. Everything works fine, exept that Google Drive shows up as a choise in the list of available e-mail clients willing to send the mail. If I select Gmail or the K9 client everything works fine. But if I select to send it to Google Drive the message will not be saved. I suspect I need to add some API key to make that work. The question is what keys and where do I add them?

Alternatively, if it is not possible to send to Google Drive from Ti.UI.createEmalDialog() would it be possible to prevent Google Drive to show up in the list of apps willing to handle my email? Or more general is there some way to control what clients to use.

I have thought of using Android intents instead, but so far no luck, Anybody that have done something similar that are willing to share their experiences?

The best option in this case would probably be to prevent Google Drive to show up as willing to handle the mail.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>