Private Sub skbtnHello_Click (event As BANanoEvent)
SKTools.ShowToast("enterieng skbtnHello_Click", "info", 3000, True)
' function name and params are Case Sensitive!
Dim res As String = BANano.CallInlinePHPWait("SayHello", CreateMap("Name": "BANano"))
Log(res)
End Sub
' a simple php method which says hello!
#if PHP
function SayHello($Name) {
$ret = Array("answer" => "Hello " .$Name. "!");
echo json_encode($ret);
}
#End If