mobileComposeMail and Attaching Photos

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JacobS
Posts: 58
Joined: Mon Aug 20, 2012 8:41 pm

mobileComposeMail and Attaching Photos

Post by JacobS » Thu May 30, 2013 10:03 pm

Hi all,

I'm trying to send a picture as an attachment from my Android tablet (Galaxy Tab 2). On iOS I used the code

Code: Select all

put the text of image "DataEntry" into tAttachment["data"]
put "image/png" into tAttachment["type"]
put (the date&the time) into tAttachment["name"]
mobileComposeMail "Gainseeker Collect Data Entry Picture",the cEmailAddress of me,,,"Picture taken by user EXAMPLE using Gainseeker Collect.",tAttachment
And it works fine. However, when I do the same thing on Android the picture is not attached to the email. I've also tried the command "mobileComposeHTMLMail" but the same thing happens. I can't find any documentation on mobileComposeMail that points me to a potential problem, so I'm at a loss here. Any ideas?

Thanks in advance,
Jacob
(Using LC 6.0.2 rc 1)

JacobS
Posts: 58
Joined: Mon Aug 20, 2012 8:41 pm

Re: mobileComposeMail and Attaching Photos

Post by JacobS » Mon Jun 24, 2013 4:06 pm

Self bump.

William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Contact:

Re: mobileComposeMail and Attaching Photos

Post by William Jamieson » Fri Aug 23, 2013 5:25 am

Were you able to figure it out?

JacobS
Posts: 58
Joined: Mon Aug 20, 2012 8:41 pm

Re: mobileComposeMail and Attaching Photos

Post by JacobS » Fri Aug 23, 2013 1:21 pm

No, I wasn't able to figure it out. I've also been having a lot of trouble getting the

Code: Select all

mobilePickPhoto "camera"
command to work. Someone else posted about that problem here: http://forums.runrev.com/viewtopic.php?f=53&t=16587

Have you had any consistent success with either mobileComposeMail or mobilePickPhoto?

Thanks,
Jacob

Post Reply