Launch on Android

Ralph DiMola rdimola at evergreeninfo.net
Wed Sep 16 20:00:11 EDT 2015


I have had success with Facebook opening up this url in revbrowser on both
iOS and Android (note the https)==> "https://www.facebook.com/myFBName"


Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Dan Friedman
Sent: Wednesday, September 16, 2015 6:44 PM
To: use-livecode at lists.runrev.com
Subject: Launch on Android

Hello...  I'm looking to launch the Facebook app from my application.  On
iOS, this works great:

launch url "fb://profile/##############"
if the result = "no association" then
  put "http://m.facebook.com/myFBName?ref=ts" into tUrl
  mobileControlCreate "browser","theBrowser"
  mobileControlSet "theBrowser","url",tUrl	
end if

Basically, it tries to launch the Facebook app on the users device.  If it
fails (likely because the FB app isn't installed), then it creates a browser
and opens the Facebook page.

My question is, how can I do this on Android since "launch" isn't supported
on Android?

Thanks in advance,
-Dan
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list