Does exporting a snapshot from a rect work on mobile?

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
I am getting all black in the image, but I checked and the rect is the correct rect.

Sent from my iPhone
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
I just ran a quick test and it works OK for me using LC8.1.6 on MacOS Sierra 10.12.6, build for iOS10 and tested on iPhone 5s running iOS10.3.3

HTH

Paul


> On Aug 30, 2017, at 7:00 PM, Jonathan Lynch via use-livecode <[hidden email]> wrote:
>
> I am getting all black in the image, but I checked and the rect is the correct rect.
>
> Sent from my iPhone
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Thanks for checking Paul. It appears that, with a browser widget on screen, I am only getting an image from the parts of the screen with the browser widget.

With import snapshot, the non-browser parts of the image are transparent (and black). With exporting a snapshot to a variable and putting that variable into an image, the non-browser parts are visible but black.

I will do more exploring and file a bug report if I can isolate the issue more.

Sent from my iPhone

> On Aug 31, 2017, at 12:56 AM, Paul Hibbert via use-livecode <[hidden email]> wrote:
>
> I just ran a quick test and it works OK for me using LC8.1.6 on MacOS Sierra 10.12.6, build for iOS10 and tested on iPhone 5s running iOS10.3.3
>
> HTH
>
> Paul
>
>
>> On Aug 30, 2017, at 7:00 PM, Jonathan Lynch via use-livecode <[hidden email]> wrote:
>>
>> I am getting all black in the image, but I checked and the rect is the correct rect.
>>
>> Sent from my iPhone
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Hi Jonathan,

On 2017-08-31 14:09, Jonathan Lynch via use-livecode wrote:

> Thanks for checking Paul. It appears that, with a browser widget on
> screen, I am only getting an image from the parts of the screen with
> the browser widget.
>
> With import snapshot, the non-browser parts of the image are
> transparent (and black). With exporting a snapshot to a variable and
> putting that variable into an image, the non-browser parts are visible
> but black.
>
> I will do more exploring and file a bug report if I can isolate the
> issue more.

This is http://quality.livecode.com/show_bug.cgi?id=9992 - back when
this was reported there was no way to do as you are wanting. However, it
seems like since then there is a new way to get a snapshot of the
screen:

https://developer.apple.com/documentation/uikit/uiview/1622589-drawviewhierarchyinrect

So we can try that to fix the problem (it might still not work for some
layer types).

Warmest Regards,

Mark.

--
Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
On 2017-08-31 14:25, Mark Waddingham via use-livecode wrote:
> https://developer.apple.com/documentation/uikit/uiview/1622589-drawviewhierarchyinrect

Turns out this works quite well! It certainly manages to capture
a browser widget on iOS which is displaying the google homepage.

There is still a possibility that some views will not be captured
so some experimentation might be needed, however I've patched it
for inclusion in 8.1.7-rc-1 - so you'll be able to try it out there.

Warmest Regards,

Mark.

--
Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
In reply to this post by Mike Kerner via use-livecode
Hi Mark,

I am trying to hack together a way to detect the height of the keyboard on Android. My plan is to have an image 1-pixel wide, but full height of the screen, with an rgb color of 0,0,1.

If the snapshot includes the keyboard, then the image data of the snapshot will include a point where the color changes to something other than 0,0,1. I can use that point to calculate how high the keyboard is.

Yes, this is a ridiculous hack, but I do not see another solution.

I can work with getting a snapshot just from the browser widget, for my particular case. As long as it also includes the keyboard in the image.

I still have to test for that.

Thanks for looking into this issue.

J

Sent from my iPhone

