iOS : restarting the Omnis app

Andy Hilton andyh at totallybrilliant.com
Wed Dec 15 09:47:07 EST 2010


Progress so far :

I have communication going between my iPad simulator and my server - and also between my iPad and my server......

2 small problems which I currently have :

1 - currently when I open my 'Omnis' app on the iPad I don't get anything seen - the only way I can currently work is by doing a ctrl-T on my web server app remote form.....I suspect this is to do with my settings somewhere - just not sure where ! Does anyone know how you get a remote form to automatically 'load' when starting the iOS app on the device ?

2 - now we have multi-taskign entering the picture ! If you time out your connection on the iPad there seems to be a problem in reconnecting currently. A message comes up on the device telling you that you are disconnected and to use the home buttton to quit the app. All of which would be fine - except that in the world of multi-tasking iOS - it doesn't quit the Omnis app, so opening it again simply has you in the exact same spot ! i.e. disconnected......so the question now is : how do you actually force a restart of the Omnis app on the device ?

I am realising that I may not get too many answers as yet so am putting these out as much as a trail for others to follow !!

Oh and another small thing I discovered by accident when trying to get my xcode build on to my iPad :

I was diligently following the manual and created my build app - using the 'Distribution' option as it says to do in the Omnis Whats New 5.1 doc - however I then hit an error in xcode that the executable is signed with invalid entitlements. After a little googling I realised that what this means is that I am currently only signed up to Apple as a development only profile - not with a full distribution profile.....so in this case I have to switch my xcode build to a 'Debug' build - which the Omnis manual says not to do - but it works !

This then probably also explains why the rest of the manual example of using iTunes to sync the 'Omnis' app to the iPad followed the same path (same entitlement error)......but what I did discover - which is a very useful thing - is that if your device is hard wire connected to your mac when you make your build - the build is put straight on to your device as well at the same time - hurrah ! So no need to then sync via iTunes as well - which saves a step....

But hey - I have a remote form working with data passing back and forth so I'm pretty happy so far :)

Andy


More information about the omnisdev-en mailing list