09-16-2013 04:29 PM
is it possible to start my App normal or in Card mode.
The problem is the invoked Event only gets triggered when my up is invoked. The Event is not triggered when my App is started by clicking on the App Icon.
How can i differentiate between both.
Normally my App starts in the webworksready event.
I can set a global variable in the Invoked EventHandler Function that is saying my App got invoked as Card and read it in the webworksready Eventhandler Function and prevent my App from starting in normal Application mode.
Is this the way to do this? It works but i am not sure if this is the correct way. The first start of the Card is rather slow, after the first start the Card is starting very fast because its pooled. The reason for the slow start could be because the Debugger was also connected to the Card?
My App will be used as Application, but also is usable as Card and is used by itself as Card.
09-20-2013 02:11 PM
Yes, if you attach a debugger it can slow performance down.
Does this sample app that shows how to use cards help?