Browser Widget on Android

J. Landman Gay jacque at hyperactivesw.com
Sun Jul 15 17:20:32 EDT 2018


I tried your test stack but I don't think I know how to use it. The 
existing URL in the browser widget (your site) returns an error: Webpage 
not available, net::ERR_CACHE_MISS. I changed it to google.com and got 
the same thing.

At any rate, changing the fullscreenMode re-wrapped the text in the 
widget content as needed.

When I rotated the device everything went screwy. The previously black 
and (sort of) white center graphics controls fill colors. Once rotated 
to landscape it would never go back to portrait. When changing the 
fullescreenMode (in portrait,) remnants of the previous layout were 
visible underneath the new layout.

More instruction would be good, feel free to write me privately. I 
didn't examine the scripts.

On 7/15/18 10:04 AM, Brian Milby via use-livecode wrote:
> I have a question/small favor to ask someone that develops on Android.
> 
> When you place a browser widget on a stack and deploy to iOS, the content
> inside the widget is always at native resolution.  If you use a resize
> handler or the GM to position the rect and a FullScreenMode of noScale,
> everything works as expected.  If you select any other FullScreenMode, then
> the rect of the widget is adjust proportionally based on the mode, but the
> content stays the native size (it doesn't get stretched/squished like other
> native LiveCode controls).
> 
> To see this in action, you can use the MobileProfile stack I created (you
> will need a splash image set for the actual size of the device for it to
> work properly on iOS, not sure about Android).  The top grey circle will
> show the browser widget.  The widget hides when an orientation change is
> detected.
> 
> Here's a link to the stack.  I can post it elsewhere if needed.
> https://www.dropbox.com/s/tt81fn3jw8utmc6/MobileProfile.livecode?dl=0
> 
> My question is how does this work on Android?  My guess is that it would be
> similar in that the content inside the browser widget would remain native
> and just the LiveCode controls outside of it would get scaled.
> 
> Thanks,
> Brian
> _______________________________________________
> 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
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list