开发者

Scroll webView with volume keys Part II

Related to the thread: Scroll webView with volume keys

How 开发者_开发百科can I implement this as a class (or a short-hand way) so it can be used for all WebViews w/o having to rewrite over and over again for each WebView? The nxt WebView id's are "webPg02", "webPg03", and so on... All nested within my VeiwFlipper with id "AC4313".

I'm sure this is really basic but once again thanks for helping this Android nooB!


Implement onKeyDown() in your activity and apply the button presses to the current WebView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