Copy Cut Paste in a Field - Android

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Norbert_65
Posts: 2
Joined: Sun Feb 17, 2019 11:53 am

Copy Cut Paste in a Field - Android

Post by Norbert_65 » Sun Feb 17, 2019 3:25 pm

Hello,

under Windows the functions with the clipboard are working.
The same with the Handy under Android ist not working.

put the clipboardData["text"] into tTemp

what is the solution for that Problem?

thx

Norbert

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Copy Cut Paste in a Field - Android

Post by Klaus » Sun Feb 17, 2019 3:54 pm

Hallo Norbert,

welcome to the forum!

A look into the dictionary (Hint, Hint!) reveals that "clipboard" related messages and handlers
only work on Mac, Win and Linux, means only on the desktop and not on the mobile platform.

I don't develop for mobile, don't even own a cellphone or tablet, but I think when using native controls,
the ones created with -> mobilecontrolcreate..., these support copy/cut/paste on the mobile platform.
After selecting text there will be a system popup for "Copy/Cut/Paste" or something.

But only on userlevel, we cannot script that!


Best

Klaus

Norbert_65
Posts: 2
Joined: Sun Feb 17, 2019 11:53 am

Re: Copy Cut Paste in a Field - Android

Post by Norbert_65 » Sun Feb 17, 2019 5:17 pm

Hello,

perfekt.

after one week searching in the Internet, i have an idea to search.

thank you.

Norbert

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Copy Cut Paste in a Field - Android

Post by jacque » Mon Feb 18, 2019 5:55 pm

You have the most control by using mobileControlCreate and scripting all the properties you want for the field. But LC 9 now includes an Android field widget which you can just drop onto your stack like any other control. That may be all you need.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Android Deployment”