> On Aug 31, 2017, at 8:25 AM, Mark Waddingham via use-livecode <[hidden email]> wrote:
>
> Hi Jonathan,
>
>> On 2017-08-31 14:09, Jonathan Lynch via use-livecode wrote:
>> Thanks for checking Paul. It appears that, with a browser widget on
>> screen, I am only getting an image from the parts of the screen with
>> the browser widget.
>> With import snapshot, the non-browser parts of the image are
>> transparent (and black). With exporting a snapshot to a variable and
>> putting that variable into an image, the non-browser parts are visible
>> but black.
>> I will do more exploring and file a bug report if I can isolate the issue more.
>
> This is http://quality.livecode.com/show_bug.cgi?id=9992 - back when this was reported there was no way to do as you are wanting. However, it seems like since then there is a new way to get a snapshot of the screen:
>
> https://developer.apple.com/documentation/uikit/uiview/1622589-drawviewhierarchyinrect
>
> So we can try that to fix the problem (it might still not work for some layer types).
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
On 2017-08-31 15:34, [hidden email] wrote:
> I can work with getting a snapshot just from the browser widget, for
> my particular case. As long as it also includes the keyboard in the
> image.

Have you tried 'the [[effective] working] screenRect'?

I think 'the effect working screenRect' should give you the portion of
the screen not covered by furniture and the keyboard.

Warmest Regards,

Mark.

--
Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
I have not tried that - wow, that could really help. I will check later today!

Sent from my iPhone

> On Aug 31, 2017, at 9:51 AM, Mark Waddingham via use-livecode <[hidden email]> wrote:
>
>> On 2017-08-31 15:34, [hidden email] wrote:
>> I can work with getting a snapshot just from the browser widget, for
>> my particular case. As long as it also includes the keyboard in the
>> image.
>
> Have you tried 'the [[effective] working] screenRect'?
>
> I think 'the effect working screenRect' should give you the portion of the screen not covered by furniture and the keyboard.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.

Thanks Mark

Sent from my iPhone

> On Aug 31, 2017, at 10:22 AM, [hidden email] wrote:
>
> I have not tried that - wow, that could really help. I will check later today!
>
> Sent from my iPhone
>
>>> On Aug 31, 2017, at 9:51 AM, Mark Waddingham via use-livecode <[hidden email]> wrote:
>>>
>>> On 2017-08-31 15:34, [hidden email] wrote:
>>> I can work with getting a snapshot just from the browser widget, for
>>> my particular case. As long as it also includes the keyboard in the
>>> image.
>>
>> Have you tried 'the [[effective] working] screenRect'?
>>
>> I think 'the effect working screenRect' should give you the portion of the screen not covered by furniture and the keyboard.
>>
>> Warmest Regards,
>>
>> Mark.
>>
>> --
>> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Hi Mark,

Unfortunately, the screen rect and the effective working screen rect return the exact same results on this Android device - 0,0,800,1280.

Do you have any other suggestions for determining the keyboard height on Android? I am willing to pursue my hack, but it is a pretty rough hack.

Sent from my iPhone

> On Aug 31, 2017, at 10:33 AM, [hidden email] wrote:
>
> Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.
>
> Thanks Mark
>
> Sent from my iPhone
>
>> On Aug 31, 2017, at 10:22 AM, [hidden email] wrote:
>>
>> I have not tried that - wow, that could really help. I will check later today!
>>
>> Sent from my iPhone
>>
>>>> On Aug 31, 2017, at 9:51 AM, Mark Waddingham via use-livecode <[hidden email]> wrote:
>>>>
>>>> On 2017-08-31 15:34, [hidden email] wrote:
>>>> I can work with getting a snapshot just from the browser widget, for
>>>> my particular case. As long as it also includes the keyboard in the
>>>> image.
>>>
>>> Have you tried 'the [[effective] working] screenRect'?
>>>
>>> I think 'the effect working screenRect' should give you the portion of the screen not covered by furniture and the keyboard.
>>>
>>> Warmest Regards,
>>>
>>> Mark.
>>>
>>> --
>>> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
>>> LiveCode: Everyone can create apps
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
In reply to this post by Mike Kerner via use-livecode
On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.

...and not just answering questions, but expounding on the reasoning
behind existing features/bugs and brainstorming about work in progress
and ideas for new features. In my experience this level of support is
unheard of practially anywhere else. I've gotten spoiled by it.

--
  Mark Wieder
  [hidden email]

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
In reply to this post by Mike Kerner via use-livecode
On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.

I also want to give a shout out to the supportive community here. This
is by far the best online community I've ever had the honor of being a
part of. The level of paying things forward is outstanding.

--
  Mark Wieder
  [hidden email]

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Yes - it makes me want to share whatever I can.


