Installed app on iPad app. Has frame around it and is small.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Installed app on iPad app. Has frame around it and is small.

Post by rleiman » Sun Dec 30, 2012 8:44 pm

Hi Everyone,

I installed an app on my iPad and when the app ran it opened up with a border that looked like the Ipad simulator (it had a frame around the app). The frame looks like a little iPad in the centre of the screen.

Is there a way to turn off the frame and have the app open up in full screen mode?

Thanks.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by Mark » Mon Dec 31, 2012 11:23 am

Hi,

The app was compiled for iPhone/iPod rather than iPad. Is this your own app? If so, compile it a again for iPad. Obviously, the window dimensions of your app need to match those of your iPad.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 3:48 am

Hi Mark,

I will try it again tomorrow.

I also registered with your web site but did not get a reply to my bluebottle.com email. Can you resend me my login details?

Thanks.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by Mark » Tue Jan 01, 2013 5:54 am

Hi,

If you register but don't receive an e-mail from us, it means that something is wrong with your e-mail account. You need to contact support (again) with a working e-mail address, preferably using a different e-mail service.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 11:51 am

Hi,

Thanks for the reply.

I made sure it had iPod selected and got a warning that there was no splash screen. At present I'm not planning to use a splash screen. Can the warning be disabled?

The app showed up in the big size and the stack image showed up as well but the image now repeats several times in the screen. Is there a setting I can change so there is only 1 image?

Thanks.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by Mark » Tue Jan 01, 2013 1:15 pm

Hi,

Do you mean iPod or iPad? I think you mean iPad.

I don't know what image you mean, but if you mean that the stack is displayed multiple times, you have to make sure that your stack is 768 pixels wide (or high) and 1024 pixels high (or wide) if you want to use it on iPad. You might want to subtract 22 pixels from the height for the status bar.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 1:36 pm

Hi Mark,

It's the image being displayed in the stack as background.

I imported the image and referenced it using it's ID number in the "colors and patterns".

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by Mark » Tue Jan 01, 2013 1:47 pm

Hi,

What you probably want is to import the image (like you did) and group it. Just make a group of one single image control. Set the size of the image to the size of the card, set the lockLoc of the image to true in the property inspector and set the backgroundBehavior of the group to true. This will make it appear as a background on each card automatically, when the card is created. If you have cards that exist already, you need to choose Place <group> from the Objects menu. Make sure that the group is always behind all other objects.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 1:55 pm

Thanks,

I will try that.

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 2:12 pm

Hi,

I grouped the image and set the properties as indicated but when I clicked on the stack, the object menu showed "Place group" as disabled (dimmed out).

How do I get it enabled so I can place the group?

Thanks.

rleiman
Posts: 56
Joined: Fri Dec 14, 2012 11:28 am
Contact:

Re: Installed app on iPad app. Has frame around it and is sm

Post by rleiman » Tue Jan 01, 2013 2:22 pm

Not sure why the menu item was disabled but I was able to get a singe image onto the stack.

I did a copy and paste of the group and it showed as a single image.

Post Reply