Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Delphi KIOSK mode (https://www.delphipraxis.net/193901-kiosk-mode.html)

danten 20. Sep 2017 22:16

KIOSK mode
 
Hello,
how to create KIOSK mode for android application.

Please sample the code.

Thank you

Rollo62 21. Sep 2017 07:50

AW: KIOSK mode
 
Maybe this will help you.

Would be good to see your comments on how things are going ...
This tutorial seems very much complete, but maybe there have been some changes inbetween.

What tablets are you going to use ?

Rollo

danten 21. Sep 2017 08:40

AW: KIOSK mode
 
Thanks,
tablet: Acer Iconia One 10 16GB Red

It only works in vhHardwareBack.

Delphi-Quellcode:
if (Key = vkMenu) or (Key = sgiUpRightLong) or (Key = vkHardwareBack) or (Key = vkVolumeUp) or
     (Key = vkVolumeDown) then
  begin
    TPlatformServices.Current.SupportsPlatformService(IFMXVirtualKeyboardService, IInterface(FService));
    if (FService <> nil) and (TVirtualKeyboardState.Visible in FService.VirtualKeyBoardState) then
    begin
      Exit;
    end else
    begin
      Key := 0;
    end;
  end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:32 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz