title: Flag Wifi as mobile hotspot based on its name from code
body: <h1>Situation</h1>
  
  <ul>
  <li>I have an android tablet connecting to an onboard unit (OBU) an a car via WiFi.</li>
  <li>The OBU has SIM card providing access to internet.</li>
  <li>The apps on the tablet communicate with server via the internet provided by the OBU.</li>
  <li>So, basically the OBU serves as mobile hotspot for the tablet.</li>
  </ul>
  
  <h1>Problem</h1>
  
  <ul>
  <li>The tablet performs updates that consume lot of data because it thinks it on Wifi</li>
  <li>This leads to depleting of the data limit available to the SIM card</li>
  <li>This leads to failure of the whole solution </li>
  <li>... or extra costs for each additional MB (over the limit) of transferred data</li>
  </ul>
  
  <h1>Facts</h1>
  
  <ul>
  <li>I can prevent automatic updates of normal apps on the tablet via settings in google play</li>
  <li>I can't prevent system updates via the method mentioned in previous point</li>
  <li>I can mark WiFi as mobile hotspot manually which also prevents the system updates</li>
  <li>I read: <a href="http://www.lorier.net/docs/android-metered" rel="nofollow noreferrer">http://www.lorier.net/docs/android-metered</a></li>
  <li>I read: <a href="https://stackoverflow.com/questions/23877476/android-why-connectivitymanager-isactivenetworkmetered-always-returning-true">https://stackoverflow.com/questions/...</a></li>
  </ul>
  
  <h1>Goal</h1>
  
  <ul>
  <li>To flag a Wifi network as mobile hotspot <strong>from android code</strong> based on its SSID</li>
  </ul>
  
  <p><strong>Any ideas?</strong></p>