@@ -49,7 +49,7 @@ Licensed to the Apache Software Foundation (ASF) under one
49
49
* application. It should be extended by the user to load the specific
50
50
* html file that contains the application.
51
51
*
52
- * As an example:
52
+ * <p> As an example:</p>
53
53
*
54
54
* <pre>
55
55
* package org.apache.cordova.examples;
@@ -68,17 +68,16 @@ Licensed to the Apache Software Foundation (ASF) under one
68
68
* }
69
69
* </pre>
70
70
*
71
- * Cordova xml configuration: Cordova uses a configuration file at
72
- * res/xml/config.xml to specify its settings. See "The config.xml File"
73
- * guide in cordova-docs at http://cordova.apache.org/docs for the documentation
74
- * for the configuration. The use of the set*Property() methods is
75
- * deprecated in favor of the config.xml file.
71
+ * <p>Cordova xml configuration: Cordova uses a configuration file at
72
+ * res/xml/config.xml to specify its settings. See the "Config.xml API" documentation for
73
+ * configuration details at <a href="https://cordova.apache.org/docs">Apache Cordova Docs</a>.</p>
76
74
*
75
+ * <p>The use of the set*Property() methods is deprecated in favor of the config.xml file.</p>
77
76
*/
78
77
public class CordovaActivity extends AppCompatActivity {
79
78
public static String TAG = "CordovaActivity" ;
80
79
81
- // The webview for our app
80
+ // The WebView for our app
82
81
protected CordovaWebView appView ;
83
82
84
83
private static int ACTIVITY_STARTING = 0 ;
@@ -206,7 +205,7 @@ protected void createViews() {
206
205
/**
207
206
* Construct the default web view object.
208
207
* <p/>
209
- * Override this to customize the webview that is used.
208
+ * Override this to customize the WebView that is used.
210
209
*/
211
210
protected CordovaWebView makeWebView () {
212
211
return new CordovaWebViewImpl (makeWebViewEngine ());
@@ -227,7 +226,7 @@ public Object onMessage(String id, Object data) {
227
226
}
228
227
229
228
/**
230
- * Load the url into the webview .
229
+ * Load the url into the WebView .
231
230
*/
232
231
public void loadUrl (String url ) {
233
232
if (appView == null ) {
@@ -250,7 +249,7 @@ protected void onPause() {
250
249
251
250
if (this .appView != null ) {
252
251
// CB-9382 If there is an activity that started for result and main activity is waiting for callback
253
- // result, we shoudn 't stop WebView Javascript timers, as activity for result might be using them
252
+ // result, we shouldn 't stop WebView Javascript timers, as activity for result might be using them
254
253
boolean keepRunning = this .keepRunning || this .cordovaInterface .activityResultCallback != null ;
255
254
this .appView .handlePause (keepRunning );
256
255
}
0 commit comments