Android 如何在Cordova活动中显示splashScreen
现在,我将使用以下代码继续使用phonegap应用程序的splashScreen:Android 如何在Cordova活动中显示splashScreen,android,cordova,phonegap-plugins,Android,Cordova,Phonegap Plugins,现在,我将使用以下代码继续使用phonegap应用程序的splashScreen: public class MainActivity extends CordovaActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Set by <content src="index
public class MainActivity extends CordovaActivity
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
// Set by <content src="index.html" /> in config.xml
loadUrl(launchUrl);
}
}
config.xml
问题:
splashScreen似乎没有尝试过很多解决方法,但无法修复,任何人都可以帮助我解决此问题
尝试:
CordovaActivity中的setIntegerProperty函数将于2013年7月在3.0中被弃用。那么我们如何使用它呢。只需添加
super.init();
进入主活动它做什么?有参考资料吗?
super.init();