Finding stacks on Mobile

Michael Doub mikedoub at gmail.com
Thu May 15 17:22:34 EDT 2014


Thanks Ralph.

My fundamental problem was that I was not using the “Copy Files” tab.   I incorrectly assumed that since they were all listed on the “Stacks” tab they would have been copied.  This does not appear to be the case.

Regards,
    Mike



On May 12, 2014, at 10:12 AM, Ralph DiMola <rdimola at evergreeninfo.net> wrote:

> The stacks are located in the "engine folder" on mobile. I included my
> library stack from a subfolder "Lib" from the main stack.
> 
> Here is my code.
> 
> if the environment = "Mobile" then
>      if there is a file (engine folder & slash & "Lib" & slash &
> "MyLibrary.livecode") then
>         start using stack (engine folder & slash & "Lib" & slash &
> "MyLibrary.livecode")
>      end if
> else
> -- standard issue non-mobile "start using" here
> end if
> 
> 
> I think there may be a performance hit on Android as the stack is inside a
> "zip" file. I never tried to move a library stack out of the "engine folder"
> into the "documents folder" and then do a start using from the "documents
> folder".
> 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
> Of Michael Doub
> Sent: Sunday, May 11, 2014 3:20 PM
> To: How To use LiveCode use LiveCode
> Subject: Finding stacks on Mobile
> 
> Can anyone clue me in on the proper use of library stacks in the mobile
> environment?   I thought I understood it, but i guess not.
> 
> I started putting my library code in substacks and I quickly realized that
> that causes name conflicts when in the IDE when trying to re-use the stacks
> and it kind of defeated the purpose of library stacks.   However, when I
> made a mobile app,  the startusing worked just fine, no problem finding the
> stacks.
> 
> Then I starting adding stacks in the standalone builder stacks tab.   I
> thought that must have been the bit of information I was missing.   I have
> been happily working in the IDE,  start using  and go to works as expected.
> I thought that I would have smooth sailing going to mobile.   Well, I just
> started to test on an android device and to my surprise my main stack is
> unable to find any other stack.   Neither start using or go to stack is
> finding the other main stacks.  
> 
> What am I missing?  Do I need some other initialization for the engine to
> find these stacks?
> 
> if "libjson" is not among the lines of the stacksinuse then 
>      start using "libjson"
>   end if
> _______________________________________________
> 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