0

I created a simple local page that has a square in it and it calls a JavaScript file that has functions which animate that square. It works fine on my computer's web browser, but on my Android browser the square is static and JavaScript file is not loaded. How can I make the animation work on android?

My HTML:

enter image description here

Steve Piercy
  • 13,693
  • 1
  • 44
  • 57

1 Answers1

0

Using a web view you can load an HTML file, and any referenced JavaScript will run.

Checkout the developer docs on WebView! Totally rocks!

https://developer.android.com/reference/android/webkit/WebView.html