title: Retrieve IMEI number/ sim number/mobile number via mobile browser
body: <p>Following is the scenario:
  I have an web application accessible via mobile browser.
  I need to detect a mobile device IMEI and sim IMSI whenever an user clicks on link in my app page accessible via web browser. This is to track the same device with same SIM and provide him/her next level of access. User cannot be tracked using loginid as there is no user login kind of option in my page.</p>
  
  <p>The question is how to get unique device id/sim id via mobile browser for a specific mobile device.
  For now I am focusing on android based mobile devices. But the target is to make it generic  to devices.</p>
  
  <p>Focus of most of the ideas is, what is the kind of access a browser has over the phone and its app?</p>
  
  <ol>
  <li><p>From a browser link we can open a local app in the following way:</p>
  
  <pre><code>&lt;a href="productcateory://&lt;productid&gt;/&lt;customerid&gt;"&gt;Get Details&lt;/a&gt; 
  </code></pre></li>
  </ol>
  
  <p>here productcateory will uniquely identify a local app and invoke it. But its one way communication. How to get back some response from the point of invocation and populate some hidden form field dynamically.</p>
  
  <ol>
  <li><p>Via webpage scripts we can store some data locally at client machine and retrieve it later. but the scope is limited and it is no way connected to IMEI or IMSI number.</p></li>
  <li><p>Is there a way to get a hook to mobile browser app(remember it's like any other mobile application) from the webpage and get the id details via scripts in my page? </p></li>
  <li><p>Is there any option that html5 provides in this regard? I know there is a localstorage tag in HTML5 and one can store an id in the client location and retrieve it later. But this is limited to the same device and same mobile browser and also this is a different solution to get the imei/imsi number</p></li>
  </ol>
  
  <p>Let me know if there is any other option without asking user to installing a local app or browser plugin on the device?</p>
  
  <p>~inkriti</p>