Xamarin Labs Hybrid Web View not calling callback in some specific android devices -


i have hybrid web view labs calls js , show return... working in emulator , other devices such samsung galaxy s5... in galaxy s2 , on sony xperia not working.... took away code not important

my class:

public class testpage : contentpage {       htmlwebviewsource hwvsource = new htmlwebviewsource();       hybridwebview hwv = new hybridwebview() { verticaloptions = layoutoptions.fillandexpand, horizontaloptions = layoutoptions.fillandexpand };      stacklayout stack = new stacklayout { verticaloptions = layoutoptions.fillandexpand, horizontaloptions = layoutoptions.fillandexpand };       public testpage ()     {            this.hwv.registercallback ("datacallback", jscallback);          //script receives list , call native('datacallback', list); ....     this.hwvsource.html = @"             <!doctype html>                 <html>                     <head>                      <script language=""javascript"">                     native('datacallback', list);                    </script>                     </head>                    </html>";          this.hwv.source = hwvsource;           stack.children.add(activityindicator);         stack.children.add(hwv);         stack.children.add(listview);          this.content = stack;          this.hwv.loadfinished += (object sender, eventargs e) =>         {              this.hwv.isvisible = false;         };         }       private void jscallback(string result){         displayalert ("callback", result, "ok");      }   } 

my application output it:

[trace] error opening trace file: no such file or directory (2) [monodroid] trying load sgen from: /data/app-lib/app.droid-1/libmonosgen-2.0.so [monodroid-gc] gref gc threshold: 46080 [libegl] loaded /system/lib/egl/libegl_mali.so [libegl] loaded /system/lib/egl/libglesv1_cm_mali.so [libegl] loaded /system/lib/egl/libglesv2_mali.so [] device driver api match [] device driver api version: 17 [] user space api version: 17  [] mali: revision=linux-r3p1-01rel1 build_date=tue jul  2 15:06:24 kst 2013  [openglrenderer] enabling debug mode 0 [spannablestringbuilder] span_exclusive_exclusive spans cannot have 0 length [spannablestringbuilder] span_exclusive_exclusive spans cannot have 0 length [spannablestringbuilder] span_exclusive_exclusive spans cannot have 0 length [spannablestringbuilder] span_exclusive_exclusive spans cannot have 0 length [iinputconnectionwrapper] clearmetakeystates on inactive inputconnection [iinputconnectionwrapper] getextractedtext on inactive inputconnection [iinputconnectionwrapper] gettextbeforecursor on inactive inputconnection [iinputconnectionwrapper] getselectedtext on inactive inputconnection [iinputconnectionwrapper] gettextaftercursor on inactive inputconnection [libc] protoent* getprotobyname(char const*)(3) not implemented on android [libc] protoent* getprotobyname(char const*)(3) not implemented on android [libc] protoent* getprotobyname(char const*)(3) not implemented on android [choreographer] skipped 32 frames!  application may doing work on main thread. [dalvikvm-heap] grow heap (frag case) 11.443mb 5760016-byte allocation location viewmodel messaging *****here***** [tilesmanager] starting tg #0, 0x528e53f8 [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [picturepilelayercontent] warning: painting picturepile without content! [webcore] skip viewsizechanged w 0 

how said works fine in other devices s2

any idea be?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -