Developing Toldor sidur app, I met strange behaviour on some devices with Android 4+. Affected devices: Samsung Galaxy s3 Samsung Galaxy tab. The problem was that webview did not fit actual screen size and was extended out of screen from right and bottom. fix is very simple: set the following settings to your webview: webView.setPadding(0,… Continue reading android: webview doesn’t fit screen size on Android 4+
Tag: samsung
android: get location from GPS and mobile stations
I was working on a project, where I need to detect location of the device. User needs to tap a button in configuration page and location should be detected. Detection only by GPS didn’t work on some Samsung devices. Pretty annoying problem, I should say. So, I added some other methods to get coarse location… Continue reading android: get location from GPS and mobile stations
How to copy files to Samsung Galaxy II tab from Linux via USB
I got so used to simple friendship of Linux and Android powered devices in my home, that I was pretty shocked, that Samsung Galaxy II Tab doesn’t allow me simply to copy files to the device. But after some investigation I found that it is not only Samsung’s problem. Samsung Galaxy II tab uses MTP… Continue reading How to copy files to Samsung Galaxy II tab from Linux via USB