mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
undo the splash screen for now
This commit is contained in:
parent
8ca1804de9
commit
56f0e8e087
@ -227,7 +227,7 @@ PhoneGap.callbacks = {};
|
||||
* @param {String[]} [args] Zero or more arguments to pass to the method
|
||||
*/
|
||||
PhoneGap.exec = function(clazz, action, args) {
|
||||
CommandManager.exec(clazz, action, callbackId, JSON.stringify(args), false);
|
||||
return CommandManager.exec(clazz, action, callbackId, JSON.stringify(args), false);
|
||||
};
|
||||
|
||||
PhoneGap.execAsync = function(success, fail, clazz, action, args) {
|
||||
|
@ -106,9 +106,11 @@ public class DroidGap extends Activity {
|
||||
1.0F));
|
||||
splashScreen.setImageResource(R.drawable.splash);
|
||||
|
||||
root.addView(splashScreen);
|
||||
// root.addView(splashScreen);
|
||||
|
||||
initWebView();
|
||||
|
||||
root.addView(appView);
|
||||
|
||||
setContentView(root);
|
||||
}
|
||||
@ -133,7 +135,8 @@ public class DroidGap extends Activity {
|
||||
|
||||
appView.setInitialScale(100);
|
||||
appView.setVerticalScrollBarEnabled(false);
|
||||
|
||||
appView.requestFocusFromTouch();
|
||||
|
||||
WebSettings settings = appView.getSettings();
|
||||
settings.setJavaScriptEnabled(true);
|
||||
settings.setJavaScriptCanOpenWindowsAutomatically(true);
|
||||
|
Loading…
Reference in New Issue
Block a user