title: Locating GSM Cell information for any android device Using AT Commands
body: <p>I would like to retrieve  Network information from any Android device.</p>
  
  <p>I know i could use it as a modem (when connected to a PC) and then call <code>AT+KCELL</code> which is exactly what i need - yet i have no idea how to do this while a user isn't operating (IE the device is on but not in any use like telephoning or browsing)
  the device. </p>
  
  <p>Is this at all possible, the aim is to triangulate my location.</p>
  
  <p>Thanks</p>
  
  <p>Aiden</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>&lt;scan time="20120729232941" distance="50.175018457421366" &gt;
      &lt;gps time="20120729232922" lng="34.9510156" lat="50.49416856" alt="137.60000610351563"         hdg="308.5" spe="16.25" accuracy="4.2426405" /&gt;
      &lt;gsmserving mcc="255" mnc="03" lac="53100" id="8512" ss="-93" act="EDGE" rxlev="10" /&gt;
      &lt;gsmneighbour mcc="255" mnc="03" lac="53100" id="513" psc="-1" rxlev="16" act="EDGE" /&gt;
      &lt;gsmneighbour mcc="255" mnc="03" lac="53100" id="122" psc="-1" rxlev="14" act="EDGE" /&gt;
      &lt;gsmneighbour mcc="255" mnc="03" lac="53100" id="121" psc="-1" rxlev="17" act="EDGE" /&gt;
      &lt;gsmneighbour mcc="255" mnc="03" lac="53100" id="8513" psc="-1" rxlev="10" act="EDGE" /&gt;
  &lt;/scan&gt;
  </code></pre>
  
  <p>So that i can extract signal strenth and neighboring towers/cells.</p>
  
  <p>An application on the Market/Play Store which found a way to do this is "Open Signal"</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I found a simmilar query here: <a href="https://stackoverflow.com/questions/10329877/how-to-properly-triangulate-gsm-cell-towers-to-get-a-location">How to properly triangulate GSM cell towers to get a location?</a></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Finally i got somewhere</p>
  
  <p>Dialling: *#197328640# from my Galaxy SII, under Debug Screen I get all the info i want.</p>
  
  <p><strong>Is there some way to do this programmatically</strong></p>
  
  <p>The GT-I9100 Baseband Processor (BP/CP) Specifications: <a href="http://forum.xda-developers.com/showthread.php?t=1471241" rel="nofollow noreferrer">http://forum.xda-developers.com/showthread.php?t=1471241</a></p>