LAAMW : 2 question about WiFi & Internet !! lazarus / 43-Android ---------------------------------------------------------------------- majid.ebru · 2017-03-13 08:24 Hi i create a project whit LAMW. . 1 - how can i detect that the device has WiFi module? . 2 - how can i notice that the device has Internet ? (in windows OS , i use "PING" in cmd) ---------------------------------------------------------------------- Handoko · 2017-03-13 08:41 Have you tried to use the Search feature in this forum? If I remember correctly, this question have already answered. So, you can search for it using the keyword: "LAMW wifi". ---------------------------------------------------------------------- jmpessoa · 2017-03-14 02:00 You can try enable wifi: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TAndroidModule1.AndroidModule1JNIPrompt(Sender: TObject);begin  if not Self.isConnected() then  begin //try wifi    if Self.SetWifiEnabled(True) then      ShowMessage('Wifi is On!');      else      ShowMessage('Please,  try enable some connection...');  end  else  begin     if Self.isConnectedWifi() then  ShowMessage('Wifi is On!');    end;end;  and you can check your connection status: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TAndroidModule1.jButton1Click(Sender: TObject);var  netStatus: TNetworkStatus;begin    netStatus:= Self.GetNetworkStatus();    if netStatus = nsOff then   begin    ShowMessage('Network is Off');    Exit;   end;    if netStatus = nsMobileDataOn then   begin     //ShowMessage(Self.GetDeviceDataMobileIPAddress() );     ShowMessage('Network Mobile Data is On');     Exit;   end;    if netStatus = nsWifiOn then   begin     ShowMessage('Wifi Device IP: ' + Self.GetDeviceWifiIPAddress());     ShowMessage('Wifi Broadcast IP: '  + Self.GetWifiBroadcastIPAddress());   end; end; ---------------------------------------------------------------------- majid.ebru · 2017-03-14 03:46 Thanks . . i want  to know that dose WiFi module exist in the device??