[CB-6644][amazon-fireos]Add a check for webview being null in template code
Added a check and some comments to guide devs.
diff --git a/bin/templates/project/Activity.java b/bin/templates/project/Activity.java
index a515ab0..70f9dc2 100644
--- a/bin/templates/project/Activity.java
+++ b/bin/templates/project/Activity.java
@@ -29,9 +29,17 @@
     {
         super.onCreate(savedInstanceState);
         super.init();
-        // Set by <content src="index.html" /> in config.xml
-        super.loadUrl(Config.getStartUrl());
-        //super.loadUrl("file:///android_asset/www/index.html");
+        
+        /* Check to make sure Amazon WebView library loaded correctly.
+         * For more information, see the Cordova Amazon Fire OS Platform Guide:
+         * http://cordova.apache.org/docs/en/edge/guide_platforms_amazonfireos_index.md.html
+         */
+        if (this.appView != null) {
+            // Set by <content src="index.html" /> in config.xml
+            super.loadUrl(Config.getStartUrl());
+            //super.loadUrl("file:///android_asset/www/index.html");
+
+        }
     }
 }