Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 723

Talking LiveCode • Reliable IOS and ANDROID pdf viewing

$
0
0
Hi Livecoders,

I do hope all are doing well.

I have an issue I hope someone can shine a light on. I am trying to view pdf's on both IOS and ANDROID mobile platforms. I have checked a couple solutions on the forums but none have been reliable. The current one that comes close to working is having a google embed which works on both platforms but only 80% of the time. Is there a way to make this option consistent? I have added a hander to reset the url on the browser widget when it fails which has slightly improved the failure rate but am really looking for a permanant solution. Any help would be appreciated.

LC- 9.6.11
browser widget

source link
https://stackoverflow.com/questions/74 ... ing-first

CODE:

on updateLatestBullet   local tLink      put the url of widget "bullet" of cd "BULLET" into tLink      put the htmltext of widget "bullet" of cd "BULLET" into tResult      if tResult is "<html><head></head><body></body></html>" then             set the url of widget "bullet" of cd "BULLET" to empty      set the HTMLTEXT of widget "bullet" of cd "BULLET" to empty      wait 500 milliseconds with messages      set the url of widget "bullet" of cd "BULLET" to tLink         else            exit updateLatestBullet         end if   end updateLatestBullet

Statistics: Posted by istech — Sat May 18, 2024 9:46 am



Viewing all articles
Browse latest Browse all 723

Trending Articles