Waydroid Passthrough Browser - Open links in host browser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Samuel Sloniker 11ab0f695b . 2 years ago
LICENSE Initial commit 2 years ago
PassThroughBrowser.aia . 2 years ago
PassThroughBrowser.apk . 2 years ago
README.md . 2 years ago
install_both.sh . 2 years ago
install_client.sh . 2 years ago
install_server.sh . 2 years ago
server.py . 2 years ago

README.md

passthroughbrowser

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.

Installation

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.

Credits

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