Hi, About GeckoView, I list some problems that I have met here, any further information will be appreciated.
1. Disable the zooming feature in GeckoView mentioned by Wesley,but it not work. 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. 2. About GeckoView init and instance problem. I have integrated the GeckoView[1] to our StepActivity.When I press back and start the StepActivity again,it will crash. But if I call the geckoview.destroy() in onDestroy,and start the StepActivity again,it will not crash,but just blank if (null != geckoView){ ((ViewGroup)geckoView.getParent()).removeView(geckoView); geckoView.removeAllViews(); geckoView.destroy(); geckoView = null; } 3. On Sony tablet SGP341,4.1.2. it can't show the video graph,but just has the video sound I test the html5 video[1] both on GeckoView and Fennec Firefox on tablet device Sony SGP341,4.1.2. it can't show the video graph,but has the video sound [1] html5 video demo: http://www.w3.org/2010/05/video/mediaevents.html On Fri, Oct 25, 2013 at 3:20 PM, Jianqing Peng <[email protected]>wrote: > > Hi, > > I test the html5 video[1] both on GeckoView and Fennec Firefox on tablet > device Sony SGP341,4.1.2. it can't show the video graph,but has the video > sound > > > [1] html5 video demo: http://www.w3.org/2010/05/video/mediaevents.html > > > > > On Wed, Oct 23, 2013 at 11:44 PM, Nick Alexander > <[email protected]>wrote: > >> 2.And I see the following exception,it seems it is not related with the >>> crash.And I don't know what it is. Why it need the permission related >>> with the Fennec? >>> >>> E/DatabaseUtils(13655): Writing exception to parcel >>> E/DatabaseUtils(13655): java.lang.SecurityException: Permission Denial: >>> writing org.mozilla.gecko.db.**BrowserProvider uri >>> content://org.mozilla.fennec_**pengjianqing.db.browser/** >>> thumbnails?profile=default >>> from pid=29916, uid=10138 requires >>> org.mozilla.fennec_**pengjianqing.permissions.**BROWSER_PROVIDER, or >>> grantUriPermission() >>> E/DatabaseUtils(13655): at >>> android.content.**ContentProvider$Transport.**enforceWritePermission(** >>> ContentProvider.java:393) >>> E/DatabaseUtils(13655): at >>> android.content.**ContentProvider$Transport.** >>> update(ContentProvider.java:**234) >>> E/DatabaseUtils(13655): at >>> android.content.**ContentProviderNative.**onTransact(** >>> ContentProviderNative.java:**203) >>> E/DatabaseUtils(13655): at android.os.Binder.** >>> execTransact(Binder.java:367) >>> E/DatabaseUtils(13655): at dalvik.system.NativeStart.run(**Native >>> Method) >>> >> >> You need to declare a number of permissions in your project's >> AndroidManifest.xml. See http://mxr.mozilla.org/** >> mozilla-central/source/mobile/**android/base/AndroidManifest.**xml.in#295<http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#295> >> . >> >> It is possible that you will need to declare a sharedUserId, but I doubt >> it and we can investigate that if and when it happens. >> >> Nick >> >> ______________________________**_________________ >> mobile-firefox-dev mailing list >> [email protected] >> https://mail.mozilla.org/**listinfo/mobile-firefox-dev<https://mail.mozilla.org/listinfo/mobile-firefox-dev> >> > > > > -- > http://pjq.me > -- http://pjq.me
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

