|
发表于 2016-12-21 14:48:34
|
显示全部楼层
楼主,如果你必须用腾讯WEBVIEW、只是想改提示文字的话,可以去MainActivity里直接修改,,不过还是躲不过启动黑屏而已。
private void createByTencentWebView(){
preferences.set("webview","com.justep.cordova.plugin.engine.tencent.TencentWebViewEngine");
TbsDownloader.needDownload(this.getApplicationContext(), false);
if(QbSdk.isTbsCoreInited()){
startLoadUrl(launchUrl);
}else{
Toast.makeText(this.getApplicationContext(), "正在进行首次启动的初始化,请稍候...",Toast.LENGTH_LONG).show();
new Handler().postDelayed(new Runnable() {
public void run() {
startLoadUrl(launchUrl);
}
}, 3000);
}
} |
|