Force application in aeroplane mode lazarus / 43-Android ---------------------------------------------------------------------- Packs · 2023-07-01 18:07 How to make device in aeroplane mode when ever user open application ---------------------------------------------------------------------- Packs · 2023-07-03 12:45 Please help me ---------------------------------------------------------------------- jmpessoa · 2023-07-03 23:37 You can't !!! But you can  check if the Airplane Mode is turned on/off 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.Button1Click(Sender: TObject);begin  if Self.GetSettingsSystemInt('airplane_mode_on') = 1 then  begin      ShowMessage('Airplane mode is On!');   end;end; ---------------------------------------------------------------------- Packs · 2023-07-04 01:32 Thanks. This will help me ---------------------------------------------------------------------- KodeZwerg · 2023-07-04 11:18 Quote from: jmpessoa on July 04, 2023, 01:37:27 am You can't !!! But you can  check if the Airplane Mode is turned on/off 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.Button1Click(Sender: TObject);begin  if Self.GetSettingsSystemInt('airplane_mode_on') = 1 then  begin      ShowMessage('Airplane mode is On!');   end;end;  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 //Shouldnt it be if Self.GetSettingsSystemInt('airplane_mode_on') <> 0 then