Questions tagged [android-4.4-kitkat]

Android 4.4 (codename KitKat) is API level 19 of the mobile operating system developed by Google.

android-4.4-kitkat
Filter by
Sorted by
Tagged with
212 votes
9 answers
273k views

Get real path from URI, Android KitKat new storage access framework [duplicate]

Before the new gallery access in Android 4.4 (KitKat) I got my real path on the SD card with this method: public String getPath(Uri uri) { String[] projection = { MediaStore.Images.Media.DATA }; ...
Álvaro's user avatar
  • 2,872
156 votes
18 answers
127k views

windowSoftInputMode="adjustResize" not working with translucent action/navbar

I have problems with the translucent actionbar/navbar in the new Android KitKat (4.4) and the windowSoftInputMode="adjustResize". Normaly, changing the InputMode to adjustResize, the app ...
fabianbru's user avatar
  • 1,562
112 votes
8 answers
36k views

How do I maintain the Immersive Mode in Dialogs?

How do I maintain the new Immersive Mode when my activities display a custom Dialog? I am using the code below to maintain the Immersive Mode in Dialogs, but with that solution, the NavBar appears ...
VanDir's user avatar
  • 2,020
82 votes
1 answer
5k views

Bluetooth hands free client volume control

I have an android device acting as a hands free client device using hfp. Using the following code: I am able to receive a call and the speakers and mic are working as expected. My problem is that ...
Distwo's user avatar
  • 11.6k
77 votes
6 answers
138k views

How does evaluateJavascript work?

I'm trying to use the new evaluateJavascript method in Android 4.4, but all I ever get back is a null result: webView1.evaluateJavascript("return \"test\";", new ValueCallback<String>() { @...
CodingIntrigue's user avatar
57 votes
9 answers
26k views

Impossible to rotate the emulator with android 4.4 [duplicate]

I've updated my sdk to the latest version (android 4.4) and I started the emulator, but now it seems not possible to rotate the screen with CTRL+F11, the screen change but all the applications don't ...
greywolf82's user avatar
  • 22.1k
57 votes
6 answers
7k views

ADT 22.3 (android 4.4) - getting error "After scene creation, #init() must be called"

After installing the new ADT (22.3.0.v201310242005-887826) which supports Android 4.4 (KitKat), I keep getting the error as shown here: An internal error has occurred In the list of errors, I see ...
android developer's user avatar
55 votes
6 answers
152k views

execute shell command from android

I'm trying to execute this command from the application emulator terminal (you can find it in google play) in this app i write su and press enter, so write: screenrecord --time-limit 10 /sdcard/...
Giovanni Mariotti's user avatar
52 votes
1 answer
74k views

How to record screen and take screenshots, using Android API?

Background Android got a new API on Kitkat and Lollipop, to video capture the screen. You can do it either via the ADB tool or via code (starting from Lollipop). Ever since the new API was out, many ...
android developer's user avatar
49 votes
10 answers
17k views

isValidFragment Android API 19

When I try my app with Android KitKat I have an error in PreferenceActivity. Subclasses of PreferenceActivity must override isValidFragment(String) to verify that the Fragment class is valid! com....
crbin1's user avatar
  • 2,229
46 votes
6 answers
36k views

Android KitKat securityException when trying to read from MediaStore

java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{430b1748 29271:com.x.x.x/u0a88} (pid=29271, uid=10088) requires ...
serenskye's user avatar
  • 3,467
45 votes
9 answers
86k views

HTML file input in android webview (android 4.4, kitkat)

I was using the <input type="file"> on the android webview. I got it working thanks to this thread: File Upload in WebView But the accepted answer (or any other) no longer works with android 4....
jcesarmobile's user avatar
  • 52.5k
44 votes
14 answers
58k views

Why is FusedLocationApi.getLastLocation null

I am trying to get location by using FusedLocationApi.getLastLocation and I've got the location permissions in the manifest file: <uses-permission android:name="android.permission....
Can Poyrazoğlu's user avatar
43 votes
12 answers
93k views

Bluetooth HCI snoop log not generated

I'm running Android 4.4.2 and I enabled the "Bluetooth HCI snoop log" as described here Sniffing/logging your own Android Bluetooth traffic After turning bluetooth on and off I rebooted the phone. I ...
Jack Shultz's user avatar
  • 2,061
42 votes
4 answers
67k views

mylib.so has text relocations. This is wasting memory and is a security risk. Please fix

My Android application (using native library) print this warning on Android 4.4 : linker mylib.so has text relocations. This is wasting memory and is a security risk. Please fix. Have you got ...
Jerome's user avatar
  • 1,163
39 votes
5 answers
38k views

WebView Rendering Issue in Android KitKat

I've been working on an application which have a WebView in which a static page get loaded from the assets (Also using JavaScript). This WebView is not working in KitKat, it remains blank. I am aware ...
gnuanu's user avatar
  • 2,252
39 votes
6 answers
20k views

How can I detect the Android runtime (Dalvik or ART)?

Google added a new ART runtime with Android 4.4. How can I determine whether ART or Dalvik is the current runtime?
Chris Lacy's user avatar
  • 4,342
38 votes
1 answer
25k views

How to Print PDF using Android 4.4 Printing framework [closed]

How to print already downloaded PDF using Android 4.4 printing framework? I viewed the developer documentation. but no luck. Any example would be helpful
Dinesh T A's user avatar
  • 2,087
38 votes
9 answers
49k views

Permanently hide Android Status Bar

I'm trying to hide the system Status Bar on an Android 4.4 device. This is for a kiosk-mode where my app will be the only app ever run on the device. The target device for now is a 2013 Nexus 7. The ...
dtyler's user avatar
  • 1,408
38 votes
3 answers
7k views

Android "couldn't log to binary event log: overflow"

I have an android app that has been running without problems until I updated my device to android 4.4 (kitkat). Now I start getting this error and some part of the program is broken with this in the ...
Rhystic's user avatar
  • 391
37 votes
5 answers
61k views

MediaPlayer : Should have subtitle controller already set: KitKat

I am having an odd issue where my audio file sometimes plays and sometimes does not play. The catch is that when it decides to not play, the DDMS gives me an: E/MediaPlayer﹕ Should have subtitle ...
bneigher's user avatar
  • 838
36 votes
5 answers
18k views

Sticky immersive mode disabled after soft keyboard shown

I have an app that needs to be full screen most of the time. I know that if an alert is shown or other window is displayed, over the top of the activity window, full screen is temporarily removed. ...
jomalden's user avatar
  • 403
35 votes
5 answers
55k views

Why can't we use a Translucent system bars with and ActionBar

While updating my apps to Kitkat, I just wanted to give them a gorgeous look on KitKat using the Translucent property: Translucent system bars You can now make the system bars partially translucent ...
Waza_Be's user avatar
  • 39.5k
33 votes
3 answers
23k views

No activity found to handle Intent - android.intent.action.OPEN_DOCUMENT

I am trying my hand on Storage Access Framework of android 4.4 I have developed a dummy app which fires an intent on start of the activity. Intent intent = new Intent(Intent....
yashdosi's user avatar
  • 1,216
33 votes
6 answers
16k views

Keyboard hiding EditText when android:windowTranslucentStatus=true

We're applying the new Android KitKat translucent theme in our apps, and we're getting a weird issue when the keyboard appears. If we don't use the new android:windowTranslucentStatus attribute, all ...
Roc Boronat's user avatar
  • 11.6k
32 votes
4 answers
19k views

Android KitKat 4.4 Hangouts cannot handle Sending SMS intent

Code for sending sms that worked perfectly until Android 4.3 (Jelly Bean) and stopped working since 4.4 (KitKat) I'm just preparing the text message for the user, but they need to choose the number ...
nheimann1's user avatar
  • 2,398
32 votes
2 answers
45k views

How to make the navigation bar transparent

How can I make the navigation bar transparent on Android 4.4.X and above? I have searched in the documentation, but found nothing about this.
Björn Ternes's user avatar
30 votes
3 answers
81k views

transparent status-bar / system-ui on 4.4 Kit Kat [duplicate]

This must be possible with 4.4, but I found no documentation on this yet - anyone knows how to make the status-bar / system-ui transparent/translucent ?
ligi's user avatar
  • 39.2k
29 votes
4 answers
4k views

Android Studio 3.0 : canary 6 : android.content.res.Resources$NotFoundException inside Launching activity

I update android-studio 3.0 from canary 5 to canary 6 and suddenly My app gives crash on KitKat(API 19) with below stacktrace. The Main2Activity.java:10 line is the first line in my activity onCreate(...
nilesh's user avatar
  • 519
29 votes
2 answers
7k views

Android profiler not supported for Kitkat devices/google glass in android studio 3.0

From android studio 3.0 Android Monitor turned to Android profiler. But, when using google glass device or other android kitkat devices it's showing below message in android profiler window: Device ...
0xAliHn's user avatar
  • 18.8k
28 votes
8 answers
31k views

Android 4.4 WebView file chooser not opening?

We are creating an app which uses the webview and will access a page where the user needs to upload a file. We are experiencing problems with Android 4.4 where the file chooser does not open and ...
MikeCon94's user avatar
  • 463
27 votes
4 answers
30k views

Reliably get height of status bar to solve KitKat translucent navigation issue

I am experimenting with the new Android 4.4 translucent navigation bars and would like to set the navigation bar as translucent using the FLAG_TRANSLUCENT_NAVIGATION flag. I only wish the navigation ...
Milo's user avatar
  • 1,017
27 votes
8 answers
20k views

Android 4.4 — Translucent status/navigation bars — fitsSystemWindows/clipToPadding don't work through fragment transactions

When using the translucent status and navigation bars from the new Android 4.4 KitKat APIs, setting fitsSystemWindows="true" and clipToPadding="false" to a ListView works initially. fitsSystemWindows="...
afollestad's user avatar
  • 2,935
25 votes
2 answers
6k views

Android 4.4 KitKat random crash

EDIT: Before down-voting and implying things, please understand I cannot reproduce this error. This happens constantly on certain devices which I do not have access to, but not after a firmware reset! ...
Jens Vesti's user avatar
24 votes
1 answer
7k views

Android 4.4 KitKat random crash (Native crash at /system/lib/libc.so)

I built an app that plays YouTube iframe video via WebView and controls video with YouTube iframe api. (I know that YouTube SDK for Android may be more recommended for Android app development, but ...
Yi-Ping Shih's user avatar
  • 1,092
23 votes
6 answers
25k views

Android pre-lollipop devices giving error "SSL handshake aborted: ssl=0x618d9c18: I/O error during system call, Connection reset by peer"

Iam having this strange issue in which the retrofit keeps throwing me "SSL handshake aborted: ssl=0x618d9c18: I/O error during system call, Connection reset by peer" in kitkat, whereas the same ...
Navneet Krishna's user avatar
22 votes
6 answers
35k views

Using new IMMERSIVE mode in android kitkat

I want to make an activity to go into IMMERSIVE mode and hide top and buttom system bars as soon as it starts. In developers site of android they say I should use setSystemUiVisibility() and provide ...
Dumbo's user avatar
  • 13.9k
22 votes
5 answers
21k views

Translucent system bars and content margin in KitKat

I'm trying to take advantage of the new KitKat translucent system bars, to get a full screen image in the background of my app. I'm having problems figuring out the right settings to get the ...
Krzysztof Kozmic's user avatar
22 votes
3 answers
20k views

Native crash at /system/lib/libwebviewchromium.so on kitkat android 4.4

I get "Native crash at /system/lib/libwebviewchromium.so" errors many times for android 4.4+. There was no such problem before 4.4. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ...
Baris's user avatar
  • 797
22 votes
5 answers
25k views

Taking advantage of the translucent status bar in Android 4.4 KitKat

When I released my note taking application for Android 4.0 - 4.3 I used a custom action bar color with a custom action bar icon (instead of using the standard light and dark action bars). I would like ...
Amonstan's user avatar
  • 305
22 votes
4 answers
70k views

Howto avoid the "EACCES permission denied" ON SDCARD with KITKAT 4.4.2 Version. New policy from google

With the android kitkat 4.4.2 version is a new google policy implemented for writeaccess, which I do not understand so far. I read a lot about this issue with other apps. They get a "EACCES ...
mcfly soft's user avatar
  • 11.5k
22 votes
3 answers
4k views

Global search not working as expected in Android 4.4

I've got an application that has two search suggestion providers that both extend SearchRecentSuggestionsProvider, and I've set it up correctly in the manifest file with the following Intent filter ...
Michell Bak's user avatar
  • 13.2k
21 votes
6 answers
5k views

Dialog on Android KitKat seems to be cut

I used dialog theme for an Activity and it works fine on Android <= 4.3 but not on the latest KitKat 4.4. Here's a screenshot of the problem: Top of the layout is missing. You can see that the ...
Hacketo's user avatar
  • 4,989
21 votes
1 answer
1k views

Trouble with tabs and translucent statusbar/navigation for android 4.4

I want to add translucent statusbar and navigation to my app (for kitkat) and on most places it works well. I have a theme with: <item name="android:windowTranslucentNavigation">true</...
Dodge's user avatar
  • 8,187
19 votes
2 answers
15k views

How to completely exit from Immersive full screen mode?

I would like to implement a button to enable/disable the immersive full screen mode. I'm using those methods but the showSystemUI only shows quickly and hide again... How to completely exit from ...
Felipe Porge Xavier's user avatar
19 votes
4 answers
6k views

Immersive fullscreen below 4.4

I have an app that I want to run in fullscreen. If i have a device with 4.4 KitKat it is easy to set the SYSTEM_UI_FLAG_IMMERSIVE to make the app go pure fullscreen. However if i have a device with a ...
jdahlgren's user avatar
  • 319
18 votes
3 answers
5k views

Issues with Fast Scroll in Android 4.4

I wrote an app which contains a ListView in its layout that supports fast scroll (i.e. dragging the scroll bar slider allows you to quickly scroll up or down the list). This worked perfectly in all ...
Tim's user avatar
  • 1,125
18 votes
2 answers
15k views

Fatal signal 6 (SIGABRT) code=-6 on first launch

I am getting a Fatal signal 6 (SIGABRT) error when trying to run my app on a Nexus 10 with 4.4.2. It works on every other device I've tried including my Nexus 7 (2) with 4.4.2 I don't think it's ...
danieltnbaker's user avatar
17 votes
16 answers
38k views

Emulator for Android 4.4 KitKat is not starting

I am creating an emulator for Android 4.4 KitKat, but the emulator takes very long and isn't starting. I tried many devices like Nexus4, Galaxy Nexus, Nexus S etc. but none of that worked. Just a ...
FIXI's user avatar
  • 920
17 votes
3 answers
77k views

How to set SELinux to 0 or permissive mode in android 4.4.4 and above?

I want to set the SELinux (Security Enhanced Linux) mode to Permissive or (0) on android 4.4.4 (and above if possible). I use the following command: setenforce 0, setenforce permissive and setenforce ...
Vu Tran's user avatar
  • 175

1
2 3 4 5
30