//Called if the app starts function OnStart() { app.LoadScript("Fontawesomepicker.js"); //create a layout lay = app.CreateLayout("linear", "VCenter, FillXY"); //create a textedit edt = app.CreateTextEdit("", 0.8, -1); //add it to the layout     lay.AddChild(edt); //create a button to call the picker btn = app.CreateButton("Call Picker", 0.8, -1); btn.SetOnTouch(btn_OnTouch); //add it to the layout lay.AddChild(btn); //add the layout to the app app.AddLayout(lay); } //Called if the button is touched function btn_OnTouch(control) { //write the textedit name to the new picker //to get the result in it fapick = new Fontawesomepicker(edt); fapick.Show(); }