Sent from my iPhone

> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <[hidden email]> wrote:
>
>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>> Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.
>
> I also want to give a shout out to the supportive community here. This is by far the best online community I've ever had the honor of being a part of. The level of paying things forward is outstanding.
>
> --
> Mark Wieder
> [hidden email]
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
A question for Mark Waddingham...

Mark, in my app, in the place in question, the keyboard is activated by a browser widget. Is it possible that this means it is not sending a signal to LC to update the value of the effective working screen rect?

Sent from my iPhone

> On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
>
> Yes - it makes me want to share whatever I can.
>
>
> Sent from my iPhone
>
>>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <[hidden email]> wrote:
>>>
>>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>>> Just a random comment - having the CTO of LC directly answer our questions is an incredible benefit to LC developers.
>>
>> I also want to give a shout out to the supportive community here. This is by far the best online community I've ever had the honor of being a part of. The level of paying things forward is outstanding.
>>
>> --
>> Mark Wieder
>> [hidden email]
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Actually, never mind, that cannot be it.

I tried the follow script:

on mouseUp

create field "test height"

select after field "test height"

send getEWSR to me in 1 second

end mouseUp

on getEWSR

answer the effective working screenrect

delete field "test height"

end getEWSR


it still returns the same screenrect that I get without using "effect
working", which is the screenrect of the device.


Any other ideas?

On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:

> A question for Mark Waddingham...
>
> Mark, in my app, in the place in question, the keyboard is activated by a
> browser widget. Is it possible that this means it is not sending a signal
> to LC to update the value of the effective working screen rect?
>
> Sent from my iPhone
>
> > On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
> >
> > Yes - it makes me want to share whatever I can.
> >
> >
> > Sent from my iPhone
> >
> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
> [hidden email]> wrote:
> >>>
> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> >>> Just a random comment - having the CTO of LC directly answer our
> questions is an incredible benefit to LC developers.
> >>
> >> I also want to give a shout out to the supportive community here. This
> is by far the best online community I've ever had the honor of being a part
> of. The level of paying things forward is outstanding.
> >>
> >> --
> >> Mark Wieder
> >> [hidden email]
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> [hidden email]
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>



--
Do all things with love
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
What happens if you check the effective working screenrect in a
keyboardActivated handler?

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com



On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode
<[hidden email]> wrote:

> Actually, never mind, that cannot be it.
>
> I tried the follow script:
>
> on mouseUp
>
> create field "test height"
>
> select after field "test height"
>
> send getEWSR to me in 1 second
>
> end mouseUp
>
> on getEWSR
>
> answer the effective working screenrect
>
> delete field "test height"
>
> end getEWSR
>
>
> it still returns the same screenrect that I get without using "effect
> working", which is the screenrect of the device.
>
>
> Any other ideas?
>
> On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:
>
>> A question for Mark Waddingham...
>>
>> Mark, in my app, in the place in question, the keyboard is activated by a
>> browser widget. Is it possible that this means it is not sending a signal
>> to LC to update the value of the effective working screen rect?
>>
>> Sent from my iPhone
>>
>> > On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
>> >
>> > Yes - it makes me want to share whatever I can.
>> >
>> >
>> > Sent from my iPhone
>> >
>> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
>> [hidden email]> wrote:
>> >>>
>> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>> >>> Just a random comment - having the CTO of LC directly answer our
>> questions is an incredible benefit to LC developers.
>> >>
>> >> I also want to give a shout out to the supportive community here. This
>> is by far the best online community I've ever had the honor of being a part
>> of. The level of paying things forward is outstanding.
>> >>
>> >> --
>> >> Mark Wieder
>> >> [hidden email]
>> >>
>> >> _______________________________________________
>> >> use-livecode mailing list
>> >> [hidden email]
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> Do all things with love
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
Hi Jacqueline,

Sadly, that did not help. It received the KeyboardActivated message, and I had it check the effective working screenrect both at that point and again in a handler set to trigger a second later. They all return results as if the keyboard is not there.

This is on a galaxy tab E, with the OS from 2015, so it might just be that this tablet is not very good. However, I need the app to work on most android devices.

