So I am trying to create a "one button" application that when launched from the launcher will call up the right app and do what it should. So I found this code below.

Enyo for TP 3.0.2

Code:
this.controller.serviceRequest('palm://com.palm.applicationManager', {
  method:  'open',
  parameters: {
    target: "tel://4085556666"
  }
});
Using the tutorials, I figured I had encapsulate it in some sort of "kind" like Flexbox. But that did not work.

So my question is: "how do I launch this without creating a card to run the code from?" When I tried to do it, I get two windows/card. The first is blank and then the other is the dialer. I don't want to have the blank one.