Knowledge Base WebViewGold for Android How to run JavaScript code from Android Java code? Article sections You can enter this snippet on the desired place in MainActivity.java: webView.loadUrl("javascript:alert('Hello World!')"); Last Updated: 3 years ago in WebViewGold for Android Related Articles Fix the Target SDK 36 Warning by Google in WebViewGold Fix the Google Play Billing 8 Library Warning in WebViewGold How to add OneSignal push notifications to your WebViewGold iOS & Android app How to Get 12 or 20 Google Play Store Testers easily Is Your WebViewGold App Ready for Google Play’s 16 KB Requirement? How to integrate Pushwoosh in WebView-based iOS and Android apps?