Auto Launch Webpages full screen on Android

While waiting for Amazon to get round to reviewing my Node-RED Alexa Smart Home Skill I’ve needed something to hack on.

I’ve been keeping an eye on what folk have been doing with Node-RED Dashboard and a common use case keeps coming up. That is running the UI on a Android tablet mounted on a wall as a way to keep track of and control things around the house. This got me thinking about how to set something like this up.

Icon

For the best results you really want to run this totally full screen, there are ways to get this to happen with Chrome, but it’s a bit convoluted. Sure you can add it as a shortcut on the home screen but I thought there had to be a easier/better way.

So I started to have a bit of a play and came up with a new app. It’s basically just a full screen Activity with a WebView, with a few of extra features.

Settings
Settings
  • Set URL – Pick a URL to load when the phone boots, or the app is launched.
  • Launch on boot – The app can be configured to start up as soon as the phone finishes booting.
  • Take Screen Lock – This prevents the screen from powering off or locking so the page is always visible.

You can change the URL by swiping from the left hand edge of the screen, this will cause the action bar to appear, from this you can select “Settings”.

Set URL to Load
Set URL to Load

The app is in the Google Play store here, the code is on Github here

3 thoughts on “Auto Launch Webpages full screen on Android”

  1. Hi Ben. Your app freezes with a screen filled with blue color if i set the url to the one of my local node red server http://192.168.2.8:1880/ui/. Unfortunately, afterwards i cant get the settings dialog back without reinstalling the app. Many other WebView apps from the android store worked fine with the url.

    But all apps together have a big issue for me. Using the apps with my smartphone i cant scroll down the dashboard ui. Cant figure out wether to blame the android webview feature or the node red dashboard plugin. Maybe you are aware of a fix for me?

    Wondering, why the interest in the hole wide web isnt bigger to control the node red dashboard comfortable from a smartphone. Nevertheless, thanx for your app. :)

    1. I’ve pushed a fix for this to the Google Play Store today, the scrolling seams to work as well

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>