es.ucm.look.locationProviderWifi
Class WifiService

java.lang.Object
  extended by Service
      extended by es.ucm.look.locationProviderWifi.WifiService

public class WifiService
extends Service

Location Service implemented as Android Service.


Nested Class Summary
 class WifiService.ServicioBinder
          Service binder class.
 
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
          Nunmber of scans for each measurement.
 int NOTIFICATION
          Unique identification number for the notification.
 
Constructor Summary
WifiService()
           
 
Method Summary
 Lugar getPosicion()
           
 IBinder onBind(Intent arg0)
           
 void onCreate()
           
 void onDestroy()
           
 int onStartCommand(Intent intent, int flags, int startId)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APS

public static final java.lang.String APS
Access points file.

See Also:
Constant Field Values

ENTRENAMIENTO

public static final java.lang.String ENTRENAMIENTO
Fingerprints file.

See Also:
Constant Field Values

LOG

public static final boolean LOG
Whether to enable logging or not.

See Also:
Constant Field Values

LOG_FILE

public static final java.lang.String LOG_FILE
Log file.

See Also:
Constant Field Values

MAX_COUNT

public static final int MAX_COUNT
Nunmber of scans for each measurement.

See Also:
Constant Field Values

NOTIFICATION

public int NOTIFICATION
Unique identification number for the notification.

Constructor Detail

WifiService

public WifiService()
Method Detail

getPosicion

public Lugar getPosicion()

onBind

public IBinder onBind(Intent arg0)

onCreate

public void onCreate()

onDestroy

public void onDestroy()

onStartCommand

public int onStartCommand(Intent intent,
                          int flags,
                          int startId)

start

public void start()

stop

public void stop()