iOS : restarting the Omnis app
Andy Hilton
andyh at totallybrilliant.com
Wed Dec 15 14:27:38 EST 2010
Dan
Sounds like you are talking about restarting a Windows PC ??
I am specifically talking about the iOS Omnis app on an iOS platform (so iPhone or iPad) at this point - although I can certainly see uses for your component elsewhere :)
Andy
On Dec 15, 2010, at 1:44 PM, Dan Horner wrote:
> Yes Andy,
>
> I will send you a copy as soon as I get one. Today if possible tomorrow at
> the latest. It is named SysPath. I wrote it a long time ago so it is well
> field tested. It returns the path to the Windows System Directory or the
> System32 Directory. SysPath also provides the ability to set the system
> time, and to shutdown or restart the computer.
> Regards,
> Dan
>
> On Wed, Dec 15, 2010 at 11:21 AM, Andy Hilton <andyh at totallybrilliant.com>wrote:
>
>> Dan
>>
>> That sounds like a great idea - could I get a copy of that external ?
>>
>> Andy
>>
>> On Dec 15, 2010, at 1:14 PM, Dan Horner wrote:
>>
>>> Hi Andy,
>>>
>>> If you would like to do this programmatically there is an external that
>>> Directline Technologies offers that you can use to do to restart the
>> machine
>>> as well.
>>>
>>> Dan
>>>
>>> On Wed, Dec 15, 2010 at 11:11 AM, Andy Hilton <
>> andyh at totallybrilliant.com>wrote:
>>>
>>>> Ray
>>>>
>>>> Excellent and very informative - thanks for posting that link !
>>>>
>>>> Andy
>>>>
>>>> On Dec 15, 2010, at 12:29 PM, Raymond W. Treß wrote:
>>>>
>>>>> Hi $iPhoners,
>>>>>
>>>>> I published extracts of my EUROMNIS 2010 iOS sessions, may be you'll
>>>> find the one or other hint :
>>>>>
>>>>> http://www.raymondtress.com/Services/Services/RaysSessions2010.html
>>>>>
>>>>> $regs ray
>>>>>
>>>>>
>>>>> Am 15.12.2010 um 16:27 schrieb Andy Hilton:
>>>>>
>>>>>> Also seen how to restart the Omnis app on the device - this *was* in
>> an
>>>> email from Ben Butler on Nov 29th - I had forgotten about it till now !
>>>>>>
>>>>>> Double clicking the Home button shows all running apps with a red
>> minus
>>>> symbol that you can use to kill the process - which obviously then
>> allows it
>>>> to restart cleanly next time you open that app......
>>>>>>
>>>>>> So for Omnis, switching between Design mode and non-Design mode
>> requires
>>>> the app to restart......
>>>>>>
>>>>>> Cheers Ben !
>>>>>>
>>>>>> Andy
>>>>>>
>>>>>> On Dec 15, 2010, at 9:47 AM, Andy Hilton wrote:
>>>>>>
>>>>>>> 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_____________________________________________________________
>>>>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>>>>
>>>>>> _____________________________________________________________
>>>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>>>
>>>>> _____________________________________________________________
>>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list