Splash format

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Splash format

Post by link76 » Wed Mar 13, 2019 4:02 pm

Hi,

What are the dimensions for the splash image?
I'm currently using LC Comumunity Edition, do you have any limitations?

thank you

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

Re: Splash format

Post by Klaus » Wed Mar 13, 2019 4:11 pm

I don't think there are specifications for this!
Just create a one-card stack and group all object on that card, then script this for the splash stack:

Code: Select all

on preopenstack
  ## So no need to know this in advance! Take what is there! :-)
  set the rect of this stack to the screenrect

  ## Place content in the middle of the currenct screen
  set the loc of grp "your group with everything in it here..." to the screenloc
  ## Et voila: centered
end preopenstack
Should work...

link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Re: Splash format

Post by link76 » Wed Mar 13, 2019 4:15 pm

Klaus wrote:
Wed Mar 13, 2019 4:11 pm
I don't think there are specifications for this!
Just create a one-card stack and group all object on that card, then script this for the splash stack:

Code: Select all

on preopenstack
  ## So no need to know this in advance! Take what is there! :-)
  set the rect of this stack to the screenrect

  ## Place content in the middle of the currenct screen
  set the loc of grp "your group with everything in it here..." to the screenloc
  ## Et voila: centered
end preopenstack
Should work...
Thank you,

but then what is the Splash parameter in the Basic Application Settings?

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

Re: Splash format

Post by Klaus » Wed Mar 13, 2019 4:22 pm

Sorry, don't own any mobile device and do not develop for the mobile platform.
Unfortunately the "User Guide" does not mention this...

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

Re: Splash format

Post by Klaus » Wed Mar 13, 2019 5:03 pm

Sorry, Looks like I completely misunderstood your question.

You are looking for the neccessary dimensions for the Android Splash ICON,
which has nothing to to with the "splash stack" approach I presumed in my answser.

Sorry, I have no idea how smal/big these need to be.

link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Re: Splash format

Post by link76 » Wed Mar 13, 2019 5:51 pm

maybe I was not precise ...

I would like to insert a splash screen, an intro screen, for my app.

in the Basic Application Settings of Android there is the splash field, I inserted a 480x800px image but it does not work :|

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Splash format

Post by sphere » Thu Mar 14, 2019 2:22 pm

I don't know if that works at all.
I just use the first card as a splash screen and then evolve to 2nd card after a few checks/settings and seconds.

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

Re: Splash format

Post by jacque » Thu Mar 14, 2019 7:00 pm

I'm not sure why that entry is in standalone settings, Android doesn't seem to support splash screens like iOS does. I'd do as Sphere does and just use the first card (although many Android apps don't bother with a splash at all.)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Android Deployment”