File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Force location by network" Watch "Force location by network" New topic

Force location by network

Razvan Cotty

Joined: Feb 10, 2012
Posts: 2
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.
I agree. Here's the link:
subject: Force location by network
It's not a secret anymore!