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
rdim...@evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman
Sent: Wednesday, September 16, 2015 6:44 PM
To: use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

Reply via email to