How to pan a web view in Google Glass

I am working on Google Glass that uses web browsing.

In the standard Google Glass browser, you can place two fingers on the touch panel and move your head to pan the web page. It also imposes a crosshair that can be used to select links.

I'm trying to figure out if there is a way to programmatically enable panning with head control and display a crosshair in a webview? Does anyone come across an api that allows this?

Any help would be greatly appreciated.

+4
source share
3 answers

. , GDK , .

+1

, . WebView . , GestureListener Javascript- loadUrl().

SDK GestureListeners: https://developers.google.com/glass/develop/gdk/input/touch

0

All Articles