android-4.4-kitkat

Unable to execute initial Android Wear Hello World App in eclipse

风格不统一 提交于 2019-12-07 04:03:58
问题 After intial Eclipse Luna setup when I try to run the intial Hello World app in the Android Wear emulator, its getting stopped showing "You cannot combine swipe dismissal and the action bar" error in logcat.Please help me to solve this issue. 回答1: I had the same problem yesterday. I solved it by running the application in full screen mode, I do not think this is the best solution, but it worked, although this does not have the action bar. In you onCreate method add this before the

Flexbox isn't working in android web browser in Android 4.4.2

佐手、 提交于 2019-12-07 03:43:25
There's this website I've been working on for a client of mine and I've been working on the mobile layout. I decided to use a flexbox layout for the overall website, but for some odd reason, the stock android web browser for 4.4.2 isn't loading any of my elements that are using flexbox. Chrome for Android loads all my elements using flexbox just fine. I can't be too sure of what's happening, but any help that can be given would be great. All my code is on "hoopactivation.x10.mx" if you use the developer tools. If need be, I can also post my code on here if neccesarry (Which will probably

Text-shadow rendering on Android 4.4.2 bug

本小妞迷上赌 提交于 2019-12-06 21:27:36
we develop and android app that opens a full screen browser and loads some content. this all works fine excepted this little bug: only under 4.4.2 (works fine on 10 devices with 4.2, and also tested on 4.4/5) only the text-shadow css feature drops the shadow on the top of the text box instead of behind the text. it fails in our app, also fails in the default browser, but works fine in Chrome or firefox on the same android stick. as you can see it from the attached screenshot the box shadow works fine. also this issue is related to kernel 3.0.36+ and works fine on (Nexus7 4.4.2 with) 3.4. so as

startActivityForResult not working in Android version 4.4 ( Kitkat version )

拜拜、爱过 提交于 2019-12-06 16:08:06
Through my application the user can choose a file from the filemanager and process the choosen file ( Example: A PDF document ) for other steps like printing or to email. To do this I used the below code to display the intent, from which the user can choose a file from file-manager option. protected void showFileChooser(String title, String type) { Log.i(TAG, "FileChooserActivity showFileChooser(title,type)"); if (TextUtils.isEmpty(title)) title = getString(R.string.select_file); if (TextUtils.isEmpty(type)) type = "*/*"; // Implicitly allow the user to select a particular kind of data final

Translucent StatusBar on kitkat with FrameLayout above the Toolbar and using CoordinatorLayout

微笑、不失礼 提交于 2019-12-06 15:11:55
问题 I was trying to achieve Translucent StatusBar on kitkat with the following FrameLayout and it's working without CoordinatorLayout like this: Layout.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:weightSum="1"> <FrameLayout android:id="@+id/statusbar" android:layout_width="match_parent" android:layout_height="25dp"

converting web view as image in Android 4.4 Web-view not working

点点圈 提交于 2019-12-06 14:24:46
问题 I have an app that uses webview to display D3 charts. Here is an example of an url that I use for charts: http://nvd3.org/livecode/index.html#codemirrorNav I am able to load the charts and taken a screenshot of that chart too.. But here the problem with android 4.4 is that it is not possible to capture the webview along with transparent background. This is my webview <WebView android:id="@+id/chartView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout

Switch off Tap-Highlight-Color on Android 4.4 WebView component

妖精的绣舞 提交于 2019-12-06 11:36:57
We use the css property -webkit-tap-highlight-color: rgba(0, 0, 0, 0); to switch off the border around a touch selection in the WebView. But this seems to no longer work with the new Chromium WebView component in Android 4.4. Anyone an idea how to switch off the tap highlight color in the new WebView component? -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: 0; try using both. 来源: https://stackoverflow.com/questions/19813648/switch-off-tap-highlight-color-on-android-4-4-webview-component

Why can't I open/write from a serial port on Android?

风流意气都作罢 提交于 2019-12-06 10:13:12
问题 I have written an Android app which runs on a custom kernel on Android 4.4 Kitkat device, which uses the Android Serial Port API (https://code.google.com/p/android-serialport-api/) in order to open the serial port "/dev/ttyACM0" which is the port associated with my serial device. The port has the proper "666" permissions (crw-rw-rw), and the app itself even has the WRITE_EXTERNAL_STORAGE" permission. However, even though the permissions appear correct, when my app tries to open said serial

Android floating window with hidden statusbar Accessibility problems

强颜欢笑 提交于 2019-12-06 09:33:09
I am working on android 4.4.2 building an application with a system overlay/floating window created by an accessibility service. Edit: I want to be able to hide the status bar GLOBALLY (in any app) (made possible by the code below) however when the overlay is shown i stop receiving acessibilityEvents from the listener and the software/hardware back button When the floating view is injected into windowmanager: AccessibilityEvent listener does not receive updates Soft/hardware back key does not register (home/recents does) in order to hide the status bar both 'FLAG_FULLSCREEN | FLAG_NOT_TOUCH

API 19 Scrollview no momentum

心已入冬 提交于 2019-12-06 09:31:57
问题 I have a NestedScrollView within a CoordinatorLayout and it contains a recyclerView. The whole fragment, which is very long, has no scroll momentum and I'm not sure what I can do to fix it. I previously had this problem with higher Android versions and was able to include android:nestedScrollingEnabled="false" to solve my problem. However, that was added in api 21 and my project supports 19+. My app still has no momentum on this fragment for api 19 devices. Below is my xml: <android.support