Using PhoneGap Build, with 3.7.0, I was able to successfully use
gap:plugin name="com.kumbe.phonegap.zoom.zoomcontrol"
in the config.xml. However, after switching over to CLI-5.2.0, everything is working (after adding the new whitelistplugin)... except for pinch-zoom.
Here's the list of plugins I am using:
"com.kumbe.phonegap.zoom.zoomcontrol@0..." for android
"com.indigoway.cordova.whitelist.White..." for android
"org.apache.cordova.file@1.3.3" for android
"org.apache.cordova.camera@0.3.6" for android
"org.apache.cordova.geolocation@0.3.12" for android
and here's the tail end of the PhoneGap Build logfile... (note: everything up to this point looks good...)
----------------------------
-compile:
[javac] Compiling 20 source files to /project/bin/classes
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:22: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:51: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:69: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /project/src/org/apache/cordova/file/ContentFilesystem.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
BUILD FAILED
/android-sdk/tools/ant/build.xml:716: The following error occurred while executing this line:
/android-sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.
Total time: 5 seconds
/project/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: ant with args: debug,-f,/project/build.xml
----------------------------
I don't have a local SDK set up to build from sources, so I am relying upon the online PhoneGap Build plugin library for ready-to-use solutions. As noted above, this plugin DID compile (and function in the app) when using 3.7.0, but NOT with CLI-5.2.0.
I've commented out this plugin for now, so that I can continue development using CLI-5.2.0 on PhoneGap Build. But I miss pinch zooming my app... and sometimes I really need to zoom in to see tiny fonts with my old eyes!
Please advise.
much thanks in advance,
-e
gap:plugin name="com.kumbe.phonegap.zoom.zoomcontrol"
in the config.xml. However, after switching over to CLI-5.2.0, everything is working (after adding the new whitelistplugin)... except for pinch-zoom.
Here's the list of plugins I am using:
"com.kumbe.phonegap.zoom.zoomcontrol@0..." for android
"com.indigoway.cordova.whitelist.White..." for android
"org.apache.cordova.file@1.3.3" for android
"org.apache.cordova.camera@0.3.6" for android
"org.apache.cordova.geolocation@0.3.12" for android
and here's the tail end of the PhoneGap Build logfile... (note: everything up to this point looks good...)
----------------------------
-compile:
[javac] Compiling 20 source files to /project/bin/classes
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:22: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:51: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] /project/src/com/kumbe/phonegap/zoom/ZoomControl/ZoomControl.java:69: error: incompatible types
[javac] final WebView webView = this.webView;
[javac] ^
[javac] required: WebView
[javac] found: CordovaWebView
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /project/src/org/apache/cordova/file/ContentFilesystem.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
BUILD FAILED
/android-sdk/tools/ant/build.xml:716: The following error occurred while executing this line:
/android-sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.
Total time: 5 seconds
/project/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: ant with args: debug,-f,/project/build.xml
----------------------------
I don't have a local SDK set up to build from sources, so I am relying upon the online PhoneGap Build plugin library for ready-to-use solutions. As noted above, this plugin DID compile (and function in the app) when using 3.7.0, but NOT with CLI-5.2.0.
I've commented out this plugin for now, so that I can continue development using CLI-5.2.0 on PhoneGap Build. But I miss pinch zooming my app... and sometimes I really need to zoom in to see tiny fonts with my old eyes!
Please advise.
much thanks in advance,
-e




