I have developed an app which i want to run on every platform that LiveCode supports.I have Created app for 480x800 size.Now when i test it in Iphone and android.App is taking a static size.so it looks odd when testing under various sizes.how can i make it compatible for all sizes.that something should be there which can automatically resize the app with screen size.
-
Is there no one who can answer this? – Rohit Bhardwaj Jul 12 '13 at 6:43
We are currently implementing resolution independence into LiveCode and this will bring automatic scaling to your applications.
In the mean time, you will have to use one of the following options-
1) Programmatically resize your stack-
http://forums.runrev.com/viewtopic.php?f=8&t=14859
2) Use one of the following 3rd party plugins-
http://buchwald.ca/developer-tools/
http://www.gadgetplugins.com/altplugins/altMobileResizer.rev
-
Is it mean i need to programatically set the size for every screen, and also locations and size of every controls in particular screen with respect to device sizes? – Rohit Bhardwaj Jul 12 '13 at 8:22
-
altMobileResizer seems like to be great thing.But can you help me to install it with my livecode? – Rohit Bhardwaj Jul 12 '13 at 10:14
-
By implementing the method similar to the example in the first link above, you application should automatically scale to any device resolution. This should also include controls – Neil Roger Jul 12 '13 at 10:17
-
this lesson will explain the steps needed to install a 3rd party plugin- lessons.runrev.com/s/lessons/m/4071/l/… – Neil Roger Jul 12 '13 at 10:19
-
I have installed a AltMobileResizer.But i am little worried about images,with resizing the images blurred.It looses its actual grace.How can i get rid of this problem? – Rohit Bhardwaj Jul 13 '13 at 5:44
LiveCode 6.5 included a fullscreenMode property. This will scale an app to fit any screen size. You simply create your app at whatever size suits you as a developer and then add the following to your preOpenStack handler:
on preOpenStack
set the fullscreenMode to "exactFit"
end preOpenStack