title: Android HTTP Request Over Mobile Data
body: <p>In one of my application I need to make HTTP request on 2G/3g/4g only. If device is connected to Wifi and mobile data both, I need to check and make HTTP request over mobile data. I don't want to turn ON/OFF Wifi.</p>
  
  <p>If it can be done via Socket programming where we can transfer the traffic on cellular if both networks are available.</p>
  
  <p>Any sample code or tutorial link will be highly appreciated.</p>