With an astute observation from Jaque, I was able to figure out why the
messages didn't seem to be flowing properly. Since I only read the
openBackground entry, I missed the note about needing to pass the message
for other backgrounds to handle. I've updated the file that I posted.
Eventually I w
I've posted an updated version of the stack:
https://milby.us/lc/MobileDemo2.livecode
This version uses the new properties for orientation rects which causes the
engine to send resizestack messages on rotation. I've also moved the
buttons into a background groups with a behavior that handles the
Thanks for running the tests!
I've been working on this stack for the past 2 days. I've made quite a bit
of progress and switched to using the new handler to set orientation
rects. That simplifies things a bit. I had to write some code to figure
out the rect to use for device native though (whi
I ran both stacks on my Pixel and they got exactly the same results you
reported; in other words, everything worked just fine.
I decided to try my theory that we could combine fullscreenMode with
individual object placement and we can. This will prevent the tiny image
when the device is rotate
As I like to do, I decided to really over-do the demo test stacks. The one
I mentioned initially is:
https://milby.us/lc/RotationDemo.livecode
The one I just finished working on does a bit more:
https://milby.us/lc/MobileDemo.livecode
I built both to test resizeStack and rotation on Android.
On 8/30/18 8:46 PM, Brian Milby via use-livecode wrote:
I'll post the stack file if anyone wants to see it. On the one Android
device I have available it works correctly. Resizestack handlers fire
correctly. So I guess I need to find something with a later OS to test
against to see the problem
I finally installed Android Studio. I have API 28, 26, and 15 installed.
Everything else was pretty much the defaults. (Hint: you don't need to
move the sdk directory out of your Library, just create an alias and put it
on your desktop. When you select the alias, LC will resolve it and store
the