I've got kiosk web view on Raspberry PI with touch screen.
I can't figure out how get touch screen scroll working.
E.g. when i open chrome and navigate to website xyz, I can scroll using drag (pan?) gesture.
When I navigate to website xyz in my kiosk browser using WebKitWebView, I have to catch scrollbar and drag with him to scroll.
I tried google it, tried setting gtk_scrolled_window_set_kinetic_scrolling, "gtk-touchscreen-mode", using GtkScrolledWindow but still not lucky.
Maybe i am missing something...
Has anyone any hint for my solution?
Related
I have an issue where I have a hidden toolbar the drops down with social buttons on it, the VK.com like button being one of them.
It refuses to show itself in FireFox. All other browsers work fine however when the bar pulls down there is nothing there in FF. Does Vkontakte have a force load / render like Facebook and Google do where you can programmatically trigger the render of the like button.
It may be because you have launched video on vkontakte with firefox zoom something other than 1:1. This may result in distorted video player pop-up window size. it is a bitch to fix, since reinstalling firefox and flash player don't do any good.
Launching vk.com videos with different zoom rates, and finally 1:1, seems to fix it.
This may be unrelated to your problem.
I am making a web app for the Android and iPhone that has a div for content. I can update the div programmatically and have it scroll down but I can't scroll using just my finger.
You can see it here: http://crosswordcoach.appspot.com/poc
Type in "Cookie firs" and then select that clue (obviously there are other bugs to work out!) and it will have enough hints to fill the screen. With Chrome on a PC it works correctly and the list becomes scrollable if it is too big for the screen. On the iPhone and Android it does not.
Does anyone know what the deal is? Thanks!
iPhones cannot scroll absolute positioned divs by default, I believe.
iScroll might help.
I have a Tab Bar application and in there I have a Navigation Bar going back and forth between 2 views with a back button (1st view - home, 2nd view - google map website link). On the second view, when I implemented a UIWebView and gave it a google map url of my company's location, when I ran it in iOS Simulation, it ran the google map application in the UIWebView, but the problem is that in the bottom left corner, the zoom in button is showing, but the zoom out button is hiding 2/3 if the button image, so I was wondering how can I adjust the UIWebView screen size to fit in with the UINavigationController? Hope someone can help and please let me know if you do not understand my question
*I posted a picture to show you on my iOS simulator what I'm talking about, the botton left corner is where my zoom out is not fully showing
Why don't you use the MKMapView and display the Google map directly? Showing the Google maps web site seems rather strange to me, because using the native map view is way nicer and you have more control.
I would like to get tap to focus in my app and the controls are hidden
Supposedly this is impossible but I know its not. I have a simple iAD dragged into an overlay, no code or anything. When I click on the iAD nothing. but when I close it with the home button I get a modal exit of the nonexistant iAD and the camera apps relaunches but in the top left with only a small portion viewable. But this time the tap to focus is enabled.
So how can I do this without the bug?
Thanks!
Guess no one got it? I just showed the controls to take a snap and zoom and focus came up!
I am developing phonegap app in iphone,after successfully viewing pdf file
(from server) on new HTML page,the vertical scrollbar get disable ,even i get back to the
list page ,the list does not get scroll,this happen only if i run the app directly in
simulator (not from xcode),any one know ,how to resolve this issue.
thanks in advance.
regards,
mayur
To display pdf in phonegap, have lots of trouble, but best solution so far,is to used ChildBrowser Plugin for phonegap here is the link-
https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser
this will help you to call child native uiwebview in your application(only for iphone), so you can easily enjoy pinch zoom feature, even the app scrollbar does not get disable,
it works fine!