Thanks for your replay After patch the geckoview-force-profile.txt file,I can run GeckoView on the 4.1 device.
I have some questions about GeckoView usage: 1. Can I disable the zoom in/out feature? Because in the embedded WebView,we don't want the user can zoom in/out. 2. Can I disable the rebound effect? Because we don't want the user can pull down the web page. 3. Can I override the load url process like the Android WebView's shouldOverrideUrlLoading<http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String)>(WebView<http://developer.android.com/reference/android/webkit/WebView.html> view, String <http://developer.android.com/reference/java/lang/String.html> url)? Then we can handle the loading process in the native application. On Thu, Oct 17, 2013 at 5:41 AM, Mark Finkle <[email protected]> wrote: > I managed to get two bug fixes landed: > https://bugzilla.mozilla.org/show_bug.cgi?id=927451 (GeckoView profile > folder is not created) > https://bugzilla.mozilla.org/show_bug.cgi?id=927253 (NPE in > GeckoNetworkManager) > > With these two fixes, I am able to run my GeckoView demo app on Android > 2.3, 3.0 and 4.2 devices. I am still having trouble getting things to work > on Android 4.3 devices, but that seems like a separate bug, being tracked > in: > https://bugzilla.mozilla.org/show_bug.cgi?id=921792 > > ------------------------------ > > Jianqing and Michal > > I am in the same situation. I can get GeckoView demos to build and launch > fine, but no HTML content is ever loaded. I tested this on several devices, > with different Android versions. The result are the same. I do see the same > error as Michal describes, but this happens after the Idle handlers are > called and is not the real problem. > > I am tracking the problem in this bgu: > https://bugzilla.mozilla.org/show_bug.cgi?id=921792 > > > ------------------------------ > > @Finkle, > > Yes,I patched the three patches(Just use the following patch order is > works) > patch -p1 <../patch/geckoview-chrome-a.txt > patch -p1 <../patch/geckoview-browser-api.txt > patch -p1 <../patch/geckoview-content-a.txt > > Unfortunately,it can't load the url. > I have see you comments at here > https://bugzilla.mozilla.org/show_bug.cgi?id=921792 > > Looking forward you can resolve this problem as soon as possible > > Thanks, > > > > On Mon, Oct 14, 2013 at 7:51 PM, Mark Finkle <[email protected]> wrote: > >> The patches necessary for GeckoViewChrome and GeckoViewContent, as well >> as the new GeckoView API, have not landed yet. Follow these bugs: >> https://bugzilla.mozilla.org/show_bug.cgi?id=880119 >> https://bugzilla.mozilla.org/show_bug.cgi?id=880121 >> https://bugzilla.mozilla.org/show_bug.cgi?id=880123 >> >> >> ------------------------------ >> >> >> I know you have add the GeckoViewChrome for the onReady callback. >> And I download the releases-mozilla-central,compile the geckoview_library. >> But I can't find the GeckoViewChrome. >> I don't know whether exist any mistake for me or I have use the wrong >> codebase >> >> Also I want to compile the GeckoView for testing and do some hack for the >> protype product development if possible(Because it still has the res id >> problem when I use gradle build script.) >> >> >> >> On Mon, Sep 30, 2013 at 10:43 AM, Mark Finkle <[email protected]>wrote: >> >>> >>> >>> ------------------------------ >>> >>> I still have some questions about GeckoView: >>> 1. Does it support load the local html file,such as:file:///sdcard/1.html >>> >>> Yes, this should work. It works with Firefox too. >>> >>> 2.Does it support JavaScript interactive with the Android native java >>> code,from JS to Android,and Android to JS. >>> >>> Limited. It definitely does not support the WebView way of doing it. We >>> need to explore options to make this easier. >>> >>> 3.Do you have any roadmap of GeckoView,so we can have some further >>> investigate about it. >>> >>> We have no formal roadmap for GeckoView, but we have a project page with >>> some information: >>> https://wiki.mozilla.org/Mobile/Projects/GeckoWebView >>> >>> >> >> >> -- >> http://pjq.me >> >> >> > > > -- > http://pjq.me > > > > -- http://pjq.me
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

