Thanks for checking Richard. How did you do your test? Using a Nexus 5X here, so recent hardware. I place a standard LiveCode field a card (nothing native), and in the card script:
on returnInField answer millisecs() end returnInField When I press characters on the mobile keyboard, they appear in the field, but when I press return, the cursor moves in the field but nothing else happens. The result is the same in both LC 7.1.4 and 8.0.1. I must be missing something? To answer your question, focus has always been an issue for me on Android. I need to track characters and jump between multiple fields of a long registration key, which works as expected on iOS but unfortunately not on Android. The use of standard LC fields is a workaround. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/14/16, 7:13 AM, "use-livecode on behalf of Richard Gaskin" <use-livecode-boun...@lists.runrev.com on behalf of ambassa...@fourthworld.com> wrote: >Scott Rossi wrote: > > > On Android... I have values in some standard fields (not native) > > that I need to send to a handler. How can I trap the return key > > event on the mobile keyboard without having focus on a native field? > > Neither inputReturnKey or returnInField appears to get triggered. > >Testing here, the returnInField message goes to the target field as >expected. > >Does your LC field have focus at that time? If not try trapping >returnKey in the card script (though that raises the question, how does >one bring up the keyboard without an editable field having focus?). > >Also, just curious: given the difficulty of emulating mobile text >editing conventions in LC fields, why not use a mobile-native field there? > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > ambassa...@fourthworld.com http://www.FourthWorld.com > > >_______________________________________________ >use-livecode mailing list >use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode