How do we access the clipboard on mobile devices?
jonathandlynch at gmail.com
jonathandlynch at gmail.com
Sun Jun 25 18:53:50 EDT 2017
I really want to have the same forms for every platform, not have to generate 40 different fields on the fly and manage all of that.
I might try converting my forms into HTML forms and using the browser widget. I hate that because I invested so much time into the forms I have created, but not being able to paste text on a tablet kinda stinks.
Sent from my iPhone
> On Jun 25, 2017, at 11:46 AM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> They can paste text normally if you use a native field. The only restriction is that LC can't manage the clipboard through script alone. But if you create a mobile field the OS handles it as expected.
>
> In other words, copy and paste is currently limited to manual user actions.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
>
>
>> On June 25, 2017 11:07:08 AM Jonathan Lynch via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> I was very surprised it wasn't. I plan to submit Augmented Earth to the apple App Store today. I am going to be embarrassed to tell users they cannot paste text into their reports on a mobile device.
>>
>> I think I will try to find a workaround between version 1 and version 1.1
>>
>> Sent from my iPhone
>>
>>> On Jun 25, 2017, at 10:28 AM, hlowe via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>
>>> iOS native text fields (and I presume other native mobile text fields)
>>> support manual copy and paste actions - the user has to manually select the
>>> text and then initiate the action. I don't know of any way to
>>> programatically copy and paste to/from the iOS clipboard nor to access the
>>> data on the clipboard. Perhaps I am missing something?
>>>
>>> In Objective C this appears to be relatively straight forward:
>>>
>>> UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
>>> pasteboard.string = @"some text to be pasted";
>>>
>>> Is there is a reason why basic mobile clipboard support was never
>>> implemented in LiveCode?
>>>
>>> It would be very nice to be able to get and set the rawClipboardData on
>>> mobile but that is only possible on the desktop.
>>>
>>> Henry
>>>
>>>
>>>
>>> --
>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-we-access-the-clipboard-on-mobile-devices-tp4716158p4716182.html
>>> Sent from the Revolution - User mailing list archive at Nabble.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
>>
>> _______________________________________________
>> 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