title: How to get the coarse location using Wifi or GSM or GPS, whichever is available?
body: <p>My app only needs a <strong>coarse</strong> location service when started up.</p>
  
  <p>In detail, I need the app's rough location so as to provide the users with the shop info nearby.</p>
  
  <p>The location does NOT need to be updated constantly. In addition, coarse localization will be sufficient in this case.</p>
  
  <p><strong>I wish the app to choose GSM, or wifi, or GPS automatically, whichever is available.</strong></p>
  
  <p>The location service should also be <strong>one-time to save phone energy</strong>.</p>
  
  <p>How may I do that?</p>
  
  <p>I have tried using GPS separately. </p>
  
  <p>My problem is I don't know how to stop the constantly-refreshing-location feature of GPS. I don't know how to make the phone select one out of the three methods, either.</p>
  
  <p>Some sample codes or ideas are greatly appreciated.</p>