Splash at the launching on android
Takashi Yoshino
yoshino at sys.wakayama-u.ac.jp
Mon Feb 27 21:05:42 EST 2012
Thank you, Ralph!
You script is very helpful for me.
I can show my splash screen at the launch time.
Thank you so much.
The following is the my script.
--
on OpenStack
send "startMyStack" to me in 1 ticks
pass OpenStack
end OpenStack
on startMyStack
if the environment = "Mobile"
then
if there is a file (engine folder & slash & "MyStack.livecode")
then
start using stack (engine folder & slash & "MyStack.livecode")
go to stack "MyFirstStack"
end if
end if
end startMyStack
I prepare two LiveCode files, SplashScreen.livecode and MyStack.livecode.
SplashScreen.livecode is main stack.
MyStack.livecode has included by Copy files in Standalone application setting.
I wrote the above script in SplashScreen.livecode at the stack script.
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._
Takashi Yoshino
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441
On 2012/02/28, at 1:54, Ralph DiMola wrote:
> T,
>
> I think you correct. I tried to add my library stack as a stack to be
> included in the standalone setting and it was not available. I had to
> include it as a copy file in standalone setting and do this in the
> preopenstack....
>
>
> ****************************************************************************
> ****
>
> if the environment = "Mobile" then
>
> if there is a file (engine folder & slash & "My_Library.livecode")
> then
>
> start using stack (engine folder & slash & "My_Library.livecode")
>
> end if
>
> end if
>
> ****************************************************************************
> *************
>
> I don't know if this will help you. This was the only way I could use my
> library on mobile.
>
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com
> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Takashi Yoshino
> Sent: Monday, February 27, 2012 9:11 AM
> To: How to use LiveCode
> Subject: Re: Splash at the launching on android
>
> On 2012/02/27, at 20:50, Roger Eller wrote:
>
>> On Mon, Feb 27, 2012 at 12:45 AM, Takashi Yoshino wrote:
>>
>>> Thank you for your reply.
>>>
>>> My stack is a little bit large.
>>> It take a lot of time to show the first card. So, I want to show a
> splash
>>> screen.
>>>
>> Make a separate stack containing only the splash image (so it loads
>> quickly), and from there, lock screen so the splash remains, and go to the
>> larger stack, then unlock screen.
>>
>> ~Roger
>
> I think LiveCode on Android has only one MainStack...
>
> _______________________________________________
> 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