public class Connexion
extends java.lang.Object
Attributes :
Constructor and Description |
---|
Connexion()
Constructeur
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_loc()
Send the request for the location
and get the location
stock it in a variable
and convert the giving location to the image scale
|
java.lang.String |
init()
Request database initialization
in order to send the mac adress after it
|
boolean |
selectSSID(android.content.Context cntx,
boolean state_wifi)
Establish the reconnexion to the current wifi SSID
|
java.lang.String |
send_mac(android.content.Context cntx)
get the mac adress from the device
SEnd it to the server
|
public java.lang.String init()
public java.lang.String send_mac(android.content.Context cntx)
public java.lang.String get_loc()
public boolean selectSSID(android.content.Context cntx, boolean state_wifi)
cntx
- The application contextstate_wifi
- Wifi status connected(true) disconnected(false)