|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.locationProviderWifi.WifiLocation
public class WifiLocation
Location Service implemented as a thread.
Field Summary | |
---|---|
static java.lang.String |
APS
Access points file. |
static java.lang.String |
ENTRENAMIENTO
Fingerprints file. |
static boolean |
LOG
Whether to enable logging or not. |
static java.lang.String |
LOG_FILE
Log file. |
static int |
MAX_COUNT
Number of scans for each measurement . |
Method Summary | |
---|---|
static WifiLocation |
getInstance()
Returns the service instance |
Lugar |
getPosicion()
Returns the current location |
void |
start(Context context)
Initialize and starts location service. |
void |
stop()
Stops the location service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String APS
public static final java.lang.String ENTRENAMIENTO
public static final boolean LOG
public static final java.lang.String LOG_FILE
public static final int MAX_COUNT
Method Detail |
---|
public static WifiLocation getInstance()
public Lugar getPosicion()
public void start(Context context)
context
- Application context.public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |