Compatibilidade: Web Run-Time em S60 3rd Edition, Feature Pack 2
Para habilitar o uso da API SysInfo é necessário embarcá-la (embed) no documento HTML já que a mesma é implementada como um plugin do browser.
<embed type="application/x-systeminfo-widget" hidden="yes"></embed>
Exemplo em HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <script type="text/javascript" src="api.js" /> <body onload="testapi()"> <embed type="application/x-systeminfo-widget" hidden="yes"></embed> </body> </html>
function testapi() var sysinfo = document.embeds[0]; sysinfo.beep(5000, 900); }