aspose file tools*
The moose likes Java Micro Edition and the fly likes Force location by network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Force location by network" Watch "Force location by network" New topic
Author

Force location by network

Razvan Cotty
Greenhorn

Joined: Feb 10, 2012
Posts: 2
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.
 
 
subject: Force location by network