How to start WebEngine Apps with Android SDL - CustomSDL/sdl_android_launcher GitHub Wiki
Note: Emulator should already be started at this point. HMI should be started and connected according to guide at this step.
Make sure you have started deploy server from sdl_hmi
folder: ./deploy_server.sh
- First of all, locate ADB tool which is by default in your SDK folder:
Android/Sdk/platform-tools
- Run the following command from terminal:
./adb forward tcp:2020 tcp:2020
This will redirect TCP port 2020 from your host machine to 2020 port of your emulated device. Port 2020 is default port for connection with WebEngine applications.
- Open your WebHMI, go to apps menu and click App Store. Click on
Hello WebEngine
app in the list:
- Set
"enabled"
property totrue
:
- Return to app list menu, click on
Hello WebEngine
app which should be highlighted with yellow font on the menu:
- Note that by default "SDL port" is 2020, because this port is used for connection with WebEngine apps. In the popup window, just click Activate App:
- Application should be launched at this point: