This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Force location by network

 
Razvan Cotty
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I want to make an application that uses location services (using JSR_179), but from what I see there is no explicit option to set the location provider. I want it to use the network location by default (not the GPS) because the idea is to get an approximate location and the GPS only gets a position if I'm outside.
Does anyone know how to do that? Some criteria settings perhaps.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic