0

This is my first Android project using Java and XML. (Which has been a process)

I'm having problems extending my LauncherActivity to display an Offline-Screen

I have been following Offline-First Trusted Web Activities

When this didn't work I followed some other Stackoverflows Taking users to offline activity | No internet Layout

I noticed the key elements for this to work.

  1. adding user network perms to Mani fest.
  2. calling the new offline activity extend the Launcher Activity | Java file.
  3. registering offline activity in the Mani fest.
  4. Error handling | Java file
  5. adding helpers ConnectivityManager / rendering Layout activity | Java file & XML

when I run the build - I still get the Dinosaur.

I used the code demo from - Chrome Dev as referenced above and followed up by using code from Offline First Demo

Toushirou
  • 1
  • 3

0 Answers0