找到你要的答案

Q:Disable hardware acceleration Cordova Visual Studio

Q:禁用硬件加速科尔多瓦Visual Studio

I´m having perfomance problems on an Android application built in Cordova with Visual Studio 2013.

I read this questions:

Phonegap - cordova is laggy and slow on android and iOS devices

How do I set a background image on the WebView on Cordova/PhoneGap for Android?

Slow page transitions on Android with hardware acceleration on

and they talk about a file "src/com/.../MyApp.java" for disable hardware acceleration with this line:

super.appView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);

My question is: Where is this file? I´m using Visual Studio 2013, and I can't find it.

Thanks!! Sorry for my english.

我´M在科尔多瓦建立一个Android应用程序在Visual Studio 2013的性能问题。

我读了这个问题:

PhoneGap -科多瓦是在Android和iOS设备的延迟和缓慢

如何设置背景图像在科尔多瓦/ PhoneGap Android WebView?

在Android上缓慢的页面转换硬件加速

和他们谈论一个文件“src / COM /…/ MyApp. java“禁用硬件加速这一行:

超。AppView。setlayertype(webview.layer_type_software,null);

我的问题是:这个文件在哪里?我´M使用Visual Studio 2013,我找不到它。

谢谢!对不起,我的英语。

android  cordova  visual-studio-2013