Questions tagged [android-4.4-kitkat]

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

Google released Android 4.4 (KitKat) on 31 October 2013. The Nexus 5 was the first device to officially ship with it, with Nexus 7 receiving the update soon after.

More Info:

1494 questions
207
votes
9 answers

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

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 }; Cursor cursor = managedQuery(uri, projection,…
Álvaro
  • 2,796
  • 4
  • 18
  • 25
140
votes
16 answers

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 should resize itself when keyboard is shown, but here it…
108
votes
7 answers

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 for less than a second when I start my custom…
VanDir
  • 1,919
  • 3
  • 21
  • 35
80
votes
1 answer

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 I can't seem to control the volume. I tried using…
Distwo
  • 10,755
  • 7
  • 38
  • 60
63
votes
6 answers

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() { @Override public void onReceiveValue(String s) { …
CodingIntrigue
  • 65,670
  • 26
  • 159
  • 166
57
votes
6 answers

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 multiple items of "RenderPreview", and when I…
android developer
  • 106,412
  • 122
  • 641
  • 1,128
57
votes
9 answers

Impossible to rotate the emulator with android 4.4

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 change. I don't know if it's a related issue but I…
greywolf82
  • 20,269
  • 17
  • 45
  • 90
49
votes
10 answers

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.labeltodo.ActivityPreference has not checked…
crbin1
  • 2,201
  • 3
  • 20
  • 29
46
votes
6 answers

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 android.permission.MANAGE_DOCUMENTS or…
serenskye
  • 3,297
  • 4
  • 30
  • 49
45
votes
1 answer

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 apps came to that use this feature, allowing to…
45
votes
9 answers

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

I was using the 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.4 kitkat webview. Anybody knows how to fix it? It…
jcesarmobile
  • 45,750
  • 8
  • 107
  • 152
44
votes
3 answers

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/MyVideo.mp4 and press again enter and start the…
Giovanni Mariotti
  • 505
  • 1
  • 6
  • 10
43
votes
14 answers

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:
42
votes
4 answers

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 an idea of what it is and how to fix it ? Thanks,
Jerome
  • 949
  • 1
  • 16
  • 27
39
votes
5 answers

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 of the change in rendering engine (webkit to…
gnuanu
  • 2,224
  • 3
  • 27
  • 42
1
2 3
99 100