Sharing on Android

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Sharing on Android

Post by Mag » Thu May 23, 2013 11:33 am

Hi all,

On iOS I use mergSocial to implement posting features on social network as Facebook, Twitter, Weibo (and possibly the upcoming services of iOS 7: Flickr and Vimeo).

In your experience, under Android, is there a way to implement social services posting?
Last edited by Mag on Wed May 29, 2013 11:44 am, edited 1 time in total.

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Share on Android

Post by Mag » Thu May 23, 2013 5:06 pm

I'm trying this code (from Dictionary) on Android device.

Code: Select all

   put "Hello World!" into tAttachment["data"]
   put "text/plain" into tAttachment["type"]
   put "Greetings.txt" into tAttachment["name"]
   mobileComposeHtmlMail "Greetings", "test@runrev.com",,,, tAttachment
I receive the email, but no any attachment.

To tell the true, I need to attach a jpg, but I do not make any progress...

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Share on Android

Post by Mag » Thu May 23, 2013 6:13 pm

The same with this:

Code: Select all

   put "Hello World!" into tAttachment["data"]
   put "text/plain" into tAttachment["type"]
   put "Greetings.txt" into tAttachment["name"]
   mobileComposeMail "Greetings", "test@company.com",,,, tAttachment
The difference from the previous is the command (not html)

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Share on Android

Post by Mag » Tue May 28, 2013 11:17 am

No ideas?

PS
Do you know apps that have no any social share features on Google Play or Amazon App Shop? Maybe mine will be the first... :)

keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

Re: Sharing on Android

Post by keram » Wed Mar 26, 2014 4:26 am

Hi Mag,

Is it now possible to share on social networks from Android apps developed on LC?
If yes, where do I find the info?

Thanks.

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Sharing on Android

Post by Mag » Wed Mar 26, 2014 11:44 am

Hi keram,

unfortunately, to date, I don't know any reliable way, sorry. There is an Android external (mergAndroid) but, unfortunately there was a problem http://quality.runrev.com/show_bug.cgi?id=11623. I have not tested recently, I suggest you to give a try.

Maybe the mobileComposeHtmlMail http://quality.runrev.com/show_bug.cgi?id=11895 command now it works, I haven't tested.

Maybe some other users of the forum can have more useful info.

Post Reply