Speed on Android

Mike Bonner bonnmike at gmail.com
Sat Mar 21 18:21:54 EDT 2015


Hmm. I thought you could still get URL "blah blah" on mobile and it would
work.  In fact, though the functionality differs slightly, you can use the
load command on mobile too. Perhaps this would be useful?  If you're using
http urls, the only real difference in load between desktop and mobile, is
that desktop caches. On mobile, you use the "with message" form and the
contents of the load are sent as a parameter to the handling message. I
don't think you need to worry about "unload" on mobile either.  The nice
thing about load is that, even if it takes a while for the load to
complete, you don't lose functionality in your app while its waiting.  Load
is non-blocking. When it completes, the designated message fires, and you
can deal with it.

It has been a while since I've used load on mobile though, so it might now
cache, so, ymmv.

Yep, just checked the dictionary for load, and it says this: The iOS and
Android engines do not support 'libUrl' but allows you to use load in the
background.
So my guess is that load still does not cache, but even so, it may work
well for your needs.

On Sat, Mar 21, 2015 at 4:05 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> On 3/21/2015 2:07 PM, Ralph DiMola wrote:
>
>> Ralph DiMola wrote:
>>>>
>>>
>>   >> Richard Gaskin wrote:
>>   >>
>>   >>>How does LC connect to the database socket on platforms where it
>>   >> provides no socket support?
>>   >>
>>   >> Magic.
>>
>>  Richard Gaskin wrote:
>>> I'm intrigued.  Does this magic work on Android as well?
>>>
>>
>>  I wonder if we can leverage this for other socket comms...
>>>
>>
>> This magic works transparently on both iOS and Android. Use it every day.
>>
>
> Well, it isn't working here and I wish I knew why.
>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.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
>



More information about the use-livecode mailing list