toni Posted May 28, 2020 Posted May 28, 2020 Hi It is possible to make a call to a phone I have tried with FMSoft \ Framework \ uniGUI \ Demos \ Touch \ PhoneBook and it does not work thanks
x11 Posted May 28, 2020 Posted May 28, 2020 this button works UniSession.AddJS('window.location.href="tel://'+DataSource1.DataSet.FieldByName('Phone_Number').AsString+'"');
toni Posted May 28, 2020 Author Posted May 28, 2020 I'm sorry, but nothing happens pressing the Dial button
x11 Posted November 22, 2020 Posted November 22, 2020 when i tap on a Toolbutton with code UniSession.AddJS('window.location.href="tel://' + sTel + '"') then the dialing window opens (with phone namber), but in the browser the session ends or restarts @Sherzod
Mehmet Emin Posted November 24, 2020 Posted November 24, 2020 Because assigning window.location.href redirects from current uniGUI context. Try one of the approaches from this url https://stackoverflow.com/questions/7554108/javascript-window-location-in-new-tab?lq=1 window.open("tel://' + sTel + '"', '_blank'); 1
Recommended Posts