Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView browsing and scrolling is a bit jumpy. #359

Open
Maqsood007 opened this issue Nov 6, 2016 · 11 comments
Open

WebView browsing and scrolling is a bit jumpy. #359

Maqsood007 opened this issue Nov 6, 2016 · 11 comments
Labels

Comments

@Maqsood007
Copy link

I have render android WebView in GVR FrameLayout to load my webpages but its experience is jumpy and scrolling is not smooth. i am unable to read it continuously.

frameLayout = new GVRFrameLayout(this); frameLayout.setBackgroundColor(Color.TRANSPARENT); View.inflate(this, R.layout.activity_irisvision_browser, frameLayout); mWebView = (WebView) frameLayout.findViewById(R.id.webView); if (mWebView != null) { mWebView.loadUrl("http://theirisvision.com/media/", preventCaching); }

And i inflate the Android webview in GVRFrameLayout.

@liaxim
Copy link
Collaborator

liaxim commented Nov 7, 2016

It must be down to the motion events that get dispatched to the WebView. @rahul27 @parthmehta209 any suggestions, ideas?

@rahul27
Copy link
Contributor

rahul27 commented Nov 7, 2016

@parthmehta209 remember you working on interaction with webviews. Did you notice any issues with the performance?

@Maqsood007
Copy link
Author

I was unable to render video frames in webview but now i am simply
displaying web pages but performance is slow in respect of clicking links
and scrolling the web pages.

On Tue, Nov 8, 2016 at 1:36 AM, rahul notifications@github.com wrote:

@parthmehta209 https://github.com/parthmehta209 remember you working on
interaction with webviews. Did you notice any issues with the performance?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#359 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUE33e7psyEe9oKJ6iDqakBnoDNaXSA7ks5q74uxgaJpZM4KqkZM
.

@rahul27
Copy link
Contributor

rahul27 commented Nov 7, 2016

Let me see if I can modify the events sample to test the webview.

@liaxim
Copy link
Collaborator

liaxim commented Nov 7, 2016

@Maqsood007 Do you see any difference with hardware acceleration disabled vs enabled?

@rahul27
Copy link
Contributor

rahul27 commented Nov 7, 2016

@Maqsood007 Could you try the following modified events sample and let me know if you see the same issue:

rahul27@c29636d

Also could you let me know the GPU on your mobile device? You can use the following adb command to print the GPU info:

adb shell dumpsys | grep GLES

@Maqsood007
Copy link
Author

@rahul27 Yes i tried the GVRWebview instead of Android native Webview now its scrolling and clicking is much batter ..Thanks @rahul27 ..

@rahul27
Copy link
Contributor

rahul27 commented Nov 18, 2016

Awesome. Good to hear. Can we close this issue?

@Maqsood007
Copy link
Author

Yes we can close it now... but one thing there is lot of difference between
webview experience and samsung internet... why ? Is samsung works on
different architectue... ???

On Nov 18, 2016 11:40 PM, "rahul" notifications@github.com wrote:

Awesome. Good to hear. Can we close this issue?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#359 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUE33bDrp0CDW-nWgT2OoNBkTc_UlDMQks5q_fEvgaJpZM4KqkZM
.

@thomasflynn
Copy link
Collaborator

Samsung Internet has its own completely custom webview that it uses. It does not use Android's WebView.

@Maqsood007
Copy link
Author

Hmmmm but in android webview we are facing a fatal issue in geervr of
rendering videos... do you experience it ?

On Nov 19, 2016 12:05 AM, "thomasflynn" notifications@github.com wrote:

Samsung Internet has its own completely custom webview that it uses. It
does not use Android's WebView.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#359 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUE33WJmn3jXvBFNlK18S4dt08qzGeZKks5q_fcPgaJpZM4KqkZM
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants