Does exporting a snapshot from a rect work on mobile?

jonathandlynch at gmail.com jonathandlynch at gmail.com
Fri Sep 1 08:40:34 EDT 2017


KeyboardActivated is working. However, getting the effective working screenrect is not producing a result different from the screenrect, meaning it does reveal the available space after the keyboard pops up.

Sent from my iPhone

> On Sep 1, 2017, at 7:57 AM, Roger Eller via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Well, since the bug report indicates that keyboardActivated/keyboardDeactivated
> messages were added to Android, if they are not working please report it.
> If you want to just use a general rule for a 'safe zone', then prompting at
> the top of the screen should work fine.
> 
> ~Roger
> 
> On Fri, Sep 1, 2017 at 7:31 AM, Jonathan Lynch via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> Hi Roger - yup, this problem affects other development environments too.
>> Many have complained about it online. I currently force the input into the
>> top half of the screen. Do you think I should force it even higher?
>> 
>> I could just make the input go to the very top when a user enters it.
>> 
>> Sent from my iPhone
>> 
>>> On Sep 1, 2017, at 7:25 AM, jonathandlynch at gmail.com wrote:
>>> 
>>> The android version is 6.0.1.
>>> 
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Sep 1, 2017, at 6:46 AM, jonathandlynch at gmail.com 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 <
>> use-livecode at lists.runrev.com> wrote:
>>>>> 
>>>>> What happens if you check the effective working screenrect in a
>> keyboardActivated handler?
>>>>> 
>>>>> --
>>>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>>> 
>>>>> 
>>>>> 
>>>>>> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
>> use-livecode at lists.runrev.com> 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, <jonathandlynch at gmail.com> 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, jonathandlynch at gmail.com 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 <
>>>>>>> use-livecode at lists.runrev.com> 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
>>>>>>>>> ahsoftware at gmail.com
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Do all things with love
>>>>>> _______________________________________________
>>>>>> 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
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> 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
>> 
>> _______________________________________________
>> 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
>> 
> _______________________________________________
> 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




More information about the Use-livecode mailing list