Waydroid Passthrough Browser - Open links in host browser
Go to file
2022-07-04 13:33:12 -07:00
install_both.sh . 2022-07-04 13:33:12 -07:00
install_client.sh . 2022-07-04 13:33:12 -07:00
install_server.sh . 2022-07-04 13:33:12 -07:00
LICENSE Initial commit 2022-07-04 12:56:44 -07:00
PassThroughBrowser.aia . 2022-07-04 13:33:12 -07:00
PassThroughBrowser.apk . 2022-07-04 13:33:12 -07:00
README.md . 2022-07-04 13:33:12 -07:00
server.py . 2022-07-04 13:33:12 -07:00


Waydroid Passthrough Browser - Open links in host browser

Passthrough Browser has two components --- a server and a client. The server is a Python program written with Flask, while the client is an Android app written using MIT App Inventor. The server listens for HTTP POST connections on TCP port 8888 on an IP address only accessible to programs running on the host or in the Waydroid container. When it receives a properly formatted request, it opens the host's browser to the URL specified in the request. The client, when installed in Waydroid, is intended to be set as the default browser. After this is done, whenever an Android app attempts to open a Web page, it will open the Passthrough Browser client just as it would launch any other browser. The client then sends the URL to the server, which causes the host browser to open.


Run ./install_both.sh. (Make sure Waydroid is running first.) Installing the client requires running a command as root; the script uses sudo. You may need to enter your password during installation.


The client app uses the CustomWebView (beta version) App Inventor extension by Sunny Gupta. CustomWebView is used under the MIT licese.