Universal App
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Universal App
Does anyone have recommendations / guidelines for building universal (iphone & ipad) apps?
-
- Livecode Opensource Backer
- Posts: 211
- Joined: Sun Oct 24, 2010 12:13 am
Re: Universal App
It sort of looks like no one is touching this topic, so I guess I can give it a try. Here are my thoughts on this topic, because my buddy and I are coding an app right now for iPad primarily but will also release an iPhone/iPod Touch version...
Stack Script - I'm putting the main elements of the program in the stack script - writing out files, all of those types of routines that will be used by both the iPad and the iPhone version. And if we made a Mac or Windows version, the same concept could apply.
Data Card - In our case, we have a card with data fields on it for storing info that the end user does not see. The fields in this card can be called regardless of the screen you're on
Card Designs - Based on a good idea I got from someone here, we're having a separate card for the iPad and the iPhone, where we can do a totally different GUI look. The card level scripts will be specific to that layout. We can, on preOpenStack, determine which device we are on, and based on that, go to the appropriate card and resize the stack to the proper size for that device.
I should point out that the iPad app is almost done, but we have not started building the iPhone card (version.) So once I do that, I'll no doubt learn a lot about what works and what doesn't.
I'm really building my first LiveCode app here, so I'm hardly the expert. But that's our thought process, as it is right now.
Stack Script - I'm putting the main elements of the program in the stack script - writing out files, all of those types of routines that will be used by both the iPad and the iPhone version. And if we made a Mac or Windows version, the same concept could apply.
Data Card - In our case, we have a card with data fields on it for storing info that the end user does not see. The fields in this card can be called regardless of the screen you're on
Card Designs - Based on a good idea I got from someone here, we're having a separate card for the iPad and the iPhone, where we can do a totally different GUI look. The card level scripts will be specific to that layout. We can, on preOpenStack, determine which device we are on, and based on that, go to the appropriate card and resize the stack to the proper size for that device.
I should point out that the iPad app is almost done, but we have not started building the iPhone card (version.) So once I do that, I'll no doubt learn a lot about what works and what doesn't.
I'm really building my first LiveCode app here, so I'm hardly the expert. But that's our thought process, as it is right now.
Re: Universal App
Thanks. That's what I have been trying. However, when I test the platform function, iPhone is returned in the simulator regardless of which hardware type is selected. Have you tried this?