codename one open app with a button
<p>I am confused on how use the buttons. I open the theme designer and create the button, then on the commands i choose the action execute and go to the Source (saving before)</p>

<p>On the code I have this method, on the simulator do nothing and in the device neither (on the simulator start an Open file window, i am using w7)</p>

<pre><code> @Override
protected boolean onMainCommand105() {

    try {
        Display.getInstance().execute("fb://profile/14846274855890");
    } catch (Exception e) {
        Dialog.show("Error!", "Failed to start.  installed?", "OK", null);
        e.printStackTrace();
    }
    return true;
}
</code></pre>

<p>is this the correct way?</p>