Hi Wesley,

About the user-scalable,I add it to the html:
<meta name="viewport" content="width=device-width, user-scalable=no,
maximum-scale=1">
But it still can zooming in GeckoView.
Also I test it in the Fennec with the link:
https://addons.mozilla.org/en-us/android/,it works,but in GeckoView,it
doesn't
So maybe the Fennec Browser has something else to handle it,but the single
GeckoView not.




On Thu, Oct 17, 2013 at 11:17 AM, Wesley Johnston <[email protected]>wrote:

> 1.) You can disable zooming in the HTML itself. Just add a metaviewport
> [1] with user-scalable=no.
> 2.) We have the ability to choose between the two now. Long term GeckoView
> should implement ways to get/setOverscrollMode [2]. We'll probably remove
> the bouncy overscroll option in 28 (but I wanted the pref around as a turn
> off for the feature in 27). We could change the default though.
>
> -Wes
>
> [1]
> https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag?redirectlocale=en-US&redirectslug=Mobile%2FViewport_meta_tag
> [2]
> http://developer.android.com/reference/android/view/View.html#setOverScrollMode%28int%29
>
> ----- Original Message -----
> From: "Jianqing Peng" <[email protected]>
> To: "Mark Finkle" <[email protected]>
> Cc: [email protected]
> Sent: Wednesday, October 16, 2013 7:57:03 PM
> Subject: Re: About GeckoView problem
>
> 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 ( WebView view, String 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
>



-- 
http://pjq.me
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to