When I get a more powerful machine, I might test a few of these things again. I can make it do different things depending whether a particular OS resource is available.

Thanks!

J

Sent from my iPhone

> On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <[hidden email]> wrote:
>
> What happens if you check the effective working screenrect in a keyboardActivated handler?
>
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
>
>> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <[hidden email]> wrote:
>>
>> Actually, never mind, that cannot be it.
>>
>> I tried the follow script:
>>
>> on mouseUp
>>
>> create field "test height"
>>
>> select after field "test height"
>>
>> send getEWSR to me in 1 second
>>
>> end mouseUp
>>
>> on getEWSR
>>
>> answer the effective working screenrect
>>
>> delete field "test height"
>>
>> end getEWSR
>>
>>
>> it still returns the same screenrect that I get without using "effect
>> working", which is the screenrect of the device.
>>
>>
>> Any other ideas?
>>
>>> On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:
>>>
>>> A question for Mark Waddingham...
>>>
>>> Mark, in my app, in the place in question, the keyboard is activated by a
>>> browser widget. Is it possible that this means it is not sending a signal
>>> to LC to update the value of the effective working screen rect?
>>>
>>> Sent from my iPhone
>>>
>>> > On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
>>> >
>>> > Yes - it makes me want to share whatever I can.
>>> >
>>> >
>>> > Sent from my iPhone
>>> >
>>> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
>>> [hidden email]> wrote:
>>> >>>
>>> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>>> >>> Just a random comment - having the CTO of LC directly answer our
>>> questions is an incredible benefit to LC developers.
>>> >>
>>> >> I also want to give a shout out to the supportive community here. This
>>> is by far the best online community I've ever had the honor of being a part
>>> of. The level of paying things forward is outstanding.
>>> >>
>>> >> --
>>> >> Mark Wieder
>>> >> [hidden email]
>>> >>
>>> >> _______________________________________________
>>> >> use-livecode mailing list
>>> >> [hidden email]
>>> >> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>>
>> --
>> Do all things with love
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
This appears to be an old problem (2012).  I don't know if there was ever a
solution.  A best practice was to position any input fields in the top
third of the screen.  I agree with the consensus that it should be handled
automatically, but it is not, obviously.

https://www.mail-archive.com/use-livecode@.../msg29602.html

~Roger


On Fri, Sep 1, 2017 at 6:46 AM, Jonathan Lynch via use-livecode <
[hidden email]> wrote:

> Hi Jacqueline,
>
> Sadly, that did not help. It received the KeyboardActivated message, and I
> had it check the effective working screenrect both at that point and again
> in a handler set to trigger a second later. They all return results as if
> the keyboard is not there.
>
> This is on a galaxy tab E, with the OS from 2015, so it might just be that
> this tablet is not very good. However, I need the app to work on most
> android devices.
>
> When I get a more powerful machine, I might test a few of these things
> again. I can make it do different things depending whether a particular OS
> resource is available.
>
> Thanks!
>
> J
>
> Sent from my iPhone
>
> > On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <
> [hidden email]> wrote:
> >
> > What happens if you check the effective working screenrect in a
> keyboardActivated handler?
> >
> > --
> > Jacqueline Landman Gay         |     [hidden email]
> > HyperActive Software           |     http://www.hyperactivesw.com
> >
> >
> >
> >> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
> [hidden email]> wrote:
> >>
> >> Actually, never mind, that cannot be it.
> >>
> >> I tried the follow script:
> >>
> >> on mouseUp
> >>
> >> create field "test height"
> >>
> >> select after field "test height"
> >>
> >> send getEWSR to me in 1 second
> >>
> >> end mouseUp
> >>
> >> on getEWSR
> >>
> >> answer the effective working screenrect
> >>
> >> delete field "test height"
> >>
> >> end getEWSR
> >>
> >>
> >> it still returns the same screenrect that I get without using "effect
> >> working", which is the screenrect of the device.
> >>
> >>
> >> Any other ideas?
> >>
> >>> On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:
> >>>
> >>> A question for Mark Waddingham...
> >>>
> >>> Mark, in my app, in the place in question, the keyboard is activated
> by a
> >>> browser widget. Is it possible that this means it is not sending a
> signal
> >>> to LC to update the value of the effective working screen rect?
> >>>
> >>> Sent from my iPhone
> >>>
> >>> > On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
> >>> >
> >>> > Yes - it makes me want to share whatever I can.
> >>> >
> >>> >
> >>> > Sent from my iPhone
> >>> >
> >>> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
> >>> [hidden email]> wrote:
> >>> >>>
> >>> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> >>> >>> Just a random comment - having the CTO of LC directly answer our
> >>> questions is an incredible benefit to LC developers.
> >>> >>
> >>> >> I also want to give a shout out to the supportive community here.
> This
> >>> is by far the best online community I've ever had the honor of being a
> part
> >>> of. The level of paying things forward is outstanding.
> >>> >>
> >>> >> --
> >>> >> Mark Wieder
> >>> >> [hidden email]
> >>> >>
> >>> >> _______________________________________________
> >>> >> use-livecode mailing list
> >>> >> [hidden email]
> >>> >> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>
> >>
> >>
> >> --
> >> Do all things with love
> >> _______________________________________________
> >> use-livecode mailing list
> >> [hidden email]
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
@Roger according to BZ, this appears to be fixed:

http://quality.livecode.com/show_bug.cgi?id=10410

@Jonathan if this is not the case, could you file a bug report so as we
keep track of this issue?

Best,
Panos
--

On Fri, Sep 1, 2017 at 12:20 PM, Roger Eller via use-livecode <
[hidden email]> wrote:

> This appears to be an old problem (2012).  I don't know if there was ever a
> solution.  A best practice was to position any input fields in the top
> third of the screen.  I agree with the consensus that it should be handled
> automatically, but it is not, obviously.
>
> https://www.mail-archive.com/use-livecode@.../msg29602.html
>
> ~Roger
>
>
> On Fri, Sep 1, 2017 at 6:46 AM, Jonathan Lynch via use-livecode <
> [hidden email]> wrote:
>
> > Hi Jacqueline,
> >
> > Sadly, that did not help. It received the KeyboardActivated message, and
> I
> > had it check the effective working screenrect both at that point and
> again
> > in a handler set to trigger a second later. They all return results as if
> > the keyboard is not there.
> >
> > This is on a galaxy tab E, with the OS from 2015, so it might just be
> that
> > this tablet is not very good. However, I need the app to work on most
> > android devices.
> >
> > When I get a more powerful machine, I might test a few of these things
> > again. I can make it do different things depending whether a particular
> OS
> > resource is available.
> >
> > Thanks!
> >
> > J
> >
> > Sent from my iPhone
> >
> > > On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <
> > [hidden email]> wrote:
> > >
> > > What happens if you check the effective working screenrect in a
> > keyboardActivated handler?
> > >
> > > --
> > > Jacqueline Landman Gay         |     [hidden email]
> > > HyperActive Software           |     http://www.hyperactivesw.com
> > >
> > >
> > >
> > >> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
> > [hidden email]> wrote:
> > >>
> > >> Actually, never mind, that cannot be it.
> > >>
> > >> I tried the follow script:
> > >>
> > >> on mouseUp
> > >>
> > >> create field "test height"
> > >>
> > >> select after field "test height"
> > >>
> > >> send getEWSR to me in 1 second
> > >>
> > >> end mouseUp
> > >>
> > >> on getEWSR
> > >>
> > >> answer the effective working screenrect
> > >>
> > >> delete field "test height"
> > >>
> > >> end getEWSR
> > >>
> > >>
> > >> it still returns the same screenrect that I get without using "effect
> > >> working", which is the screenrect of the device.
> > >>
> > >>
> > >> Any other ideas?
> > >>
> > >>> On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:
> > >>>
> > >>> A question for Mark Waddingham...
> > >>>
> > >>> Mark, in my app, in the place in question, the keyboard is activated
> > by a
> > >>> browser widget. Is it possible that this means it is not sending a
> > signal
> > >>> to LC to update the value of the effective working screen rect?
> > >>>
> > >>> Sent from my iPhone
> > >>>
> > >>> > On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
> > >>> >
> > >>> > Yes - it makes me want to share whatever I can.
> > >>> >
> > >>> >
> > >>> > Sent from my iPhone
> > >>> >
> > >>> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
> > >>> [hidden email]> wrote:
> > >>> >>>
> > >>> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> > >>> >>> Just a random comment - having the CTO of LC directly answer our
> > >>> questions is an incredible benefit to LC developers.
> > >>> >>
> > >>> >> I also want to give a shout out to the supportive community here.
> > This
> > >>> is by far the best online community I've ever had the honor of being
> a
> > part
> > >>> of. The level of paying things forward is outstanding.
> > >>> >>
> > >>> >> --
> > >>> >> Mark Wieder
> > >>> >> [hidden email]
> > >>> >>
> > >>> >> _______________________________________________
> > >>> >> use-livecode mailing list
> > >>> >> [hidden email]
> > >>> >> Please visit this url to subscribe, unsubscribe and manage your
> > >>> subscription preferences:
> > >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Do all things with love
> > >> _______________________________________________
> > >> use-livecode mailing list
> > >> [hidden email]
> > >> Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > >
> > >
> > > _______________________________________________
> > > use-livecode mailing list
> > > [hidden email]
> > > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Does exporting a snapshot from a rect work on mobile?

Mike Kerner via use-livecode
In reply to this post by Mike Kerner via use-livecode
The android version is 6.0.1.


Sent from my iPhone

> On Sep 1, 2017, at 6:46 AM, [hidden email] wrote:
>
> Hi Jacqueline,
>
> Sadly, that did not help. It received the KeyboardActivated message, and I had it check the effective working screenrect both at that point and again in a handler set to trigger a second later. They all return results as if the keyboard is not there.
>
> This is on a galaxy tab E, with the OS from 2015, so it might just be that this tablet is not very good. However, I need the app to work on most android devices.
>
> When I get a more powerful machine, I might test a few of these things again. I can make it do different things depending whether a particular OS resource is available.
>
> Thanks!
>
> J
>
> Sent from my iPhone
>
>> On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <[hidden email]> wrote:
>>
>> What happens if you check the effective working screenrect in a keyboardActivated handler?
>>
>> --
>> Jacqueline Landman Gay         |     [hidden email]
>> HyperActive Software           |     http://www.hyperactivesw.com
>>
>>
>>
>>> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <[hidden email]> wrote:
>>>
>>> Actually, never mind, that cannot be it.
>>>
>>> I tried the follow script:
>>>
>>> on mouseUp
>>>
>>> create field "test height"
>>>
>>> select after field "test height"
>>>
>>> send getEWSR to me in 1 second
>>>
>>> end mouseUp
>>>
>>> on getEWSR
>>>
>>> answer the effective working screenrect
>>>
>>> delete field "test height"
>>>
>>> end getEWSR
>>>
>>>
>>> it still returns the same screenrect that I get without using "effect
>>> working", which is the screenrect of the device.
>>>
>>>
>>> Any other ideas?
>>>
>>>> On Thu, Aug 31, 2017 at 8:51 PM, <[hidden email]> wrote:
>>>>
>>>> A question for Mark Waddingham...
>>>>
>>>> Mark, in my app, in the place in question, the keyboard is activated by a
>>>> browser widget. Is it possible that this means it is not sending a signal
>>>> to LC to update the value of the effective working screen rect?
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Aug 31, 2017, at 8:27 PM, [hidden email] wrote:
>>>>>
>>>>> Yes - it makes me want to share whatever I can.
>>>>>
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
>>>> [hidden email]> wrote:
>>>>>>>
>>>>>>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>>>>>>> Just a random comment - having the CTO of LC directly answer our
>>>> questions is an incredible benefit to LC developers.
>>>>>>
>>>>>> I also want to give a shout out to the supportive community here. This
>>>> is by far the best online community I've ever had the honor of being a part
>>>> of. The level of paying things forward is outstanding.
>>>>>>
>>>>>> --
>>>>>> Mark Wieder
>>>>>> [hidden email]
>>>>>>
>>>>>> _______________________________________________
>>>>>> use-livecode mailing list
>>>>>> [hidden email]
>>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>
>>>
>>>
>>> --
>>> Do all things with love
>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

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