Skip to main content
Filter by
Sorted by
Tagged with
213 votes
9 answers
276k views

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,880
58 votes
6 answers
158k views

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
46 votes
9 answers
87k views

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
  • 53.5k
158 votes
19 answers
133k views

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,582
7 votes
1 answer
9k views

I have been working on an SMS application. Everything was smooth until yesterday, when I updated my Nexus 4 to Android 4.4, KitKat. Features such as marking an SMS as read/unread, and deleting all ...
playmaker420's user avatar
  • 1,547
38 votes
1 answer
26k views

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,097
12 votes
4 answers
24k views

Android 4.4 introduced Host-based Card Emulation (HCE). As you know, all NFC cards come with a fixed card ID (NfcAdapter.EXTRA_ID). My office door access usually detects the NFC card ID for the ...
Jason's user avatar
  • 878
80 votes
6 answers
146k views

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
46 votes
6 answers
37k views

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
113 votes
8 answers
37k views

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,050
40 votes
9 answers
51k views

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,448
53 votes
1 answer
79k views

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
17 votes
2 answers
18k views

In my application I store the path of image in my SQlite db for further use. The path that I get is content://com.android.providers.media.documents/document/image%3A71964 When I retrieve this path ...
Pdksock's user avatar
  • 1,030
1 vote
2 answers
7k views

AndroidRuntime: FATAL EXCEPTION: main Process: com.info.app, PID: 24503 java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang....
A Maharaja's user avatar
  • 1,247
32 votes
4 answers
19k views

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,408
16 votes
1 answer
9k views

So this video Android 4.4 SMS APIs from #DevBytes explains the recent changes to the SMS APIs in KitKat. They also provide a link with a sample project. https://commondatastorage.googleapis.com/...
Etienne Lawlor's user avatar
43 votes
4 answers
68k views

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. What is it and ...
Jerome's user avatar
  • 1,331
23 votes
6 answers
26k views

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
15 votes
3 answers
17k views

I made an android sms app in which I am sending and receiving sms as android messaging app does so. Now I have set my target to 4.4 (Android KitKat version) but Android KitKat has new "Default ...
Zubair Ahmed's user avatar
  • 2,907
0 votes
1 answer
2k views

I've created a webview app which hosts a website within the app in the assets-directory. I want to update the website via an USBstick inserted in my tablets usbslot. I tried it first with the ....
Florian de Ville's user avatar
39 votes
5 answers
38k views

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,260
15 votes
2 answers
9k views

Unlike previous versions, in 4.4, swiping app out of recent tasks permanently kills app along with its service(like force-stop) even though it's running background services. It shows 0 processes 1 ...
Vipul J's user avatar
  • 6,691
57 votes
9 answers
26k views

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.3k
49 votes
10 answers
17k views

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
44 votes
14 answers
58k views

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
33 votes
6 answers
29k views

I'm trying to set the source of an img tag in my app based on the image chosen from the device image gallery using the PhoneGap/Cordova Camera Plugin. It has worked previously as intended on older ...
CrazyEraserUK's user avatar
32 votes
2 answers
45k views

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
17 votes
1 answer
18k views

I know this question has been asked so many times and there are so many questions, answers and discussions available. But I don't know what to do and what not to do. I already referred to the links ...
user3660803's user avatar
15 votes
2 answers
34k views

I want to auto-start android html5 video using android 4 ice cream sandwich browser. I tried many java-script functions and autobuffer autoplay tags of html5 video. But nothing worked. I start android ...
M P Mathugama's user avatar
12 votes
2 answers
9k views

Can I send SMS using no default SMS app on Android 4.4 Kitkat? It means, Can I send SMS without ability to write to SMS Provider? I confused about that on Android 4.4 Kitkat. I wonder I can just ...
harrison's user avatar
  • 267
22 votes
4 answers
70k views

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.8k
16 votes
5 answers
26k views

As more and more devices have KitKat, I'm trying to compile a list of devices support HCE. Does anyone have the list? Feel free to add comments to contribute to this list. Below is what I have so ...
Trung's user avatar
  • 1,625
5 votes
1 answer
4k views

Problem: I am fetching image from gallery and after that cropped that image and its working perfect in all device. But it is giving me error while running in Nexus 7 kitkat since i have checked build ...
Piyush's user avatar
  • 18.9k
4 votes
1 answer
5k views

I am making to delete particular sms of phone number task. when I am testing in motog or Android version 5.0's mobile. I can't delete particular number's sms. My code snippet is below. public void ...
Vasant's user avatar
  • 3,605
1 vote
1 answer
736 views

My Sms app does not save the sms to the device even though I already set it as the default messaging. I need to support android pre-kitkat so I did a bit researching and had 2 BroadcastReceiver that ...
Kise's user avatar
  • 2,905
35 votes
5 answers
55k views

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.6k
30 votes
3 answers
81k views

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.6k
17 votes
2 answers
11k views

We've just fallen foul of the new permissions that apply to writing files to sd cards (external storage) on Android 4.4 (EACCES Permission Denied) Prior to KitKat we set our writable folder like this:...
Mark's user avatar
  • 1,420
8 votes
6 answers
13k views

How can we set proxy in Android webview programmatically on latest Kitkat release? This SO link WebView android proxy talks about version upto SDK version 18. But those solution no more works with ...
Krishna Kumar's user avatar
49 votes
12 answers
104k views

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,131
36 votes
3 answers
26k views

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,266
22 votes
3 answers
4k views

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.3k
21 votes
6 answers
5k views

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,997
16 votes
4 answers
15k views

My application has a button to start default sms activity and it worked perfectly fine all android version except new one, Android 4.4(kitkat) Here is the code: public void onClick(View arg0) { ...
bluemotion's user avatar
14 votes
2 answers
44k views

Is there any documentation around Android 4.4 KitKat's (well specifically Nexus 5 for now) step detector and counter APIs? I tried to search a lot but did not find anything. I am planning to try my ...
hvkale's user avatar
  • 17.8k
12 votes
1 answer
11k views

In Android 4.4 there seems to be a change in the code that causes list icons to be loaded using AsyncTasks. The result is that many of my users on Android 4.4 get RejectedExecutionException since the ...
Halvor Holsten Strand's user avatar
12 votes
3 answers
7k views

After upgrading Espresso to version 2 none of my unit tests will run on pre-lollipop devices. See the trace below: 15:07:07.627 [WARN] [org.gradle.api.Project] Tests on Samsung Galaxy S3 - 4.3 - API ...
Graeme's user avatar
  • 1,117
4 votes
3 answers
8k views

In trying to disable TLS 1.0, there are KitKat devices needing access to my API. I have tried overriding the default socket factory without success. I have tried converting to okhttp. Still not ...
jnrcorp's user avatar
  • 1,963
3 votes
4 answers
10k views

I'm using following code for hiding status bar with full screen purpose: void HideEverything(){ if (Build.VERSION.SDK_INT < 16) { getWindow().setFlags(WindowManager....
Jyo the Whiff's user avatar
0 votes
1 answer
2k views

Please read my question introduction before reading the real question: In Android there are an internal storage and an external storage. Don't be confused, because the internal storage relates to ...
user avatar

1
2 3 4 5 6