incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: Use of WebResourceResponse
Date Mon, 02 Jul 2012 15:01:58 GMT
Actually, this is the fix for ? and # on Android 3.x+.  We should have used
reflection on this.

That being said, I haven't see this actually break anything. I'm OK with a
noisy logcat.
On Jul 2, 2012 7:08 AM, "Simon MacDonald" <simon.macdonald@gmail.com> wrote:

> Hey,
>
> When using 1.9.0 on Android on OS version 2.3.6 I get the following logs
> complaining about the lack of WebResourceResponse. That class does not get
> introduced into the SDK until API level 11, so we'll see this on Android
> 2.1 - 2.3. I haven't seen any ill effects of the change but I'm wondering
> if it could mess up the handling of url's with # or ? in them.
>
> /dalvikvm(2233): Could not find method android.webkit.WebView.<init>,
> referenced from method org.apache.cordova.CordovaWebView.<init>
>
> W/dalvikvm(2233): VFY: unable to resolve direct method 325:
> Landroid/webkit/WebView;.<init>
> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
>
> D/dalvikvm(2233): VFY: replacing opcode 0x70 at 0x0001
>
> D/dalvikvm(2233): VFY: dead code 0x0004-0059 in
> Lorg/apache/cordova/CordovaWebView;.<init>
> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
>
> I/CordovaLog(2233): Changing log level to DEBUG(3)
>
> E/dalvikvm(2233): Could not find class
> 'android.webkit.WebResourceResponse', referenced from method
> org.apache.cordova.CordovaWebViewClient.generateWebResourceResponse
>
> W/dalvikvm(2233): VFY: unable to resolve new-instance 126
> (Landroid/webkit/WebResourceResponse;) in
> Lorg/apache/cordova/CordovaWebViewClient;
>
> D/dalvikvm(2233): VFY: replacing opcode 0x22 at 0x0046
>
> W/dalvikvm(2233): VFY: unable to find class referenced in signature
> (Landroid/webkit/WebResourceResponse;)
>
> D/dalvikvm(2233): VFY: dead code 0x0048-004c in
> Lorg/apache/cordova/CordovaWebViewClient;.generateWebResourceResponse
> (Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
>
> W/dalvikvm(2233): VFY: unable to find class referenced in signature
> (Landroid/webkit/WebResourceResponse;)
>
> W/dalvikvm(2233): VFY: unable to find class referenced in signature
> (Landroid/webkit/WebResourceResponse;)
>
> I/dalvikvm(2233): Could not find method
> android.webkit.WebViewClient.shouldInterceptRequest, referenced from method
> org.apache.cordova.CordovaWebViewClient.shouldInterceptRequest
>
> W/dalvikvm(2233): VFY: unable to resolve virtual method 336:
> Landroid/webkit/WebViewClient;.shouldInterceptRequest
>
> (Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
>
> D/dalvikvm(2233): VFY: replacing opcode 0x6f at 0x0015
>
> D/dalvikvm(2233): VFY: dead code 0x0018-0019 in
> Lorg/apache/cordova/CordovaWebViewClient;.shouldInterceptRequest
>
> (Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
>
> D/DroidGap(2233): DroidGap.init()
>
> D/CordovaWebView(2233):
> DroidGap.loadUrl(file:///android_asset/www/index.html, 20000)
>
> D/DroidGap(2233): onMessage(splashscreen,show)
>
> D/dalvikvm(2233): GC_EXTERNAL_ALLOC freed 97K, 52% free 2614K/5379K,
> external 884K/1038K, paused 80ms
>
> D/CordovaWebView(2233): >>> loadUrl(file:///android_asset/www/index.html)
>
> D/PluginManager(2233): init()
>
> D/CordovaWebView(2233): >>> loadUrlNow()
>
> D/CordovaWebView(2233): >>> loadUrlNow()
>
> D/MyService(2233): onStart
>
> D/DroidGap(2233):
> onMessage(onPageStarted,file:///android_asset/www/index.html)
>
>
> Simon Mac Donald
> http://hi.im/simonmacdonald
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message