Page 1 of 1
Can I force the simulator to open using a device?
Posted: Wed Dec 01, 2010 2:11 pm
by malte
Hi all,
going a bit nuts here. I want to build a project for all iP* devices and try to tackle this mentally. What is a bit enerving, is that the simulator always launches with the iPad as a chosen device and when I then switch to iPhone in the simulator the app is suspended. Is there any way to tell the simulator which device it should launch with?
All the best,
malte
Re: Can I force the simulator to open using a device?
Posted: Wed Dec 01, 2010 11:05 pm
by ctflatt
Malte:
Hello, there! You've helped me out several times, hopefully this will help you.
Before clicking "Start" from the mobile plugin, click the plist button in the mobile app window. Here you set the device before the simulator launches, and can change it on the fly by stopping the simulator, choosing another, then restarting.
Hope this helps you out.
:Todd
Re: Can I force the simulator to open using a device?
Posted: Sat Dec 04, 2010 5:50 pm
by malte
Hi Todd,
thanks for the suggestion, however, if I select all 3 (iPod,Phone and Pad) the dradded simulator always opens in iPad mode.
If I then change the device in the simulator, the app is quit and it starts in the ipad simulator again. grmbl.
Thanks anyway.
Malte
Re: Can I force the simulator to open using a device?
Posted: Sat Dec 04, 2010 6:38 pm
by Klaus
Hi Malte,
yep, same problem here :-/
I got my personal iOS license yesterday and wanted to try the examples with the new native iOS controls, but do not get it to work.
The simulator always opens as iPad, then an iPhone silhouette appears inside of the iPad and the app crashes, but not the simulator.
Switching the device in the simulator works, but only until you start the app again in the Livecode mobile plugin.
Very annoying.
Best
Klaus
Re: Can I force the simulator to open using a device?
Posted: Sat Dec 04, 2010 6:58 pm
by Klaus
I just tested the other two examples "Browser Example.livecode" und"Orientation Example.livecode" and they worked.
But here also an iPhone apperad inside of the initial iPad in the simulator. Looks like this is the way it works?
"Webview" works fine, but you cannot zoom in or out, which makes thi pretty useless, at least at this point
"Scroller example.livecode" shows the afore mentioned problems -> crashes every time.
Best
Klaus
Re: Can I force the simulator to open using a device?
Posted: Sun Dec 05, 2010 12:15 am
by ctflatt
Malte, Klaus, et al.
Prior to iOS 4.2, the iPad's iOS version was 3.2 and below. The standard functionality of apps created for "all three" was to build for iPhone, and the app ran the iPhone size on an iPad (with the 2x toggle button in the lower right corner of the running app's UI).
I believe that prior to iOS 4.2, you had to build two versions targeted to the iPhone/iPod size, and the iPad size.
The mobile plugin doesn't yet support iOS 4.2, which was just released. Perhaps the next release of the plugin will provide that support?
Does this sound correct?
Thanks!
:Todd
Re: Can I force the simulator to open using a device?
Posted: Sun Dec 05, 2010 12:16 am
by ctflatt
Klaus:
Where are these samples you're referring to? I'd like to get my hands on them, if possible.
:Todd
Re: Can I force the simulator to open using a device?
Posted: Sun Dec 05, 2010 2:41 pm
by Klaus
Hi Todd,
sorry, I thought they were in the ZIP file with the latest iOS plug in, but actually they are in the pre-release (RC1) of the upcoming Livecode 4.5.2 distribution.
This should be released in a couple of days.
Until then please forget that I mentioned it
Best
Klaus
Re: Can I force the simulator to open using a device?
Posted: Sun Dec 05, 2010 8:55 pm
by ctflatt
Klaus:
Consider it forgotten, for the time being...
Did you read my response to the thread above that? Any thoughts?
:Todd
Re: Can I force the simulator to open using a device?
Posted: Mon Dec 06, 2010 1:19 pm
by Klaus
Hi Todd,
yes, I read your posting, but I have to admit, that I know too little about the whole iOS stuff (yet) to give any meaningful answer
Best
Klaus
Re: Can I force the simulator to open using a device?
Posted: Mon Dec 06, 2010 10:11 pm
by Klaus
Todd, you can cancel your partly amnesia now
Check menu: "Help" -> "Example Stacks and Resources" in Livecode 4.5.2!
Re: Can I force the simulator to open using a device?
Posted: Wed Dec 08, 2010 3:48 am
by ctflatt
Klaus:
Thanks! Already found it
Have a great week!