Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
As far as I can see openAppWhenRun is static, and is read and opens the app even before perform() is run (if openAppWhenRun is true that is). In other words, openAppWhenRun can not be dynamic. Your variable myNumber is always false at the time the App Intent is run so that is why your app never opens.
It would be interesting to see where you set, and changed, the myNumber variable.