How do we access the clipboard on mobile devices?

Jonathan Lynch jonathandlynch at gmail.com
Sun Jun 25 22:16:21 EDT 2017


Thanks Richard,

This conversation has made me realize I am about to have a yak shaving
moment...

The most important field for submitting a report in Augmented Earth is the
Content field. Because it is an LC field, I use it to allow the user to
enter text, format the text, and upload images. The images are a single
character with the image source set to an image, which is stored in a
hidden group.

It works quite well. The fields and images are combined to produce HTML
text. When a user reads a report, the various data and images are
downloaded and stored in their appropriate place. What they view is the
HTML that is auto generated from those fields and images and presented
through a widget.

I don't think a native field will allow me to insert images in the field in
the same way. And, of course, the content field is the place where a user
would most need to paste in text.

So, I could use native fields for entering text, but not with images
inserted in the text. Or, I can use an LC field for doing both, but then we
cannot paste.

Assuming I am able to submit the app to the App Store as it is, it seems
like I am going to have to come up with a way to paste text into an LC
field on a mobile device for version 1.1

That sounds very difficult. Would LC Builder allow me to do this? I am
pretty sure I could make an external in iOS that allows this - I have
written an iOS external in the past - but it was a big pain and LC Builder
seems like the way to do things like this in the future.

work, work, work

I appreciate your suggestion though. As long as I can generate native
fields inside of a group so they can be scrolled, I will explore that
method for all of the other fields.

J

On Sun, Jun 25, 2017 at 7:29 PM, Richard Gaskin via use-livecode <
use-livecode at lists.runrev.com> wrote:

> jonathandlynch wrote:
>
> > 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.
>
> You don't need to. Write a loop that instantiates any editable fields for
> you on preOpenCard and LiveCode will do the rest.
>
> I don't know why that sort of auto-instantiation isn't just a property
> setting of fields, but just about every developer I know wrote that loop
> once and never thinks about it again.
>
>
> > 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.
>
> That seems like a lot more work.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  ____________________________________________________________________
>  Ambassador at FourthWorld.com                http://www.FourthWorld.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



More information about the use-livecode mailing list