org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-814031D6-BCE6-4536-845E-C5A54EC7A881.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 15 Jul 2010 10:08:51 -0700
changeset 450 ed815e0eef9a
parent 229 716254ccbcc0
permissions -rw-r--r--
Bug 3268 - Debugger does not start on Windows XP


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="signalbars"/><meta name="DC.Relation" scheme="URI" content="GUID-9E8CBB8A-E918-4208-9F11-D2147A98EC4F"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-1A678A11-0BDD-4F64-9F40-013F6CDB81D7"/><meta name="DC.Relation" scheme="URI" content="GUID-92D6E2DB-8BAF-4710-AB23-C16F7DE917CA"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-814031D6-BCE6-4536-845E-C5A54EC7A881"/><title>signalbars </title><script type="text/javascript">
      function initPage() {}
    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-814031D6-BCE6-4536-845E-C5A54EC7A881">signalbars</h1><div>
<p><strong>Syntax:</strong></p>
<pre class="codeblock" id="GUID-D46C97E7-7C36-499F-A439-9DD3F83CC4A7">[int] sysinfo.signalbars;</pre>
<p><strong>Description:</strong></p>
<p>This is a read-only property that returns an integer indicating the network signal strength.</p>
<p>The returned value is in the range of 0 to 7, where 0 represents no signal and 7 represents the maximum signal strength.</p>
<p>For more information on network connection related aspects that you should take into account in your widget, see <a href="GUID-C158B834-9FF8-47C1-B2B5-BA154EBFA8BC.html#GUID-C158B834-9FF8-47C1-B2B5-BA154EBFA8BC">Dealing with network issues</a>.</p>
<p><strong>Example code:</strong></p>
<pre class="codeblock" id="GUID-1417389E-923A-44EE-90AC-EB4D54A1080C">// Retrieve the current signal strength
var signalStrength = sysinfo.signalbars;</pre>
<pre class="codeblock" id="GUID-654A5340-5EC4-4C2E-A769-FE824718047C">if (signalStrength == 0)
alert("No network signal!");</pre>
</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>